Forum Discussion

alexislms's avatar
alexislms
Icon for Contributor rankContributor
3 years ago
Solved

[SignalTap] How to always keep the latest trigger until I stop the acquisition?

How to always keep the latest trigger until I stop the acquisition? I need to see the latest trigger that has happened when I stop manually the acquisition. For example, I have a signal that goe...
  • alexislms's avatar
    alexislms
    3 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,