Replacing Axis with a Different Configuration - Replacing Axis with a Different Configuration - 2026.1 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 English
# Python — switch from default to TLAST-only
arr = va.array(data, dtype=va.int32, axis=va.axis())
arr.set_axis(va.axis(enable_tkeep=False, enable_tstrb=False))
% MATLAB — switch from default to TLAST-only
arr = varray.int32([10, 20, 30], axis=varray.axis());
arr.set_axis(varray.axis(enable_tkeep=false, enable_tstrb=false));

When replacing an axis configuration, set_axis() initializes newly enabled sideband fields with defaults, preserves fields that remain enabled, and removes fields that are disabled in the new configuration.