Altera_Forum
Honored Contributor
14 years agosmart triggering in Quartus' s signal tap
Hello everyone,
I'm trying to detect and correct a possible bug in my firmware, and in order to do this I should set up the ST's trigger in a smart way. I have this two signals (basically a token-in and a token-out between the FPGA and a time-to-digital converter) which at some point, after the state machine is turned on, become inverted, i.e. the token-out happens before the token-in. This obviously causes problems when data are sent. In order to understand the problem, I would need to trigger exactly when the first of these inverted events takes place, so that I can look at the other signals in my ST and see which one behaves badly (the cause can be manyfold, so I added several signals in the ST). What I'd like to do is to trigger "IF this signal (token-in) is up AND after n clock cycles this other signals(token-out) is up". The inverted case must obviously be excluded, otherwise the ST will trigger on regular events, happening as I turn the state machine on. Can anyone tell me how can I obtain such a trigger in the ST's trigger manu (if it is possible)? Thank you! Regards Stefano