Viewing Data from Buffer Port Interfaces - Viewing Data from Buffer Port Interfaces - 2026.1 English - UG1702

Vitis Reference Guide (UG1702)

Document ID
UG1702
Release Date
2026-06-23
Version
2026.1 English

The following illustrates how to view the value of data passing through the kernel during debug. You can trace through objects and observe data stored in the designated memory location from the Vitis Unified IDE.

Figure 1. Tracing Data in Vitis unified IDE
  1. Step 1 in the figure shows that the variable cb_input is the reference to input_buffer of type cint16.
  2. In Step 2, move to the cb_input variable in the Variables view. This is the pointer representation of the data access buffer port that holds the input data for the kernel. However, the kernel functions merely operate on pointers that the buffer data structures passed to them as arguments. The input buffer port holds the data. Examine the address of the variable cb_input, which is at address 0x32000.
  3. In Step 3, enable the Memory Inspector window at the top right. Click the + sign to input the address 0x32000.
  4. In Step 4, the Memory window displays the content at address 0x32000. This is the data contained in the data access buffer port defined by the cb_input0 variable.
  5. This example has 16 elements as the margin size and each element is cint16 type, so the actual data starts from 0x32000 + 0x40 = 0x32040. You can examine the data contents and export it to a file. You can also hover your mouse on the hexadecimal values to display it in a specific data format.
Note: You can click the Debug command and drag it from the left side Tool Bar menu to the bottom middle and drop it inside the space where you have the Debug console. This helps in viewing the variables in expanded view by clicking on Arrow button as shown in the following figure. You can drag it back to the left side at any time.
Figure 2. Rearranging Windows