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.
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |