Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

signal tap console output

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

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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 ?