Usage, Options, Description – Altera Quartus II Scripting User Manual
Page 600: Example, Run –470

3–470
Chapter 3: Tcl Packages & Commands
stp
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
run
Usage
run [-check] [-data_log ] [-device_name
[-trigger
Options
-check: Option to check with last compilation result
-data_log : Name of data log to be recorded
-device_name
Tcl command, get_device_names, can be used to obtain the valid hardware names
-hardware_name
specified in the stp file. Tcl command, get_hardware_names, can be used to obtain the
valid hardware name
-instance
-signal_set
-timeout
-trigger
Description
Starts data acquisition with the specified conditions in the session and saves data into the specified data
log within the timeout period.
The "-check" option indicates whether to compare the data acquisition conditions with the last compilation
result.
Example
#opens signaltap session
open_session -name stp1.stp
#capture data to log named log1, timeout after 5 seconds if no trigger
# occurs
run -instance auto_signaltap_0 -signal_set signal_set_1 -trigger \
trigger_1 -data_log log_1 -timeout 5
#close signaltap session
close_session