Advanced Trigger - 2020.2 English

Vivado Design Suite User Guide: Programming and Debugging (UG908)

Document ID
UG908
Release Date
2020-12-07
Version
2020.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