OpenCores
Issue List
copy/paste error? #28
Closed jerry_hsu opened this issue almost 13 years ago
jerry_hsu commented almost 13 years ago

tst_bench_top.v Is it a copy/paste error?

// hookup wishbone_i2c_master core
i2c_master_top i2c_top (

	// wishbone interface
	.wb_clk_i(clk),
	.wb_rst_i(1'b0),
	.arst_i(rstn),
	.wb_adr_i(adr[2:0]),
	.wb_dat_i(dat_o),
	.wb_dat_o(dat0_i),
	.wb_we_i(we),
	.wb_stb_i(stb0),
	.wb_cyc_i(cyc),
	.wb_ack_o(ack),
	.wb_inta_o(inta),

	// i2c signals
	.scl_pad_i(scl),
	.scl_pad_o(scl0_o),
	.scl_padoen_o(scl0_oen),
	.sda_pad_i(sda),
	.sda_pad_o(sda0_o),
	.sda_padoen_o(sda0_oen)
),
i2c_top2 (

	// wishbone interface
	.wb_clk_i(clk),
	.wb_rst_i(1'b0),
	.arst_i(rstn),
	.wb_adr_i(adr[2:0]),
	.wb_dat_i(dat_o),
	.wb_dat_o(dat1_i),
	.wb_we_i(we),
	.wb_stb_i(stb1),
	.wb_cyc_i(cyc),
	.wb_ack_o(ack),
	.wb_inta_o(inta),

	// i2c signals
	.scl_pad_i(scl),
	.scl_pad_o(scl1_o),
	.scl_padoen_o(scl1_oen),
	.sda_pad_i(sda),
	.sda_pad_o(sda1_o),
	.sda_padoen_o(sda1_oen)
);
rherveille commented almost 13 years ago

What is a copy&paste error??

Richard

rherveille closed this over 12 years ago
rherveille commented over 12 years ago

Closed due to no response

salmansheikh commented almost 12 years ago

I think he is wondering why you have 2 masters in the testbench.


Assignee
No one
Labels
Reminder