URL
https://opencores.org/ocsvn/i2c_to_wb/i2c_to_wb/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 3 |
Line 16... |
Line 16... |
|
|
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
// insert test below
|
// insert test below
|
|
|
dut.i2c.start();
|
dut.i2c.start();
|
dut.i2c.write_byte( 8'h00 );
|
dut.i2c.write_byte( 8'h10 );
|
dut.i2c.write_byte( 8'hff );
|
dut.i2c.write_byte( 8'hff );
|
|
|
dut.i2c.start();
|
dut.i2c.start();
|
dut.i2c.write_byte( 8'haa );
|
dut.i2c.write_byte( 8'hcb );
|
dut.i2c.read_byte();
|
dut.i2c.read_byte();
|
|
|
dut.i2c.stop();
|
dut.i2c.stop();
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.