Example – Altera Quartus II Scripting User Manual

Page 496

Advertising
background image

3–366

Chapter 3: Tcl Packages & Commands

simulator

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

The option "-ignore_vector_file" is set to Off by default, when the source vector file exists for simulation.
The Quartus II software ignores the source vector file during simulation if the option "-ignore_vector_file"
is set to On. The "-end_time" option is used only when the "-ignore_vector_file" option is set to On. Use
"-pvt_timing_model_type", "-pvt_voltage","-pvt_temperature" to specify an exact PVT timing model. The
option "-pvt_multicorner" is used to indicate simulation to be run with multi-corner PVT timing models.

Example

Example 1

---------
project_open lelut

# Source vector file exists. Initialize Simulator by getting input
# vectors
# from the vector file during simulation
initialize_simulation

# Run simulation with end time from source vector file
run_simulation

project_close

Example 2

---------
project_open lelut

# Ignore source vector file if exists. Honor specified simulation end
# time
initialize_simulation -ignore_vector_file on -end_time 350ns

# Run 350ns simulation
run_simulation

project_close

Example 3

---------
project_open chiptrip

# Run timing simulation with exact PVT timing model
initialize_simulation -pvt_timing_model_type fast -pvt_voltage 1200 \
-pvt_temperature 0

run_simulation

project_close

Example 4

---------
project_open chiptrip

# Run timing simulation with multi-corner PVT timing models
initialize_simulation -pvt_multicorner on

run_simulation

project_close

Advertising