data/full_repos/permissive/458737381/src/verilog-parser/tests/efc.v
1: b'%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/efc.v:32: Cannot find include file: sys.h\n`include "sys.h" \n         ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/458737381/src/verilog-parser/tests,data/full_repos/permissive/458737381/sys.h\n             data/full_repos/permissive/458737381/src/verilog-parser/tests,data/full_repos/permissive/458737381/sys.h.v\n             data/full_repos/permissive/458737381/src/verilog-parser/tests,data/full_repos/permissive/458737381/sys.h.sv\n             sys.h\n             sys.h.v\n             sys.h.sv\n             obj_dir/sys.h\n             obj_dir/sys.h.v\n             obj_dir/sys.h.sv\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/efc.v:33: Cannot find include file: iop.h\n`include "iop.h" \n         ^~~~~~~\n%Error: Exiting due to 2 error(s)\n'
module efc (

   efc_ctu_scanout, efc_ctu_data_out, efc_spc1357_fuse_clk1, 
   efc_spc1357_fuse_clk2, efc_spc0246_fuse_clk1, 
   efc_spc0246_fuse_clk2, efc_spc1357_fuse_data, 
   efc_spc0246_fuse_data, efc_spc7_ifuse_ashift, 
   efc_spc7_ifuse_dshift, efc_spc7_dfuse_ashift, 
   efc_spc7_dfuse_dshift, efc_spc6_ifuse_ashift, 
   efc_spc6_ifuse_dshift, efc_spc6_dfuse_ashift, 
   efc_spc6_dfuse_dshift, efc_spc5_ifuse_ashift, 
   efc_spc5_ifuse_dshift, efc_spc5_dfuse_ashift, 
   efc_spc5_dfuse_dshift, efc_spc4_ifuse_ashift, 
   efc_spc4_ifuse_dshift, efc_spc4_dfuse_ashift, 
   efc_spc4_dfuse_dshift, efc_spc3_ifuse_ashift, 
   efc_spc3_ifuse_dshift, efc_spc3_dfuse_ashift, 
   efc_spc3_dfuse_dshift, efc_spc2_ifuse_ashift, 
   efc_spc2_ifuse_dshift, efc_spc2_dfuse_ashift, 
   efc_spc2_dfuse_dshift, efc_spc1_ifuse_ashift, 
   efc_spc1_ifuse_dshift, efc_spc1_dfuse_ashift, 
   efc_spc1_dfuse_dshift, efc_spc0_ifuse_ashift, 
   efc_spc0_ifuse_dshift, efc_spc0_dfuse_ashift, 
   efc_spc0_dfuse_dshift, efc_sctag02_fuse_clk1, 
   efc_sctag02_fuse_clk2, efc_sctag02_fuse_data, 
   efc_sctag13_fuse_clk1, efc_sctag13_fuse_clk2, 
   efc_sctag13_fuse_data, efc_sctag3_fuse_ashift, 
   efc_sctag3_fuse_dshift, efc_sctag2_fuse_ashift, 
   efc_sctag2_fuse_dshift, efc_sctag1_fuse_ashift, 
   efc_sctag1_fuse_dshift, efc_sctag0_fuse_ashift, 
   efc_sctag0_fuse_dshift, efc_scdata02_fuse_clk1, 
   efc_scdata02_fuse_clk2, efc_scdata02_fuse_data, 
   efc_scdata13_fuse_clk1, efc_scdata13_fuse_clk2, 
   efc_scdata13_fuse_data, efc_scdata3_fuse_ashift, 
   efc_scdata3_fuse_dshift, efc_scdata2_fuse_ashift, 
   efc_scdata2_fuse_dshift, efc_scdata1_fuse_ashift, 
   efc_scdata1_fuse_dshift, efc_scdata0_fuse_ashift, 
   efc_scdata0_fuse_dshift, efc_iob_fuse_clk1, efc_iob_fuse_data, 
   efc_iob_sernum0_dshift, efc_iob_sernum1_dshift, 
   efc_iob_sernum2_dshift, efc_iob_fusestat_dshift, 
   efc_iob_coreavail_dshift, 

   io_vpp, vddo, jbus_gclk, jbus_arst_l, jbus_grst_l, 
   ctu_tst_scanmode, clk_efc_cken, global_shift_enable, 
   ctu_efc_scanin, jbus_adbginit_l, jbus_gdbginit_l, 
   ctu_tst_pre_grst_l, ctu_tst_scan_disable, ctu_tst_macrotest, 
   ctu_tst_short_chain, ctu_efc_rowaddr, ctu_efc_coladdr, io_pgrm_en, 
   ctu_efc_read_en, ctu_efc_read_mode, ctu_efc_read_start, 
   ctu_efc_fuse_bypass, ctu_efc_dest_sample, ctu_efc_data_in, 
   ctu_efc_updatedr, ctu_efc_shiftdr, ctu_efc_capturedr, tck, 
   spc7_efc_ifuse_data, spc7_efc_dfuse_data, spc6_efc_ifuse_data, 
   spc6_efc_dfuse_data, spc5_efc_ifuse_data, spc5_efc_dfuse_data, 
   spc4_efc_ifuse_data, spc4_efc_dfuse_data, spc3_efc_ifuse_data, 
   spc3_efc_dfuse_data, spc2_efc_ifuse_data, spc2_efc_dfuse_data, 
   spc1_efc_ifuse_data, spc1_efc_dfuse_data, spc0_efc_ifuse_data, 
   spc0_efc_dfuse_data, sctag3_efc_fuse_data, sctag2_efc_fuse_data, 
   sctag1_efc_fuse_data, sctag0_efc_fuse_data, scdata3_efc_fuse_data, 
   scdata2_efc_fuse_data, scdata1_efc_fuse_data, 
   scdata0_efc_fuse_data
   );



input           io_vpp;
input		vddo;

input           jbus_gclk;
input           jbus_arst_l;
input           jbus_grst_l;
input           ctu_tst_scanmode;
input           clk_efc_cken;
input           global_shift_enable;
input           ctu_efc_scanin;
output          efc_ctu_scanout;
input           jbus_adbginit_l;
input           jbus_gdbginit_l;
input		ctu_tst_pre_grst_l;
input		ctu_tst_scan_disable;
input		ctu_tst_macrotest;
input		ctu_tst_short_chain;



input [6:0]     ctu_efc_rowaddr;
input [4:0]     ctu_efc_coladdr;
input           io_pgrm_en;
input           ctu_efc_read_en;
input [2:0]     ctu_efc_read_mode;
input           ctu_efc_read_start;
input           ctu_efc_fuse_bypass;
input           ctu_efc_dest_sample;


input           ctu_efc_data_in;
output          efc_ctu_data_out;
input           ctu_efc_updatedr;
input           ctu_efc_shiftdr;
input           ctu_efc_capturedr;
input           tck;


output		efc_spc1357_fuse_clk1;
output		efc_spc1357_fuse_clk2;
output		efc_spc0246_fuse_clk1;
output		efc_spc0246_fuse_clk2;
output		efc_spc1357_fuse_data;
output		efc_spc0246_fuse_data;

output		efc_spc7_ifuse_ashift;
output		efc_spc7_ifuse_dshift;
output		efc_spc7_dfuse_ashift;
output		efc_spc7_dfuse_dshift;
input		spc7_efc_ifuse_data;
input		spc7_efc_dfuse_data;

output		efc_spc6_ifuse_ashift;
output		efc_spc6_ifuse_dshift;
output		efc_spc6_dfuse_ashift;
output		efc_spc6_dfuse_dshift;
input		spc6_efc_ifuse_data;
input		spc6_efc_dfuse_data;

output		efc_spc5_ifuse_ashift;
output		efc_spc5_ifuse_dshift;
output		efc_spc5_dfuse_ashift;
output		efc_spc5_dfuse_dshift;
input		spc5_efc_ifuse_data;
input		spc5_efc_dfuse_data;

output		efc_spc4_ifuse_ashift;
output		efc_spc4_ifuse_dshift;
output		efc_spc4_dfuse_ashift;
output		efc_spc4_dfuse_dshift;
input		spc4_efc_ifuse_data;
input		spc4_efc_dfuse_data;

output		efc_spc3_ifuse_ashift;
output		efc_spc3_ifuse_dshift;
output		efc_spc3_dfuse_ashift;
output		efc_spc3_dfuse_dshift;
input		spc3_efc_ifuse_data;
input		spc3_efc_dfuse_data;

output		efc_spc2_ifuse_ashift;
output		efc_spc2_ifuse_dshift;
output		efc_spc2_dfuse_ashift;
output		efc_spc2_dfuse_dshift;
input		spc2_efc_ifuse_data;
input		spc2_efc_dfuse_data;

output		efc_spc1_ifuse_ashift;
output		efc_spc1_ifuse_dshift;
output		efc_spc1_dfuse_ashift;
output		efc_spc1_dfuse_dshift;
input		spc1_efc_ifuse_data;
input		spc1_efc_dfuse_data;

output		efc_spc0_ifuse_ashift;
output		efc_spc0_ifuse_dshift;
output		efc_spc0_dfuse_ashift;
output		efc_spc0_dfuse_dshift;
input		spc0_efc_ifuse_data;
input		spc0_efc_dfuse_data;

output		efc_sctag02_fuse_clk1;
output		efc_sctag02_fuse_clk2;
output		efc_sctag02_fuse_data;
output		efc_sctag13_fuse_clk1;
output		efc_sctag13_fuse_clk2;
output		efc_sctag13_fuse_data;

output		efc_sctag3_fuse_ashift;
output		efc_sctag3_fuse_dshift;
input		sctag3_efc_fuse_data;

output		efc_sctag2_fuse_ashift;
output		efc_sctag2_fuse_dshift;
input		sctag2_efc_fuse_data;

output		efc_sctag1_fuse_ashift;
output		efc_sctag1_fuse_dshift;
input		sctag1_efc_fuse_data;

output		efc_sctag0_fuse_ashift;
output		efc_sctag0_fuse_dshift;
input		sctag0_efc_fuse_data;

output		efc_scdata02_fuse_clk1;
output		efc_scdata02_fuse_clk2;
output		efc_scdata02_fuse_data;
output		efc_scdata13_fuse_clk1;
output		efc_scdata13_fuse_clk2;
output		efc_scdata13_fuse_data;

output		efc_scdata3_fuse_ashift;
output		efc_scdata3_fuse_dshift;
input		scdata3_efc_fuse_data;

output		efc_scdata2_fuse_ashift;
output		efc_scdata2_fuse_dshift;
input		scdata2_efc_fuse_data;

output		efc_scdata1_fuse_ashift;
output		efc_scdata1_fuse_dshift;
input		scdata1_efc_fuse_data;

output		efc_scdata0_fuse_ashift;
output		efc_scdata0_fuse_dshift;
input		scdata0_efc_fuse_data;

output		efc_iob_fuse_clk1;
output		efc_iob_fuse_data;

output		efc_iob_sernum0_dshift;
output		efc_iob_sernum1_dshift;
output		efc_iob_sernum2_dshift;
output		efc_iob_fusestat_dshift;
output		efc_iob_coreavail_dshift;







  wire [31:0]		efa_sbc_data;
  wire			por_n;
  wire			pwr_ok;
  wire [4:0]		sbc_efa_bit_addr;
  wire			sbc_efa_margin0_rd;
  wire			sbc_efa_margin1_rd;
  wire			sbc_efa_power_down;
  wire			sbc_efa_read_en;
  wire			sbc_efa_sup_det_rd;
  wire [5:0]		sbc_efa_word_addr;
  wire			se;
  wire			testmode_l;

  wire                  io_pgrm_en;
  wire                  efc_rst_l;






/
test_stub_scan test_stub_scan (

			       .mux_drive_disable(),
			       .mem_write_disable(),
			       .sehold	(),
			       .se	(se),
			       .testmode_l(testmode_l),
			       .mem_bypass(),
			       .so_0	(so_0),
			       .so_1	(),
			       .so_2	(),

			       .ctu_tst_pre_grst_l(ctu_tst_pre_grst_l),
			       .arst_l	(jbus_arst_l),
			       .global_shift_enable(global_shift_enable),
			       .ctu_tst_scan_disable(ctu_tst_scan_disable),
			       .ctu_tst_scanmode(ctu_tst_scanmode),
			       .ctu_tst_macrotest(ctu_tst_macrotest),
			       .ctu_tst_short_chain(ctu_tst_short_chain),
			       .long_chain_so_0(MT_long_chain_so_0),
			       .short_chain_so_0(short_chain_so_0),
			       .long_chain_so_1(1'b0),
			       .short_chain_so_1(1'b0),
			       .long_chain_so_2(1'b0),
			       .short_chain_so_2(1'b0));
/
bw_r_efa u_efa(

	       .efa_sbc_data		(efa_sbc_data[31:0]),
	       .so			(),

	       .vpp			(io_vpp),
	       .pi_efa_prog_en		(io_pgrm_en),
	       .sbc_efa_read_en		(sbc_efa_read_en),
	       .sbc_efa_word_addr	(sbc_efa_word_addr[5:0]),
	       .sbc_efa_bit_addr	(sbc_efa_bit_addr[4:0]),
	       .sbc_efa_margin0_rd	(sbc_efa_margin0_rd),
	       .sbc_efa_margin1_rd	(sbc_efa_margin1_rd),
	       .pwr_ok			(pwr_ok),
	       .por_n			(por_n),
	       .sbc_efa_sup_det_rd	(sbc_efa_sup_det_rd),
	       .sbc_efa_power_down	(sbc_efa_power_down),
	       .si			(1'b0),
	       .se			(1'b0),
	       .vddo			(vddo),
	       .clk			(jbus_rclk));

efc_stdc u_efa_stdc(

		    .efc_ctu_data_out	(efc_ctu_data_out),
		    .efc_spc1357_fuse_clk1(efc_spc1357_fuse_clk1),
		    .efc_spc1357_fuse_clk2(efc_spc1357_fuse_clk2),
		    .efc_spc0246_fuse_clk1(efc_spc0246_fuse_clk1),
		    .efc_spc0246_fuse_clk2(efc_spc0246_fuse_clk2),
		    .efc_spc1357_fuse_data(efc_spc1357_fuse_data),
		    .efc_spc0246_fuse_data(efc_spc0246_fuse_data),
		    .efc_spc7_ifuse_ashift(efc_spc7_ifuse_ashift),
		    .efc_spc7_ifuse_dshift(efc_spc7_ifuse_dshift),
		    .efc_spc7_dfuse_ashift(efc_spc7_dfuse_ashift),
		    .efc_spc7_dfuse_dshift(efc_spc7_dfuse_dshift),
		    .efc_spc6_ifuse_ashift(efc_spc6_ifuse_ashift),
		    .efc_spc6_ifuse_dshift(efc_spc6_ifuse_dshift),
		    .efc_spc6_dfuse_ashift(efc_spc6_dfuse_ashift),
		    .efc_spc6_dfuse_dshift(efc_spc6_dfuse_dshift),
		    .efc_spc5_ifuse_ashift(efc_spc5_ifuse_ashift),
		    .efc_spc5_ifuse_dshift(efc_spc5_ifuse_dshift),
		    .efc_spc5_dfuse_ashift(efc_spc5_dfuse_ashift),
		    .efc_spc5_dfuse_dshift(efc_spc5_dfuse_dshift),
		    .efc_spc4_ifuse_ashift(efc_spc4_ifuse_ashift),
		    .efc_spc4_ifuse_dshift(efc_spc4_ifuse_dshift),
		    .efc_spc4_dfuse_ashift(efc_spc4_dfuse_ashift),
		    .efc_spc4_dfuse_dshift(efc_spc4_dfuse_dshift),
		    .efc_spc3_ifuse_ashift(efc_spc3_ifuse_ashift),
		    .efc_spc3_ifuse_dshift(efc_spc3_ifuse_dshift),
		    .efc_spc3_dfuse_ashift(efc_spc3_dfuse_ashift),
		    .efc_spc3_dfuse_dshift(efc_spc3_dfuse_dshift),
		    .efc_spc2_ifuse_ashift(efc_spc2_ifuse_ashift),
		    .efc_spc2_ifuse_dshift(efc_spc2_ifuse_dshift),
		    .efc_spc2_dfuse_ashift(efc_spc2_dfuse_ashift),
		    .efc_spc2_dfuse_dshift(efc_spc2_dfuse_dshift),
		    .efc_spc1_ifuse_ashift(efc_spc1_ifuse_ashift),
		    .efc_spc1_ifuse_dshift(efc_spc1_ifuse_dshift),
		    .efc_spc1_dfuse_ashift(efc_spc1_dfuse_ashift),
		    .efc_spc1_dfuse_dshift(efc_spc1_dfuse_dshift),
		    .efc_spc0_ifuse_ashift(efc_spc0_ifuse_ashift),
		    .efc_spc0_ifuse_dshift(efc_spc0_ifuse_dshift),
		    .efc_spc0_dfuse_ashift(efc_spc0_dfuse_ashift),
		    .efc_spc0_dfuse_dshift(efc_spc0_dfuse_dshift),
		    .efc_sctag02_fuse_clk1(efc_sctag02_fuse_clk1),
		    .efc_sctag02_fuse_clk2(efc_sctag02_fuse_clk2),
		    .efc_sctag02_fuse_data(efc_sctag02_fuse_data),
		    .efc_sctag13_fuse_clk1(efc_sctag13_fuse_clk1),
		    .efc_sctag13_fuse_clk2(efc_sctag13_fuse_clk2),
		    .efc_sctag13_fuse_data(efc_sctag13_fuse_data),
		    .efc_sctag3_fuse_ashift(efc_sctag3_fuse_ashift),
		    .efc_sctag3_fuse_dshift(efc_sctag3_fuse_dshift),
		    .efc_sctag2_fuse_ashift(efc_sctag2_fuse_ashift),
		    .efc_sctag2_fuse_dshift(efc_sctag2_fuse_dshift),
		    .efc_sctag1_fuse_ashift(efc_sctag1_fuse_ashift),
		    .efc_sctag1_fuse_dshift(efc_sctag1_fuse_dshift),
		    .efc_sctag0_fuse_ashift(efc_sctag0_fuse_ashift),
		    .efc_sctag0_fuse_dshift(efc_sctag0_fuse_dshift),
		    .efc_scdata02_fuse_clk1(efc_scdata02_fuse_clk1),
		    .efc_scdata02_fuse_clk2(efc_scdata02_fuse_clk2),
		    .efc_scdata02_fuse_data(efc_scdata02_fuse_data),
		    .efc_scdata13_fuse_clk1(efc_scdata13_fuse_clk1),
		    .efc_scdata13_fuse_clk2(efc_scdata13_fuse_clk2),
		    .efc_scdata13_fuse_data(efc_scdata13_fuse_data),
		    .efc_scdata3_fuse_ashift(efc_scdata3_fuse_ashift),
		    .efc_scdata3_fuse_dshift(efc_scdata3_fuse_dshift),
		    .efc_scdata2_fuse_ashift(efc_scdata2_fuse_ashift),
		    .efc_scdata2_fuse_dshift(efc_scdata2_fuse_dshift),
		    .efc_scdata1_fuse_ashift(efc_scdata1_fuse_ashift),
		    .efc_scdata1_fuse_dshift(efc_scdata1_fuse_dshift),
		    .efc_scdata0_fuse_ashift(efc_scdata0_fuse_ashift),
		    .efc_scdata0_fuse_dshift(efc_scdata0_fuse_dshift),
		    .efc_iob_fuse_clk1	(efc_iob_fuse_clk1),
		    .efc_iob_fuse_data	(efc_iob_fuse_data),
		    .efc_iob_sernum0_dshift(efc_iob_sernum0_dshift),
		    .efc_iob_sernum1_dshift(efc_iob_sernum1_dshift),
		    .efc_iob_sernum2_dshift(efc_iob_sernum2_dshift),
		    .efc_iob_fusestat_dshift(efc_iob_fusestat_dshift),
		    .efc_iob_coreavail_dshift(efc_iob_coreavail_dshift),
		    .sbc_efa_read_en	(sbc_efa_read_en),
		    .sbc_efa_word_addr	(sbc_efa_word_addr[5:0]),
		    .sbc_efa_bit_addr	(sbc_efa_bit_addr[4:0]),
		    .sbc_efa_margin0_rd	(sbc_efa_margin0_rd),
		    .sbc_efa_margin1_rd	(sbc_efa_margin1_rd),
		    .pwr_ok		(pwr_ok),
		    .por_n		(por_n),
		    .sbc_efa_sup_det_rd	(sbc_efa_sup_det_rd),
		    .sbc_efa_power_down	(sbc_efa_power_down),

		    .clk		(jbus_rclk),
		    .efc_rst_l		(efc_rst_l),
		    .jbus_arst_l	(jbus_arst_l),
		    .testmode_l		(testmode_l),
		    .ctu_efc_rowaddr	(ctu_efc_rowaddr[6:0]),
		    .ctu_efc_coladdr	(ctu_efc_coladdr[4:0]),
		    .ctu_efc_read_en	(ctu_efc_read_en),
		    .ctu_efc_read_mode	(ctu_efc_read_mode[2:0]),
		    .ctu_efc_read_start	(ctu_efc_read_start),
		    .ctu_efc_fuse_bypass(ctu_efc_fuse_bypass),
		    .ctu_efc_dest_sample(ctu_efc_dest_sample),
		    .ctu_efc_data_in	(ctu_efc_data_in),
		    .ctu_efc_updatedr	(ctu_efc_updatedr),
		    .ctu_efc_shiftdr	(ctu_efc_shiftdr),
		    .ctu_efc_capturedr	(ctu_efc_capturedr),
		    .tck		(tck),
		    .spc7_efc_ifuse_data(spc7_efc_ifuse_data),
		    .spc7_efc_dfuse_data(spc7_efc_dfuse_data),
		    .spc6_efc_ifuse_data(spc6_efc_ifuse_data),
		    .spc6_efc_dfuse_data(spc6_efc_dfuse_data),
		    .spc5_efc_ifuse_data(spc5_efc_ifuse_data),
		    .spc5_efc_dfuse_data(spc5_efc_dfuse_data),
		    .spc4_efc_ifuse_data(spc4_efc_ifuse_data),
		    .spc4_efc_dfuse_data(spc4_efc_dfuse_data),
		    .spc3_efc_ifuse_data(spc3_efc_ifuse_data),
		    .spc3_efc_dfuse_data(spc3_efc_dfuse_data),
		    .spc2_efc_ifuse_data(spc2_efc_ifuse_data),
		    .spc2_efc_dfuse_data(spc2_efc_dfuse_data),
		    .spc1_efc_ifuse_data(spc1_efc_ifuse_data),
		    .spc1_efc_dfuse_data(spc1_efc_dfuse_data),
		    .spc0_efc_ifuse_data(spc0_efc_ifuse_data),
		    .spc0_efc_dfuse_data(spc0_efc_dfuse_data),
		    .sctag3_efc_fuse_data(sctag3_efc_fuse_data),
		    .sctag2_efc_fuse_data(sctag2_efc_fuse_data),
		    .sctag1_efc_fuse_data(sctag1_efc_fuse_data),
		    .sctag0_efc_fuse_data(sctag0_efc_fuse_data),
		    .scdata3_efc_fuse_data(scdata3_efc_fuse_data),
		    .scdata2_efc_fuse_data(scdata2_efc_fuse_data),
		    .scdata1_efc_fuse_data(scdata1_efc_fuse_data),
		    .scdata0_efc_fuse_data(scdata0_efc_fuse_data),
		    .efa_sbc_data	(efa_sbc_data[31:0]));


endmodule
module efc (

   efc_ctu_scanout, efc_ctu_data_out, efc_spc1357_fuse_clk1, 
   efc_spc1357_fuse_clk2, efc_spc0246_fuse_clk1, 
   efc_spc0246_fuse_clk2, efc_spc1357_fuse_data, 
   efc_spc0246_fuse_data, efc_spc7_ifuse_ashift, 
   efc_spc7_ifuse_dshift, efc_spc7_dfuse_ashift, 
   efc_spc7_dfuse_dshift, efc_spc6_ifuse_ashift, 
   efc_spc6_ifuse_dshift, efc_spc6_dfuse_ashift, 
   efc_spc6_dfuse_dshift, efc_spc5_ifuse_ashift, 
   efc_spc5_ifuse_dshift, efc_spc5_dfuse_ashift, 
   efc_spc5_dfuse_dshift, efc_spc4_ifuse_ashift, 
   efc_spc4_ifuse_dshift, efc_spc4_dfuse_ashift, 
   efc_spc4_dfuse_dshift, efc_spc3_ifuse_ashift, 
   efc_spc3_ifuse_dshift, efc_spc3_dfuse_ashift, 
   efc_spc3_dfuse_dshift, efc_spc2_ifuse_ashift, 
   efc_spc2_ifuse_dshift, efc_spc2_dfuse_ashift, 
   efc_spc2_dfuse_dshift, efc_spc1_ifuse_ashift, 
   efc_spc1_ifuse_dshift, efc_spc1_dfuse_ashift, 
   efc_spc1_dfuse_dshift, efc_spc0_ifuse_ashift, 
   efc_spc0_ifuse_dshift, efc_spc0_dfuse_ashift, 
   efc_spc0_dfuse_dshift, efc_sctag02_fuse_clk1, 
   efc_sctag02_fuse_clk2, efc_sctag02_fuse_data, 
   efc_sctag13_fuse_clk1, efc_sctag13_fuse_clk2, 
   efc_sctag13_fuse_data, efc_sctag3_fuse_ashift, 
   efc_sctag3_fuse_dshift, efc_sctag2_fuse_ashift, 
   efc_sctag2_fuse_dshift, efc_sctag1_fuse_ashift, 
   efc_sctag1_fuse_dshift, efc_sctag0_fuse_ashift, 
   efc_sctag0_fuse_dshift, efc_scdata02_fuse_clk1, 
   efc_scdata02_fuse_clk2, efc_scdata02_fuse_data, 
   efc_scdata13_fuse_clk1, efc_scdata13_fuse_clk2, 
   efc_scdata13_fuse_data, efc_scdata3_fuse_ashift, 
   efc_scdata3_fuse_dshift, efc_scdata2_fuse_ashift, 
   efc_scdata2_fuse_dshift, efc_scdata1_fuse_ashift, 
   efc_scdata1_fuse_dshift, efc_scdata0_fuse_ashift, 
   efc_scdata0_fuse_dshift, efc_iob_fuse_clk1, efc_iob_fuse_data, 
   efc_iob_sernum0_dshift, efc_iob_sernum1_dshift, 
   efc_iob_sernum2_dshift, efc_iob_fusestat_dshift, 
   efc_iob_coreavail_dshift, 

   io_vpp, vddo, jbus_gclk, jbus_arst_l, jbus_grst_l, 
   ctu_tst_scanmode, clk_efc_cken, global_shift_enable, 
   ctu_efc_scanin, jbus_adbginit_l, jbus_gdbginit_l, 
   ctu_tst_pre_grst_l, ctu_tst_scan_disable, ctu_tst_macrotest, 
   ctu_tst_short_chain, ctu_efc_rowaddr, ctu_efc_coladdr, io_pgrm_en, 
   ctu_efc_read_en, ctu_efc_read_mode, ctu_efc_read_start, 
   ctu_efc_fuse_bypass, ctu_efc_dest_sample, ctu_efc_data_in, 
   ctu_efc_updatedr, ctu_efc_shiftdr, ctu_efc_capturedr, tck, 
   spc7_efc_ifuse_data, spc7_efc_dfuse_data, spc6_efc_ifuse_data, 
   spc6_efc_dfuse_data, spc5_efc_ifuse_data, spc5_efc_dfuse_data, 
   spc4_efc_ifuse_data, spc4_efc_dfuse_data, spc3_efc_ifuse_data, 
   spc3_efc_dfuse_data, spc2_efc_ifuse_data, spc2_efc_dfuse_data, 
   spc1_efc_ifuse_data, spc1_efc_dfuse_data, spc0_efc_ifuse_data, 
   spc0_efc_dfuse_data, sctag3_efc_fuse_data, sctag2_efc_fuse_data, 
   sctag1_efc_fuse_data, sctag0_efc_fuse_data, scdata3_efc_fuse_data, 
   scdata2_efc_fuse_data, scdata1_efc_fuse_data, 
   scdata0_efc_fuse_data
   );




input           io_vpp;
input		vddo;

input           jbus_gclk;
input           jbus_arst_l;
input           jbus_grst_l;
input           ctu_tst_scanmode;
input           clk_efc_cken;
input           global_shift_enable;
input           ctu_efc_scanin;
output          efc_ctu_scanout;
input           jbus_adbginit_l;
input           jbus_gdbginit_l;
input		ctu_tst_pre_grst_l;
input		ctu_tst_scan_disable;
input		ctu_tst_macrotest;
input		ctu_tst_short_chain;



input [6:0]     ctu_efc_rowaddr;
input [4:0]     ctu_efc_coladdr;
input           io_pgrm_en;
input           ctu_efc_read_en;
input [2:0]     ctu_efc_read_mode;
input           ctu_efc_read_start;
input           ctu_efc_fuse_bypass;
input           ctu_efc_dest_sample;


input           ctu_efc_data_in;
output          efc_ctu_data_out;
input           ctu_efc_updatedr;
input           ctu_efc_shiftdr;
input           ctu_efc_capturedr;
input           tck;


output		efc_spc1357_fuse_clk1;
output		efc_spc1357_fuse_clk2;
output		efc_spc0246_fuse_clk1;
output		efc_spc0246_fuse_clk2;
output		efc_spc1357_fuse_data;
output		efc_spc0246_fuse_data;

output		efc_spc7_ifuse_ashift;
output		efc_spc7_ifuse_dshift;
output		efc_spc7_dfuse_ashift;
output		efc_spc7_dfuse_dshift;
input		spc7_efc_ifuse_data;
input		spc7_efc_dfuse_data;

output		efc_spc6_ifuse_ashift;
output		efc_spc6_ifuse_dshift;
output		efc_spc6_dfuse_ashift;
output		efc_spc6_dfuse_dshift;
input		spc6_efc_ifuse_data;
input		spc6_efc_dfuse_data;

output		efc_spc5_ifuse_ashift;
output		efc_spc5_ifuse_dshift;
output		efc_spc5_dfuse_ashift;
output		efc_spc5_dfuse_dshift;
input		spc5_efc_ifuse_data;
input		spc5_efc_dfuse_data;

output		efc_spc4_ifuse_ashift;
output		efc_spc4_ifuse_dshift;
output		efc_spc4_dfuse_ashift;
output		efc_spc4_dfuse_dshift;
input		spc4_efc_ifuse_data;
input		spc4_efc_dfuse_data;

output		efc_spc3_ifuse_ashift;
output		efc_spc3_ifuse_dshift;
output		efc_spc3_dfuse_ashift;
output		efc_spc3_dfuse_dshift;
input		spc3_efc_ifuse_data;
input		spc3_efc_dfuse_data;

output		efc_spc2_ifuse_ashift;
output		efc_spc2_ifuse_dshift;
output		efc_spc2_dfuse_ashift;
output		efc_spc2_dfuse_dshift;
input		spc2_efc_ifuse_data;
input		spc2_efc_dfuse_data;

output		efc_spc1_ifuse_ashift;
output		efc_spc1_ifuse_dshift;
output		efc_spc1_dfuse_ashift;
output		efc_spc1_dfuse_dshift;
input		spc1_efc_ifuse_data;
input		spc1_efc_dfuse_data;

output		efc_spc0_ifuse_ashift;
output		efc_spc0_ifuse_dshift;
output		efc_spc0_dfuse_ashift;
output		efc_spc0_dfuse_dshift;
input		spc0_efc_ifuse_data;
input		spc0_efc_dfuse_data;

output		efc_sctag02_fuse_clk1;
output		efc_sctag02_fuse_clk2;
output		efc_sctag02_fuse_data;
output		efc_sctag13_fuse_clk1;
output		efc_sctag13_fuse_clk2;
output		efc_sctag13_fuse_data;

output		efc_sctag3_fuse_ashift;
output		efc_sctag3_fuse_dshift;
input		sctag3_efc_fuse_data;

output		efc_sctag2_fuse_ashift;
output		efc_sctag2_fuse_dshift;
input		sctag2_efc_fuse_data;

output		efc_sctag1_fuse_ashift;
output		efc_sctag1_fuse_dshift;
input		sctag1_efc_fuse_data;

output		efc_sctag0_fuse_ashift;
output		efc_sctag0_fuse_dshift;
input		sctag0_efc_fuse_data;

output		efc_scdata02_fuse_clk1;
output		efc_scdata02_fuse_clk2;
output		efc_scdata02_fuse_data;
output		efc_scdata13_fuse_clk1;
output		efc_scdata13_fuse_clk2;
output		efc_scdata13_fuse_data;

output		efc_scdata3_fuse_ashift;
output		efc_scdata3_fuse_dshift;
input		scdata3_efc_fuse_data;

output		efc_scdata2_fuse_ashift;
output		efc_scdata2_fuse_dshift;
input		scdata2_efc_fuse_data;

output		efc_scdata1_fuse_ashift;
output		efc_scdata1_fuse_dshift;
input		scdata1_efc_fuse_data;

output		efc_scdata0_fuse_ashift;
output		efc_scdata0_fuse_dshift;
input		scdata0_efc_fuse_data;

output		efc_iob_fuse_clk1;
output		efc_iob_fuse_data;

output		efc_iob_sernum0_dshift;
output		efc_iob_sernum1_dshift;
output		efc_iob_sernum2_dshift;
output		efc_iob_fusestat_dshift;
output		efc_iob_coreavail_dshift;







  wire [31:0]		efa_sbc_data;
  wire			por_n;
  wire			pwr_ok;
  wire [4:0]		sbc_efa_bit_addr;
  wire			sbc_efa_margin0_rd;
  wire			sbc_efa_margin1_rd;
  wire			sbc_efa_power_down;
  wire			sbc_efa_read_en;
  wire			sbc_efa_sup_det_rd;
  wire [5:0]		sbc_efa_word_addr;
  wire			se;
  wire			testmode_l;

  wire                  io_pgrm_en;
  wire                  efc_rst_l;






/
test_stub_scan test_stub_scan (

			       .mux_drive_disable(),
			       .mem_write_disable(),
			       .sehold	(),
			       .se	(se),
			       .testmode_l(testmode_l),
			       .mem_bypass(),
			       .so_0	(so_0),
			       .so_1	(),
			       .so_2	(),

			       .ctu_tst_pre_grst_l(ctu_tst_pre_grst_l),
			       .arst_l	(jbus_arst_l),
			       .global_shift_enable(global_shift_enable),
			       .ctu_tst_scan_disable(ctu_tst_scan_disable),
			       .ctu_tst_scanmode(ctu_tst_scanmode),
			       .ctu_tst_macrotest(ctu_tst_macrotest),
			       .ctu_tst_short_chain(ctu_tst_short_chain),
			       .long_chain_so_0(MT_long_chain_so_0),
			       .short_chain_so_0(short_chain_so_0),
			       .long_chain_so_1(1'b0),
			       .short_chain_so_1(1'b0),
			       .long_chain_so_2(1'b0),
			       .short_chain_so_2(1'b0));
/
bw_r_efa u_efa(

	       .efa_sbc_data		(efa_sbc_data[31:0]),
	       .so			(),

	       .vpp			(io_vpp),
	       .pi_efa_prog_en		(io_pgrm_en),
	       .sbc_efa_read_en		(sbc_efa_read_en),
	       .sbc_efa_word_addr	(sbc_efa_word_addr[5:0]),
	       .sbc_efa_bit_addr	(sbc_efa_bit_addr[4:0]),
	       .sbc_efa_margin0_rd	(sbc_efa_margin0_rd),
	       .sbc_efa_margin1_rd	(sbc_efa_margin1_rd),
	       .pwr_ok			(pwr_ok),
	       .por_n			(por_n),
	       .sbc_efa_sup_det_rd	(sbc_efa_sup_det_rd),
	       .sbc_efa_power_down	(sbc_efa_power_down),
	       .si			(1'b0),
	       .se			(1'b0),
	       .vddo			(vddo),
	       .clk			(jbus_rclk));

efc_stdc u_efa_stdc(

		    .efc_ctu_data_out	(efc_ctu_data_out),
		    .efc_spc1357_fuse_clk1(efc_spc1357_fuse_clk1),
		    .efc_spc1357_fuse_clk2(efc_spc1357_fuse_clk2),
		    .efc_spc0246_fuse_clk1(efc_spc0246_fuse_clk1),
		    .efc_spc0246_fuse_clk2(efc_spc0246_fuse_clk2),
		    .efc_spc1357_fuse_data(efc_spc1357_fuse_data),
		    .efc_spc0246_fuse_data(efc_spc0246_fuse_data),
		    .efc_spc7_ifuse_ashift(efc_spc7_ifuse_ashift),
		    .efc_spc7_ifuse_dshift(efc_spc7_ifuse_dshift),
		    .efc_spc7_dfuse_ashift(efc_spc7_dfuse_ashift),
		    .efc_spc7_dfuse_dshift(efc_spc7_dfuse_dshift),
		    .efc_spc6_ifuse_ashift(efc_spc6_ifuse_ashift),
		    .efc_spc6_ifuse_dshift(efc_spc6_ifuse_dshift),
		    .efc_spc6_dfuse_ashift(efc_spc6_dfuse_ashift),
		    .efc_spc6_dfuse_dshift(efc_spc6_dfuse_dshift),
		    .efc_spc5_ifuse_ashift(efc_spc5_ifuse_ashift),
		    .efc_spc5_ifuse_dshift(efc_spc5_ifuse_dshift),
		    .efc_spc5_dfuse_ashift(efc_spc5_dfuse_ashift),
		    .efc_spc5_dfuse_dshift(efc_spc5_dfuse_dshift),
		    .efc_spc4_ifuse_ashift(efc_spc4_ifuse_ashift),
		    .efc_spc4_ifuse_dshift(efc_spc4_ifuse_dshift),
		    .efc_spc4_dfuse_ashift(efc_spc4_dfuse_ashift),
		    .efc_spc4_dfuse_dshift(efc_spc4_dfuse_dshift),
		    .efc_spc3_ifuse_ashift(efc_spc3_ifuse_ashift),
		    .efc_spc3_ifuse_dshift(efc_spc3_ifuse_dshift),
		    .efc_spc3_dfuse_ashift(efc_spc3_dfuse_ashift),
		    .efc_spc3_dfuse_dshift(efc_spc3_dfuse_dshift),
		    .efc_spc2_ifuse_ashift(efc_spc2_ifuse_ashift),
		    .efc_spc2_ifuse_dshift(efc_spc2_ifuse_dshift),
		    .efc_spc2_dfuse_ashift(efc_spc2_dfuse_ashift),
		    .efc_spc2_dfuse_dshift(efc_spc2_dfuse_dshift),
		    .efc_spc1_ifuse_ashift(efc_spc1_ifuse_ashift),
		    .efc_spc1_ifuse_dshift(efc_spc1_ifuse_dshift),
		    .efc_spc1_dfuse_ashift(efc_spc1_dfuse_ashift),
		    .efc_spc1_dfuse_dshift(efc_spc1_dfuse_dshift),
		    .efc_spc0_ifuse_ashift(efc_spc0_ifuse_ashift),
		    .efc_spc0_ifuse_dshift(efc_spc0_ifuse_dshift),
		    .efc_spc0_dfuse_ashift(efc_spc0_dfuse_ashift),
		    .efc_spc0_dfuse_dshift(efc_spc0_dfuse_dshift),
		    .efc_sctag02_fuse_clk1(efc_sctag02_fuse_clk1),
		    .efc_sctag02_fuse_clk2(efc_sctag02_fuse_clk2),
		    .efc_sctag02_fuse_data(efc_sctag02_fuse_data),
		    .efc_sctag13_fuse_clk1(efc_sctag13_fuse_clk1),
		    .efc_sctag13_fuse_clk2(efc_sctag13_fuse_clk2),
		    .efc_sctag13_fuse_data(efc_sctag13_fuse_data),
		    .efc_sctag3_fuse_ashift(efc_sctag3_fuse_ashift),
		    .efc_sctag3_fuse_dshift(efc_sctag3_fuse_dshift),
		    .efc_sctag2_fuse_ashift(efc_sctag2_fuse_ashift),
		    .efc_sctag2_fuse_dshift(efc_sctag2_fuse_dshift),
		    .efc_sctag1_fuse_ashift(efc_sctag1_fuse_ashift),
		    .efc_sctag1_fuse_dshift(efc_sctag1_fuse_dshift),
		    .efc_sctag0_fuse_ashift(efc_sctag0_fuse_ashift),
		    .efc_sctag0_fuse_dshift(efc_sctag0_fuse_dshift),
		    .efc_scdata02_fuse_clk1(efc_scdata02_fuse_clk1),
		    .efc_scdata02_fuse_clk2(efc_scdata02_fuse_clk2),
		    .efc_scdata02_fuse_data(efc_scdata02_fuse_data),
		    .efc_scdata13_fuse_clk1(efc_scdata13_fuse_clk1),
		    .efc_scdata13_fuse_clk2(efc_scdata13_fuse_clk2),
		    .efc_scdata13_fuse_data(efc_scdata13_fuse_data),
		    .efc_scdata3_fuse_ashift(efc_scdata3_fuse_ashift),
		    .efc_scdata3_fuse_dshift(efc_scdata3_fuse_dshift),
		    .efc_scdata2_fuse_ashift(efc_scdata2_fuse_ashift),
		    .efc_scdata2_fuse_dshift(efc_scdata2_fuse_dshift),
		    .efc_scdata1_fuse_ashift(efc_scdata1_fuse_ashift),
		    .efc_scdata1_fuse_dshift(efc_scdata1_fuse_dshift),
		    .efc_scdata0_fuse_ashift(efc_scdata0_fuse_ashift),
		    .efc_scdata0_fuse_dshift(efc_scdata0_fuse_dshift),
		    .efc_iob_fuse_clk1	(efc_iob_fuse_clk1),
		    .efc_iob_fuse_data	(efc_iob_fuse_data),
		    .efc_iob_sernum0_dshift(efc_iob_sernum0_dshift),
		    .efc_iob_sernum1_dshift(efc_iob_sernum1_dshift),
		    .efc_iob_sernum2_dshift(efc_iob_sernum2_dshift),
		    .efc_iob_fusestat_dshift(efc_iob_fusestat_dshift),
		    .efc_iob_coreavail_dshift(efc_iob_coreavail_dshift),
		    .sbc_efa_read_en	(sbc_efa_read_en),
		    .sbc_efa_word_addr	(sbc_efa_word_addr[5:0]),
		    .sbc_efa_bit_addr	(sbc_efa_bit_addr[4:0]),
		    .sbc_efa_margin0_rd	(sbc_efa_margin0_rd),
		    .sbc_efa_margin1_rd	(sbc_efa_margin1_rd),
		    .pwr_ok		(pwr_ok),
		    .por_n		(por_n),
		    .sbc_efa_sup_det_rd	(sbc_efa_sup_det_rd),
		    .sbc_efa_power_down	(sbc_efa_power_down),

		    .clk		(jbus_rclk),
		    .efc_rst_l		(efc_rst_l),
		    .jbus_arst_l	(jbus_arst_l),
		    .testmode_l		(testmode_l),
		    .ctu_efc_rowaddr	(ctu_efc_rowaddr[6:0]),
		    .ctu_efc_coladdr	(ctu_efc_coladdr[4:0]),
		    .ctu_efc_read_en	(ctu_efc_read_en),
		    .ctu_efc_read_mode	(ctu_efc_read_mode[2:0]),
		    .ctu_efc_read_start	(ctu_efc_read_start),
		    .ctu_efc_fuse_bypass(ctu_efc_fuse_bypass),
		    .ctu_efc_dest_sample(ctu_efc_dest_sample),
		    .ctu_efc_data_in	(ctu_efc_data_in),
		    .ctu_efc_updatedr	(ctu_efc_updatedr),
		    .ctu_efc_shiftdr	(ctu_efc_shiftdr),
		    .ctu_efc_capturedr	(ctu_efc_capturedr),
		    .tck		(tck),
		    .spc7_efc_ifuse_data(spc7_efc_ifuse_data),
		    .spc7_efc_dfuse_data(spc7_efc_dfuse_data),
		    .spc6_efc_ifuse_data(spc6_efc_ifuse_data),
		    .spc6_efc_dfuse_data(spc6_efc_dfuse_data),
		    .spc5_efc_ifuse_data(spc5_efc_ifuse_data),
		    .spc5_efc_dfuse_data(spc5_efc_dfuse_data),
		    .spc4_efc_ifuse_data(spc4_efc_ifuse_data),
		    .spc4_efc_dfuse_data(spc4_efc_dfuse_data),
		    .spc3_efc_ifuse_data(spc3_efc_ifuse_data),
		    .spc3_efc_dfuse_data(spc3_efc_dfuse_data),
		    .spc2_efc_ifuse_data(spc2_efc_ifuse_data),
		    .spc2_efc_dfuse_data(spc2_efc_dfuse_data),
		    .spc1_efc_ifuse_data(spc1_efc_ifuse_data),
		    .spc1_efc_dfuse_data(spc1_efc_dfuse_data),
		    .spc0_efc_ifuse_data(spc0_efc_ifuse_data),
		    .spc0_efc_dfuse_data(spc0_efc_dfuse_data),
		    .sctag3_efc_fuse_data(sctag3_efc_fuse_data),
		    .sctag2_efc_fuse_data(sctag2_efc_fuse_data),
		    .sctag1_efc_fuse_data(sctag1_efc_fuse_data),
		    .sctag0_efc_fuse_data(sctag0_efc_fuse_data),
		    .scdata3_efc_fuse_data(scdata3_efc_fuse_data),
		    .scdata2_efc_fuse_data(scdata2_efc_fuse_data),
		    .scdata1_efc_fuse_data(scdata1_efc_fuse_data),
		    .scdata0_efc_fuse_data(scdata0_efc_fuse_data),
		    .efa_sbc_data	(efa_sbc_data[31:0]));


endmodule