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>Chapter 7: Using QuickSim II with <strong>Synopsys</strong> <strong>Models</strong>Registering a Model with lm_modelAll hardware models, whether user-created or purchased from <strong>Synopsys</strong>, must beregistered with the lm_model utility be<strong>for</strong>e you can use them in the QuickSim IIsimulation environment. The following list shows the basic steps involved in preparinga hardware model <strong>for</strong> simulation:1. Running the lm_model Utility, discussed next.2. Checking the Transcript <strong>for</strong> any errors or warnings.3. Editing the Symbol to meet any additional symbol conventions (optional).4. Verifying the Technology File(not required if Shell Software timing files are used inplace of this file; <strong>for</strong> more in<strong>for</strong>mation, refer to “Timing Shell Selection” onpage 179).Running the lm_model UtilityYou can use the lm_model shell command to register a hardware model. To runlm_model, use the following syntax.Syntaxlm_model input_dir [output_path] [-Dir name] [-LAbel label][-Mdl mdl_filename] [-Step Register|Symbol|Timing|Update] [-Replace]For a complete description of lm_model syntax and options, refer to “lm_modelCommand Reference” on page 185.ExampleThe following example shows how you might register a 74LS74 model which has amodel file named 74LS74A.MDL. This example assumes that $MGC_WD is set to/user/models, which contains a Shell Software directory called 74ls74.lm_model 74ls74 -m 74LS74AThis command creates a /user/models/74LS74 component directory—if one did notalready exist—containing the files shown in Table 25.Table 25: Sample Component DirectoryFile74LS74A.rss_174LS74A.mgc_lm.attrpart.part_1DescriptionRegistered Shell SoftwareCompiled and registered Shell SoftwareEDDM partOctober 6, 2003 <strong>Synopsys</strong>, Inc. 171

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

Saved successfully!

Ooh no, something went wrong!