Forum Discussion

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

Weird SignalTap behaviour

Trying to solve a mystery, but after several days ran out of thoughts :(

Needed to connect to SignalTap around 100 (probably, a bit less) signals, and at some moment got very strange picture (attached):

First (upper) signal – directly from PLL, 14.318 MHz frequency

Second signal – inversion of first signal

SignalTap clock – second output of the same PLL, 210MHz

The behavior of the circuit tells me that the signals are absolutely fine (nothing would work if the picture is true).

After removing most of signals to SignalTap (basically, keeping only the mentioned two signals), suddenly everything is OK – no more strange glitches on the picture.

FPGA – Cyclone IV, using DE2-115 board

Any thoughts would be greatly appreciated ! :)

15 Replies

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

    The previous discussion was about unconstraint and possibly too fast Signaltap clock rather than metastability. I explicitly mentioned that metastability won't cause fake signal transitions for stable signals.

    Not knowing any details about your design, it's impossible to relate it to the present discussion.

    I rarely see unexpected behavior of Signaltap. Few cases I remember are failure of trigger or storage qualifier logic with signals asynchronous to the Signaltap clock. I don't remember a case where a known stable signal showed fake transitions, except for situations where the acquired signal couldn't be correctly transferred due to JTAG signal quality issues. In the latter case, I got different recording each time the signal was retransmitted by pressing "read data".
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Metastability was mentioned as one possible cause.

    It is related to the present discussion because it precisely matches OPs behavior.

    I think you are on to something on the data transmission from JTAG as I have observed that the glitches occur in different signals at the same time - so JTAG signal integrity had occurred to me as well. I will try "read data" at my next opportunity.

    Thanks, SysTom

    --- Quote Start ---

    The previous discussion was about unconstraint and possibly too fast Signaltap clock rather than metastability. I explicitly mentioned that metastability won't cause fake signal transitions for stable signals.

    Not knowing any details about your design, it's impossible to relate it to the present discussion.

    I rarely see unexpected behavior of Signaltap. Few cases I remember are failure of trigger or storage qualifier logic with signals asynchronous to the Signaltap clock. I don't remember a case where a known stable signal showed fake transitions, except for situations where the acquired signal couldn't be correctly transferred due to JTAG signal quality issues. In the latter case, I got different recording each time the signal was retransmitted by pressing "read data".

    --- Quote End ---

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

    I tried the reread operation - did not help.

    I'm doubtful JTAG transmission is an unlikely culprit as this only occurs on some builds and when it does happen it fails repeatedly.

    I have noticed that it fails when I push the capture clock frequency. I still don't suspect metastability because the source signal is stable.

    However, when I relax the clock with a lower frequency the problem goes away.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You didn't yet tell if the SignalTap clock is constrained in TimeQuest and free of timing violation reports.

    --- Quote Start ---

    However, when I relax the clock with a lower frequency the problem goes away.

    --- Quote End ---

    What's the frequency range you are talking about? FPGA series?