Download ModelSim EE/SE User's Manual
Transcript
Simulator state variables Variable Result Now returns the current simulation time expressed in the current time resolution, i.e., 1000 ns now returns the current simulation time as an absolute number of time steps, i.e., 1000 resolution returns the current simulation time resolution Referencing simulator state variables Variable values may be referenced in simulator commands by preceding the variable name with a $ sign. For example, to use the now and resolution variables in an echo command type: echo "The time is $now $resolution." Depending on the current simulator state, this command could result in: The time is 12390 10ps. If you do not want the dollar sign to denote a simulator variable, precede it with a "\". For example, \$now will not be interpreted as the current simulator time. ModelSim EE/SE User’s Manual ModelSim Variables B-421
Related documents
Notes - Read
HP Model Sim EE User's Manual
Model Technology Model Sim EE Technical data
ModelSim User's Manual - Electronics and Computer Science
FLI function definitions
Model Technology Model Sim EE Technical data
ModelSim SE User`s Manual
How to use Modelsim tools.
Model Technology Model Sim EE Technical data
Model Technology Model Sim EE User`s manual
Paper
Model Technology Model Sim EE Technical data