I2C Master in Verilog

C

Chris

Guest
The opencores.org I2C appears to be only in VHDL. Does anyone know of a
free I2C master in Verilog?

Thanks, Chris.
 
In Opencores, there is verilog version of I2C too:

http://www.opencores.org/cvsweb.shtml/i2c/rtl/verilog/

-Alex

Chris wrote:
The opencores.org I2C appears to be only in VHDL. Does anyone know of a
free I2C master in Verilog?

Thanks, Chris.
 
The OP does have a verilog version.

I compiled it with icarus - best free verilog simulator - and it works
fine.
to compile from
i2c/sim/i2c_verilog/run
iverilog -o tb.vvp -ctb.f -I../../../../i2c/bench/verilog
-I../../../rtl/verilog
and simulate by
vvp tb.vvp
where tb.f is
.../../../rtl/verilog/i2c_master_bit_ctrl.v
.../../../rtl/verilog/i2c_master_byte_ctrl.v
.../../../rtl/verilog/i2c_master_top.v
.../../../bench/verilog/i2c_slave_model.v
.../../../bench/verilog/wb_master_model.v
.../../../bench/verilog/tst_bench_top.v


Chris wrote:
The opencores.org I2C appears to be only in VHDL. Does anyone know of a
free I2C master in Verilog?

Thanks, Chris.
 
Bonjour Chris,

I am currently beeing designig an I2C ctrl in verilog too.

You should have a look on the Xilinx's application note #XAPP333.

Regards, Julien

Chris a écrit :

The opencores.org I2C appears to be only in VHDL. Does anyone know of a
free I2C master in Verilog?

Thanks, Chris.
 

Welcome to EDABoard.com

Sponsor

Back
Top