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_dump_file() or $lai_dump_file()Use these commands to dump the memory contents of the instance inst_path into the filefilename. This works only <strong>for</strong> memory models. If the specified file already exists, it isoverwritten. Using this command eliminates the read cycles required to verify thesuccess of a test.You can reload the dumped file into a memory model using the $lm_load_file()command. The <strong>for</strong>mat of the dumped file is the same as the <strong>Synopsys</strong> memory imagefile <strong>for</strong>mat required by a memory model at initialization.Syntax$lm_dump_file ( inst_path, “filename” [,“file_type”] );$lai_dump_file ( inst_path, “filename” [,”file_type”] );Argumentsinst_pathfilenamefile_typeThe path name to the SmartModel instance whosememory in<strong>for</strong>mation is to be dumped.The path name to the file that is to receive the dumpedmemory in<strong>for</strong>mation from the model instance.The type of configuration file to be dumped. The onlyallowed value is MEMORY, which is also the default.This argument is provided <strong>for</strong> compatibility with thehistoric environment.October 6, 2003 <strong>Synopsys</strong>, Inc. 273

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

Saved successfully!

Ooh no, something went wrong!