verilog-i2c
verilog-i2c copied to clipboard
Testbenches for i2c in
- separated phy from master,
- added 'tb' just for phy
- formatted everything with verible-verilog-format
- testing
rtl/
-i2c_master.v
-i2c_slave.v
-i2c_single_reg.v
with iverilog and verilator, it works
verilator -y rtl rtl/i2c_master_tb -main --timing --binary --Wno-style --trace-fst &&./obj_dir/Vi2c_master_tbiverilog -o sim_output -y rtl rtl/i2c_master_tb.v && ./sim_output
I have no use for axil or wbm