Forum Discussion

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

Signaltap

I am trying to debug the signals on a ALTERA Stratix IV chip.

I generated a signaltap using windows and then placed the file in the linux run script using

set_global_assignment -name SIGNALTAP_FILE /home/a.stp

set_global_assignment -name ENABLE_SIGNALTAP ON

set_global_assignment -name USE_SIGNALTAP_FILE a.stp

The synthesis run is good .

I programmed the chip using the sof file but I cannot see anything in the analyzer.

The blue light on the Terasic USB blater is always off and is on only intermittently when I click on "Read Data" or "run analysis"

The analyzer shows JTAG communication error when I run the analysis or cannot find instance message.

Scan chain shows the device properly.

Is the procedure of adding the file using the script shown above is correct?

3 Replies

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

    did you recompile after you setup signal tap?

    Signaltap has two major windows, the setup window and the data window

    1) Check in the setup window to make sure your signal are in from whatever script you are running . If the signal are there choose a trigger signal and an edge to see any result in the data windows

    2)the blue light will come on when you are connected and running signal tap, so what you are seeing is normal
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There is a Tcl script it does all the compilation and PAR stuff. It runs quartus_sh. I have just placed the above lines (ENABLE_SIGNALTAP_ON) into the file.

    Both the windows dont have any activity.

    I get the "instance not found" ,"JTAG communication error" and "Download the correct SRAM Object File". I can see the signaltap signal in the synthesis log.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    There is a Tcl script it does all the compilation and PAR stuff. It runs quartus_sh. I have just placed the above lines (ENABLE_SIGNALTAP_ON) into the file.

    Both the windows dont have any activity.

    I get the "instance not found" ,"JTAG communication error" and "Download the correct SRAM Object File". I can see the signaltap signal in the synthesis log.

    --- Quote End ---

    Hi,

    only to check whether signaltap is include correctly:

    Start Quartus directly and open and open the project.

    Look under : Assignments -> Settings -> Signaltap II Logic Analyzer:

    Is it enabled and the right signaltap file selected ?

    If not, select signaltap and the file and re-run Quartus.

    Kind regards

    GPK