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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: Using VCS with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>Run your simulation as usual. After running the vcs compiler, you should see acompiled simv file. To run your simulation, type in simv.You need an additional passcode to use the hardware model interface. If you do not havea passcode, contact VCS Simulation Support at 800-837-4564.VCS UtilitiesIf you want to turn on test vector logging or timing measurement, you can invoke tasks'lm_log', 'lm_log_off', 'lm_measure_time', or 'lm_measure_time_off'.instance_name.lm_measure_time;instance_name.lm_measure_time_off;where instance_name is a string that is the hierarchical path name of the instance <strong>for</strong> thehardware model. For example, assuming that our instance is top.hwm_1 with thesefeatures, it would look like the following example:module top;TILS299 hwm_1();initial begintop.hwm_1.lm_measure_time;top.hwm_1.lm_log ("file_name");#7000;endtop.hwm_1.lm_measure_time_off;top.hwm_1.lm_log_off;58 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!