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

Subversion Repositories oms8051mini

[/] [oms8051mini/] [trunk/] [verif/] [tb/] [tb_top.v] - Diff between revs 2 and 4

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 4
Line 363... Line 363...
always @(p2_out or p3_out)
always @(p2_out or p3_out)
begin
begin
  if((p2_out == 8'haa) &&      // fib.c
  if((p2_out == 8'haa) &&      // fib.c
     (p3_out == 8'haa )) begin
     (p3_out == 8'haa )) begin
      $display("################################");
      $display("################################");
      $display("time ",$time, " Passed");
      $display("TEST STATUS : PASSED ");
      $display("################################");
      $display("################################");
      #100
      #100
      $finish;
      $finish;
  end else if(p2_out == 8'h55) begin     // fib.c
  end else if(p2_out == 8'h55) begin     // fib.c
      $display("");
      $display("");
      $display("time ",$time," Error: %h", p3_out);
      $display("time ",$time," Error: %h", p3_out);
 
      $display("TEST STATUS : FAILED ");
      $display("");
      $display("");
      #100
      #100
      $finish;
      $finish;
  end
  end
end
end

powered by: WebSVN 2.1.0

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