OpenCores
URL https://opencores.org/ocsvn/i2c_to_wb/i2c_to_wb/trunk

Subversion Repositories i2c_to_wb

[/] [i2c_to_wb/] [trunk/] [sim/] [tests/] [debug/] [the_test.v] - Diff between revs 2 and 3

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();
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.