SDe_J
Occasional Contributor
4 years agoSignaltap tcl scripting: trigger
Hello Intel forum,
I'm trying to use a tcl script to retrieve data from a signaltap instance on my project. I'm using Quartus 20.4 if that helps.
My tcl script looks like this:
# Open Signal Tap session
open_session -name lpGBT_top.stp
### Start acquisition of instances auto_signaltap_0 and
### auto_signaltap_1 at the same time
# Calling run_multiple_end will start all instances
run_multiple_start
run -instance Uplink -data_log log_1 -timeout 5 -trigger trigger_1
run_multiple_end
# Close Signal Tap session
close_session
When I run this, I get this error:
Error (23035): Tcl error: ERROR: Instance, signal set, or trigger does not exist. Make sure the instance, signal set, and trigger exist in the Signal Tap File.
while executing
"run -instance Uplink -data_log log_1 -timeout 5 -trigger trigger_1"
(file "test_stp.tcl" line 23)
My question is, how do I get/set the name of a trigger? Or alternatively, can I capture data without waiting on a trigger?
I've tried it without "-trigger trigger_1" in the "run" command, but I just get a timeout instead.
I've looked at the stp file, and see this line:
<display_branch instance="Uplink" log="USE_GLOBAL_TEMP" signal_set="USE_GLOBAL_TEMP" trigger="USE_GLOBAL_TEMP"/>
which lead me to believe that the trigger name is "USE_GLOBAL_TEMP", but that produces the same error.
In the signaltap gui, I can't find any way to get or set the name of a trigger.
Thank you for your assistance.