Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21615 Discussions

signal tap console output

Altera_Forum
Honored Contributor II
2,927 Views

Dear All, 

i'd like to use signal tap analyser to grab the internal data from the FPGA and use them for further processing (2ksamples of 14bit adc data to produce average, standard deviation and FFT for debugging purposes). is there any way how to run the signal tap trigger and display the data on the console (or in the file) so I could easily parse them (something like "create signal tap list file") in e.g. python. the best would be if it is possible to trigger the signal tap directly from python and via stdin pipe get the data and process them. I've read 'How to Create SignalTap II List File with console command?' topic so I understood that the only way is to pass via sort of tcl script which will do it for me, however the produced stp file is not really what i want as it is not easily readable.... 

 

any hint would be greatly appreciated... 

thanks 

david
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,778 Views

www.altera.com/literature/manual/tclscriptrefmnl.pdf 

 

In section 3. Tcl Packages & Commands :: stp 

 

You have commands: 

close_session 

open_session 

run 

run_multiple_end 

run_multiple_start 

stop 

 

Each of these can be called from tcl scripts. 

The run command has a output to a log file. 

I don't know what the format of that log file is, but you can probably take that file and parse it somehow. 

 

Hope this helps. 

 

Kevin
0 Kudos
Altera_Forum
Honored Contributor II
1,778 Views

Or maybe just play with this thread, as it is the same thing... 

http://alteraforums.com/forum/showthread.php?t=3558
0 Kudos
Altera_Forum
Honored Contributor II
1,778 Views

well, that's exactly the point. these commands generate stp file which one 'could' parse. however this file is some sort of XML with very unclear format. that's why i've asked whether there is a way how to generate file similar to the one produced by 'create signal tap II list file', which is exactly the format i'm looking for... 

 

thanks 

anyways
0 Kudos
Altera_Forum
Honored Contributor II
1,778 Views

Wow. Definately did not read your whole post, just the first part. Had i read your whole post probably wouldn't have responded cause i just told you what you already knew. Besides using the export inside the stp console, which would give you a csv file or any other format you want, i don't know how to do it without using the gui. Sorry. 

 

kevin
0 Kudos
Altera_Forum
Honored Contributor II
1,778 Views

Hi  

Someone can help me ,i compile my design and choose few signal to SignalTap and select all with trigger enable. 

When i want to see the ST with trigger only on one of them i need to recompile the project .What i can do ?
0 Kudos
Reply