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.

Appendix A: Using LMTV with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>$lm_command() or $lai_command()These commands provide access to the SWIFT command channel. You can use them tosend a command to the session or to a model instance.Syntax$lm_command ( “session_cmmd_string” );$lm_command ( inst_path, “model_cmmd_string” );$lai_command ( “session_cmmd_string” );$lai_command ( inst_path, “model_cmmd_string” );Argumentssession_cmmd_stringinst_pathmodel_cmmd_stringThe SWIFT interface command to be sent to thesession.The path name to the SmartModel instance to send thecommand to. Used only with model commands.The SWIFT interface command to be sent to the modelinstance.For more in<strong>for</strong>mation about the SWIFT command channel, refer to “The SWIFTCommand Channel” on page 21.ExamplesThe following example sends the ReportStatus command to the instance “U1”, causingit to generate a message reporting its configuration status.% $lm_command ( "U1", "ReportStatus" );The following example sends the TraceTimeFile off command to the session, causing itto stop issuing trace messages. Note that the absence of an instance name identifies thecommand as session-specific.% $lm_command ( "TraceTimeFile off" )272 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!