Download Encore SIM EDITOR SOFTWARE User guide

Transcript
Using the CLI to Access the Command Channel
You can also use the CLI to access the command channel during
simulation. For example:
cli_0>
cli_1>
cli_2>
cli_3>
cli_4>
cli_5>
set circuit.model.cmd$str = "show doc";
once #1;
.
set circuit.model.do$model$cmd=1;
once #1;
.
Loading Memories at the Start of Runtime
SmartModel memory models have an attribute called MemoryFile.
You can use this attribute to load the contents of a file into these
memories at runtime. To do so use a defparam statement. For
example:
defparam
test.designinst.modelinst.MemoryFile="mem_vec_file";
Here VCS treats the attribute as if it were a parameter in an instance.
This method enables you to load a memory when simulation starts.
To load a memory after simulation starts use the LMTV window
command $lm_load_file system task. Refer to "Using LMTV
SmartModel Window Commands" on page 16-10.
SWIFT VMC Models and SmartModels
16-15