Forum Discussion
1 Reply
- JohnT_Altera
Regular Contributor
Hi,
Yes, it is possible to run SignalTap using TCL file. In order to run SignalTap then you will need to enable the STP package.
You can get the information on the Quartus Scripting information from https://www.intel.cn/content/dam/altera-www/global/zh_CN/pdfs/literature/manual/tclscriptrefmnl.pdf
The data will be save in STP file and you will need to manually export the data to csv file using Quartus STP GUI.
Below is the example of programming sof file in the device.
qexec "quartus_pgm -c 1 -m JTAG -o design.sof"
Below is the example of TCL example of running the SignalTap Session.
#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