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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [logic/] [ip/] [spi_interface/] [sim/] [icarus/] [default/] [test_define] - Rev 135

Compare with Previous | Blame | View Log




initial
 begin
 $display("              ");
 $display("          ===================================================");
 $display("%8d  Test Start",$realtime );
 $display("          ===================================================");
 $display("              ");


 fork
 begin
 test.cg.next(1100);
 end

begin
  test.cg.next(1000);
  test.spi_model_master.send_packet(32'h12345678,32'h00001234);
  test.cg.next(1000);
  test.spi_model_master.send_packet(32'h5678abcd,32'h56785678);
  test.cg.next(1000);
  test.spi_model_master.send_packet(32'hffffffff,32'habcdffff);
  test.cg.next(1000);
  test.spi_model_master.send_packet(32'h00000000,32'hffff0000);
  test.cg.next(1000);
end


  begin
  test.cg.next(12);

  end
  join

 test.cg.exit;
end




Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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