Forum Discussion
[SignalTap] How to always keep the latest trigger until I stop the acquisition?
- 4 years ago
I got the solution from the Intel Premier Support.
For reference:
It is possible to always keep the latest trigger occurrence by using segmented buffers and State-based trigger using segment_trigger.
Adding 2 conditions, one REAL condition and one FALSE/DUMMY condition.
The FALSE/DUMMY condition is Advanced and the Result is inputted with a Bit Value set to 0.
The State-based state machine looks like this:
if ( REAL_COND ) segment_trigger; else if ( FALSE_COND ) trigger;It internally triggers a segment at a time thanks to segment_trigger at the real condition (falling-edge in my case).
And the false/dummy condition never triggers. It does trigger only when I click on the stop button.
This allows me to always keep the latest trigger occurrence and is a solution to my question.
Regards,
So is the signal in question part of your trigger condition or are you saying that you have some trigger set up not involving this signal, but you want to see what's happening with this signal without adjusting your trigger condition to make use of it?
If you can't change your trigger condition, I guess the best solution would be to use a storage qualifier. You could use the transitional qualifier to capture samples whenever this signal transitions.
If you can change your trigger condition, you could simply trigger on this signal transitioning low. If it had to be after a certain number of times going low, you could use a state-based triggering flow to count how many times it has transitioned low and then trigger at that point.
Maybe a little more detail would help.