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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Appendix A: Using LMTV with <strong>Synopsys</strong> <strong>Models</strong>$lm_load_file() or $lai_load_file()Use these commands to load the memory contents of the file filename into the instanceinst_path, which can be either a programmable device or a memory model. Using thesecommands eliminates the write cycles required to set up the contents of the model.The load_file operation causes the selected model to reset its internal state to simulationstartup conditions and then read the specified file. After the file is read, the model isevaluated as a function of the new internal state and the current inputs and outputs arescheduled with zero delay. After this initial evaluation phase, the model behaves as itwould normally.You can load a model with any file type that would normally be accepted by the modelat initialization. Additionally, the new configuration file you load is used <strong>for</strong> thespecified model instance after any subsequent command to reset or reinitialize.Syntax$lm_load_file ( inst_path [, “filename”, “file_type”] );$lai_load_file ( inst_path [, “filename”, “file_type”] );Argumentsinst_pathfilenamefile_typeThe path name to the SmartModel instance into whichthe contents of filename is to be loaded.The path name to the configuration file that is to beloaded <strong>for</strong> the model instance specified by inst_path.The default is to use a path name defined with thedefparam statement in the design.The type of file to be loaded. Allowed values areMEMORY, JEDEC, PCL, and SCF. The default is touse the file type of the file defined with the defparamstatement in the design.October 6, 2003 <strong>Synopsys</strong>, Inc. 275

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

Saved successfully!

Ooh no, something went wrong!