|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
I2C core VHDL testbenchHello,
I am trying to get a VHDL testbench running with the VHDL I2C core and and Verilog I2C slave model. I've implemented the WISHBONE master as a simple state machine. I tried to follow the same steps in the Verilog testbench in CVS but somehow that is insufficient. The I2C master drives the SCL and SDA lines from 'H' to '0' and '0' to 'H' as expected but the slave does not appear to respond to the commands. The slave SDA line is perpetually at 'Z'. At this point I am really not sure what might be wrong and am in desperate need of some help. The source files are available here: http://m.afgani.googlepages.com/WB_I2C.zip Thanks in advance, Mostafa _______________________________________________ http://www.opencores.org/mailman/listinfo/cores |
|
|
|
|
|
|
|
|
| I've been working on this thing for weeks and I can't figure it out. Since you have some success, could I ask for your help with the verilog side? I'm using ISE 9.1 also, is there anyway that you would send me the verilog project and then maybe I can figure out what the heck I'm doing wrong. I'd sure appreciate it. If you can't, how did you add the test bench in the project? I put the "test_bench_top" on top of the "wb_master_model" all in one .v test benc file. I put the slave in its own .v file. Everything compiles correctly but the start command (8'h90) doesn't seem to be written. If I can get this running - then I'll try and give you a hand. Thanks, Dewayne --- On Mon 04/02, < m.afgani@... > wrote: From: [mailto: m.afgani@...] |
Mostafa-3 wrote:Hello,
I am trying to get a VHDL testbench running with the VHDL I2C core and
and Verilog I2C slave model. I've implemented the WISHBONE master as a
simple state machine. I tried to follow the same steps in the Verilog
testbench in CVS but somehow that is insufficient. The I2C master
drives the SCL and SDA lines from 'H' to '0' and '0' to 'H' as
expected but the slave does not appear to respond to the commands. The
slave SDA line is perpetually at 'Z'.
At this point I am really not sure what might be wrong and am in
desperate need of some help. The source files are available here:
http://m.afgani.googlepages.com/WB_I2C.zip
Thanks in advance,
Mostafa
_______________________________________________
http://www.opencores.org/mailman/listinfo/cores
| Free embeddable forum powered by Nabble | Forum Help |