Technical data
virtual function
CR-186 ModelSim Commands ModelSim EE/SE Command Reference
a_01, a_00} } a
virtua
l function { | (gate:/chip/a XOR rtl:/chip/a) } a_err
virtual function { | (gate:/chip/b XOR rtl:/chip/b) } b_err
...
virtual function { a_err OR b_err OR c_err .... } any_error
To find the differences, you can do any of the following:
a) Add "any_error" to the wave window and tab to the transitions
b) Use the "searchLog" command to print out the time/delta of the first error:
searchLog {0 ns} any_error
(See the "searchLog" command description below.)
c) Trigger the list window from the "any_error" signal. This will enable you to
see in the list window ONLY the times at which errors occur. For example:
configure list -usegating 1
configure list -gateexpr { any_error == ’1’ }
(A future release will make signal comparison more automatic to set up and will
allow comparisons at specified sampling points in time.)
Commands fully compatible with virtual functions
add list (CR-22) add log /log (CR-93) add wave (CR-33)
checkpoint (CR-53) delete (CR-62) describe (CR-63) ("virtual describe" is
a little faster)
down | up
(CR-70) examine (CR-81) find (CR-85)
restart (CR-133) restore (CR-134) right | left (CR-136)
search and next (CR-141) searchLog (CR-144) show (CR-148)