Get_simulation_time, Usage, Options – Altera Quartus II Scripting User Manual
Page 492: Description, Example, Get_simulation_time –362
Advertising
3–362
Chapter 3: Tcl Packages & Commands
simulator
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_simulation_time
Usage
get_simulation_time
Options
None
Description
Returns the amount of time, in nanoseconds, that the current simulation has been running.
Example
project_open lelut
initialize_simulation
# Simulate the design until the it is complete
run_simulation -time 10ns
puts "Current time is [get_simulation_time] nanoseconds"
run_simulation
project_close
Advertising