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 2: Using VCS with <strong>Synopsys</strong> <strong>Models</strong>• lm_sfi.a is the simulator function interface software that links the VCSsimulator to the hardware modeler.• +override_model_delays is a switch that allows you to specify timing otherthan typical.Notethe -RI option is not required to generate the simv file. It is used to have thesimulator automatically execute after compilation.For more in<strong>for</strong>mation on using the .tab/.c files and options with VCS, refer to the VCSUsers's <strong>Guide</strong>.Note that in the previous VCS releases, the hardware model could only be simulatedwith typical delays. The VCS 5.2 release has removed this restriction, so you can noweither use a runtime option on the command line or make the change in the DelayRangeparameter. Note that the runtime option does override any DelayRange parameterspecification. The following excerpt is from the VCS 5.2 Release Notes:“VCS 5.2 has a new runtime option, +override_model_delays that enables you touse the +mindelays, +typdelays, or +maxdelays runtime option to specify timing inSWIFT Smart<strong>Models</strong> or <strong>Synopsys</strong> hardware models and in so doing override theDelayRange parameter in the template files <strong>for</strong> these models that otherwisespecifies the timing <strong>for</strong> the model.”Example Using Runtime OptionHere is an example using the runtime option:% vcs +plusarg_save -RI test.v TILS299.lmvc.v -P $VCS_LMC/lmvc.tab \$VCS_LMC/lmvc.o $LM_SFI/lm_sfi.a +override_model_delays \+maxdelays -l vcs.log &Example Using DelayRange ParameterHere is an example using the DelayRange parameter:TILS299 hwm_1 ( .\SL (shift_left), .\CLK (clock),.\SR (shift_right), .\NCLR (clear),.\-G2 (g2), .\-G1 (g1), .\S1 (select_1), .\S0 (select_0),.\D/QD (bit_4), .\F/QF (bit_6), .\B/QB (bit_2),.\C/QC (bit_3), .\A/QA (bit_1), .\G/QG (bit_7), .\E/QE (bit_5),.\H/QH (bit_8), .\QA (high_bit), .\QH (low_bit) );`ifdef MAXdefparam hwm_1.DelayRange = "MAX" ;`endifOctober 6, 2003 <strong>Synopsys</strong>, Inc. 57

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

Saved successfully!

Ooh no, something went wrong!