Usage, Options, Description – Altera Quartus II Scripting User Manual

Page 600: Example, Run –470

Advertising
background image

3–470

Chapter 3: Tcl Packages & Commands

stp

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

run

Usage

run [-check] [-data_log <data log>] [-device_name <device name>] [-hardware_name
<hardware name>] [-instance <instance>] [-signal_set <signal set>] [-timeout <timeout>]
[-trigger <trigger>]

Options

-check: Option to check with last compilation result

-data_log <data log>: Name of data log to be recorded

-device_name <device name>: Device to use instead of the one specified in the stp file.
Tcl command, get_device_names, can be used to obtain the valid hardware names

-hardware_name <hardware name>: JTAG programming hardware to use instead of the one
specified in the stp file. Tcl command, get_hardware_names, can be used to obtain the
valid hardware name

-instance <instance>: Name of instance that defines data acquisition

-signal_set <signal set>: Name of signal set that defines data acquisition

-timeout <timeout>: Timeout period for data acquisition in seconds

-trigger <trigger>: Name of trigger that defines data acquisition

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

Advertising