Intel® Quartus® Prime Standard Edition User Guide: Debug Tools

ID 683552
Date 9/24/2018
Public
Document Table of Contents

5.12.2. Data Capture from the Command Line

The quartus_stp executable supports a Tcl interface that allows you to capture data without running the Intel® Quartus® Prime GUI.
Note: You cannot execute Signal Tap Tcl commands from within the Tcl console in the Intel® Quartus® Prime software.

To execute a Tcl script containing Signal Tap Logic Analyzer Tcl commands, use:

quartus_stp -t <Tcl file>

Continuously Capturing Data

This excerpt shows commands you can use to continuously capture data. Once the capture meets trigger condition e, the Signal Tap Logic Analyzer starts the capture and stores the data in the data log.

#  Open Signal Tap session
open_session -name stp1.stp

###  Start acquisition of instances auto_signaltap_0 and
###  auto_signaltap_1 at the same time

# Calling run_multiple_end starts all instances
run_multiple_start

run -instance auto_signaltap_0 -signal_set signal_set_1 -trigger \
trigger_1 -data_log log_1 -timeout 5
run -instance auto_signaltap_1 -signal_set signal_set_1 -trigger \
trigger_1 -data_log log_1 -timeout 5

run_multiple_end

# Close Signal Tap session
close_session