Enumeration of Probe Values - 2023.1 English

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

Document ID
Release Date
2023.1 English

This feature provides a way to refer to probe values, both during Trigger/Capture Setup to compare values, and in the Waveform window, by symbolic names.

Some common use cases include the following.

  • state machine state values
  • op codes
  • any probe match value, that you want to refer to by name, instead of value.

The process involves entering enumeration name-value pairs and associating them with a probe. The enumeration name-value pair associations are available using Tcl commands and are stored between sessions.

In cases where the mark_debug attribute is used to probe a state register in a state machine with enumerated states, the state enumeration is preserved though implementation, and displayed automatically in the Waveform window.

Figure 1. RTL with State Encoding

Figure 2. State Encoding Preserved and Displayed as a Probe Enumeration in the Waveform Viewer

Probe compare values can be set using enumeration names in the Trigger Setup and Capture Control Setup windows. Probes and their enumeration names corresponding to values can be displayed in the Waveform window as well.