User guide
16-13
SWIFT VMC Models and SmartModels
Note:
VCS does not support two-dimensional windows for memory
models and therefore has not implemented other LMTV window
commands.
Entering Commands Using the SWIFT Command
Channel
As an alternative to using the LMTV window commands, you can use
the SWIFT command channel to pass commands to a SmartModel
or a VMC model.
The command channel works by assigning these commands and
toggling the values of command channel regs declared in the Verilog
template file. The regs to which you assign these values are as
follows:
Reg Description
cmd$str
The reg to which you assign the command
do$model$cmd
When you assign a value of 1 to this reg, the model
executes all Model, SmartBrowser, and LMTV
commands assigned to reg cmd$str.
do$session$cmd
When you assign a value of 1 to this reg, the model
executes all Session commands assigned to reg
cmd$str.
log$file
The reg to which you assign a logfile name. The model
writes to this logfile when log$on has a value of 1.
log$on
When you assign a value of 1 to this reg you enable the
model to write to the logfile you assigned to reg
log$file.