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

Subversion Repositories sgmii

[/] [sgmii/] [trunk/] [sim/] [Veritil.v] - Diff between revs 4 and 11

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

Rev 4 Rev 11
Line 6... Line 6...
integer ErrorCode=0;
integer ErrorCode=0;
        initial begin
        initial begin
                ErrorCnt=0;
                ErrorCnt=0;
                ErrorCode=0;
                ErrorCode=0;
        end
        end
 
`define Info(Message) $display("I@(%d):%s",$time,Message);
`define CheckE(Signal,Value,SignalName) if(Signal!==Value) begin \
`define CheckE(Signal,Value,SignalName) if(Signal!==Value) begin \
                                $display("E@(%d): expect %x, actual %x (%s,%s,%d)",$time,Value,Signal,SignalName,`__FILE__,`__LINE__); \
                                $display("E@(%d): expect %x, actual %x (%s,%s,%d)",$time,Value,Signal,SignalName,`__FILE__,`__LINE__); \
                                ErrorCnt=ErrorCnt+1;\
                                ErrorCnt=ErrorCnt+1;\
                                end
                                end
`define CheckF(Signal,Value,SignalName) if(Signal!==Value) begin \
`define CheckF(Signal,Value,SignalName) if(Signal!==Value) begin \

powered by: WebSVN 2.1.0

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