Axis with Optional Fields - Axis with Optional Fields - 2026.1 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 English

When optional fields are enabled, they appear in the display:

Python:

cfg = va.axis(w_user=8, w_id=4, w_dest=4)
arr = va.array(np.array([10, 20, 30], dtype=np.int32), dtype=va.int32, axis=cfg)
arr.tuser[:] = 0xAB
arr.tlast[-1] = 1
print(arr)
int32
[10 20 30]
tlast: [False False  True]
tkeep: [15 15 15]
tstrb: [15 15 15]
tuser: [171 171 171]
tid:   [0 0 0]
tdest: [0 0 0]

Only enabled sideband fields appear in the output. The display always reflects the actual enable_* flags and sideband widths of the axis configuration.