
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
Komentarze do niniejszej Instrukcji