Download ModelSim PE Reference Manual

Transcript
Commands
compare options
<string> — Specifies the character(s) to be used as a separator between the base bus
name and the bit indication where the default is an underline ( _ ).
•
-tol <time>[<unit>]
(optional) Specifies the default maximum amount of time the test signal edge is allowed to
trail or lead the reference edge in an asynchronous comparison.
You can specify different values for the leading and trailing tolerances using -tolLead and
-tolTrail.
<time> — Any non-negative integer where the default is 0.
<unit> — (optional) A suffix specifying a unit of time where the default is to specify the
current simulation resolution by omitting <unit>. Valid time units are: fs, ps, ns, us,
ms, sec, min, and hr. If <unit> is specified, you must enclose <time> and <unit>
within curly braces ({}).
•
-tolLead <time>[<unit>]
(optional) Specifies the default maximum amount of time the test signal edge is allowed to
lead the reference edge in an asynchronous comparison. Related Tcl variables are
PrefCompare(defaultLeadTolerance) and PrefCompare(defaultLeadUnits).
<time> — Any non-negative integer where the default is 0.
<unit> — (optional) A suffix specifying a unit of time where the default is to specify the
current simulation resolution by omitting <unit>. Valid time units are: fs, ps, ns, us,
ms, sec, min, and hr. If <unit> is specified, you must enclose <time> and <unit>
within curly braces ({}).
•
-tolTrail <time>[<unit>]
(optional) Specifies the default maximum amount of time the test signal edge is allowed to
trail the reference edge in an asynchronous comparison. Related Tcl variables are
PrefCompare(defaultTrailTolerance) and PrefCompare(defaultTrailUnits).
<time> — Any non-negative integer where the default is 0.
<unit> — (optional) A suffix specifying a unit of time where the default is to specify the
current simulation resolution by omitting <unit>. Valid time units are: fs, ps, ns, us,
ms, sec, min, and hr.If <unit> is specified, you must enclose <time> and <unit>
within curly braces ({}).
Graphical representation of tolLead and tolTrail
Reference Signal
Test Signal
tolLead
tolTrail
ModelSim PE Reference Manual, v10.0d
115