12.07.2015 Views

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

Simulator Configuration Guide for Synopsys Models

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Chapter 1: Using <strong>Synopsys</strong> <strong>Models</strong> with <strong>Simulator</strong>sThe SWIFT Command ChannelThe SWIFT interface specification requires that simulator vendors include a minimalcommand interface to the SmartModel Library. This interface is called the commandchannel. The command channel supports several types of commands:● “Model Commands” on page 21● “Session Commands” on page 21Model CommandsModel commands affect only a selected model instance. Following is a list of themodel commands:DumpMemory output_fileDumps the current memory image of a model to the specified output file. Ifoutput_file exists, it is overwritten; otherwise, a new file is created.ReportStatusPrints a message that describes the configuration status of a model.SetConstraints ON | OFFEnables or disables timing constraint checks <strong>for</strong> a model. By default, models check<strong>for</strong> and warn of timing constraints.NoteSome simulator vendors supply additional interfaces to the DumpMemory,ReportStatus, and SetConstraints capabilities.Session CommandsSession commands act on all models in the simulation session. You can enable sessioncommands by setting the LMC_COMMAND environment variable. Here is an examplethat enables tracing of timing files and model versions, followed by a list of all thesession commands.% setenv LMC_COMMAND "TraceTimeFile on;TracePath ON"NoteThe session command strings are case-insensitive, as illustrated above(ON and on are equivalent).TraceTimeFile ON | OFFEnables or disables trace messages that list the timing files loaded at simulationstartup. The default is OFF.October 6, 2003 <strong>Synopsys</strong>, Inc. 21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!