Download Simulator Configuration Guide for Synopsys Models
Transcript
Simulator Configuration Guide L Appendix B: LMTV Command Reference $lm_load_file() or $lai_load_file() Use these commands to load the memory contents of the file filename into the instance inst_path, which can be either a programmable device or a memory model. Using these commands 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 simulation startup conditions and then read the specified file. After the file is read, the model is evaluated as a function of the new internal state and the current inputs and outputs are scheduled with zero delay. After this initial evaluation phase, the model behaves as it would normally. You can load a model with any file type that would normally be accepted by the model at initialization. Additionally, the new configuration file you load is used for the specified 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”] ); Arguments inst_path The path name to the SmartModel instance into which the contents of filename is to be loaded. filename The path name to the configuration file that is to be loaded for the model instance specified by inst_path. The default is to use a path name defined with the defparam statement in the design. file_type The type of file to be loaded. Allowed values are MEMORY, JEDEC, PCL, and SCF. The default is to use the file type of the file defined with the defparam statement in the design. July 31, 2001 Synopsys, Inc. 285