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.

Chapter 5: Using NC-Verilog with <strong>Synopsys</strong> <strong>Models</strong><strong>Simulator</strong> <strong>Configuration</strong> <strong>Guide</strong>$lm_timing_measurements Command ReferenceThe $lm_timing_measurements command enables timing measurements <strong>for</strong> a specifiedmodel instance. It is not supported <strong>for</strong> ModelSource 3200 and 3400.Syntax$lm_timing_measurements (“instance_path”, on_off, “filename”)Argumentsinstance_pathon_offfilenameSpecifies the pathname of the model instance <strong>for</strong> which timingmeasurement is to be enabled or disabled.Indicates whether test vector logging is to be enabled ordisabled. Allowed values are 1 to enable logging, or 0 (thedefault) to disable logging.Specifies the file name to be used <strong>for</strong> the test vector log.DescriptionThe $lm_timing_measurements command enables timing measurement <strong>for</strong> a specifiedmodel instance. By default, timing measurement is not per<strong>for</strong>med. Instead, thehardware modeler uses the delay values provided in the .DLY file in the Shell Software.When timing measurement is enabled, the hardware modeler returns to the simulatorand logs to the specified file the actual delays measured from the device.ExampleThe following example enables timing measurements <strong>for</strong> the”U1” model instance andsaves the timing measurement log in the “U1.log” file.$lm_timing_measurements ( “Tbench.U1”, 1, “U1.log”);102 <strong>Synopsys</strong>, Inc. October 6, 2003

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

Saved successfully!

Ooh no, something went wrong!