In vivado, through TCL scripting , I can sequence the below process in hardware manager,
- Download the bit file and debug probe file
- set the trigger option for signals in chipscope window
- capture the data after the trigger
- save it as in csv format
Similar to vivado, Am trying to automate the above sequence in quartus using TCL script/console. But am unable to find the equivalent tcl package. Is it feasible to do the four process in quartus through TCL?
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
run -instance auto_signaltap_0 -signal_set signal_set_1 -trigger \ trigger_1 -data_log log_1 -timeout 5
#close signaltap session