Advanced Trigger - 2021.2 English

Vivado Design Suite User Guide: Programming and Debugging

Document ID
UG908
Release Date
2021-10-22
Version
2021.2 English

You can compare values using enumeration in the Advanced Trigger State Machine scripts as in the following example.

state my_state0:
 if (fast_ila_slice5_fb == 5'eFIFTEEN) then
   set_flag $flag1;
   goto my_state0;
 elseif (fast_ila_slice5_fb == 5'eTWELVE) then
   trigger;
 else
   clear_flag $flag1;
   goto my_state0;
 endif