open_session (::quartus::stp)

The following table displays information for the open_session Tcl command:

Tcl Package and Version

Belongs to ::quartus::stp 1.0

Syntax open_session [-h | -help] [-long_help] -name <.stp file name>
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values
-name <.stp file name> SignalTap II File (.stp) name
Description
Opens a session from the specified SignalTap(R) II File (.stp).
Example Usage
#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
Return Value Code Name Code String Return
  TCL_OK 0 INFO: Operation successful
  TCL_OK 0 INFO: Session has been opened from SignalTap II File
  TCL_ERROR 1 ERROR: Can't open SignalTap II File for reading. Make sure the SignalTap II File exists and has read permission.
  TCL_ERROR 1 ERROR: Session already open. Close session before attempting to open it again.
  TCL_ERROR 1 ERROR: SignalTap II File contains syntax error. Make sure the SignalTap II File is formatted correctly before opening. Intel recommends that you do not manually edit SignalTap II Files, but use the SignalTap II dialog boxes in the Quartus Prime GUI.