Running - Running - 2026.1 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 English
# Single input / single output
din  = va.array(np.arange(1, 9, dtype=np.int32))
dout = kernel.run(din)

# Multiple ports
out1, out2 = kernel.run(in1, in2)

# List form
outs = kernel.run([in1, in2])

# 2-D varray → each column maps to one input port (multi-port only)
matrix = va.array(np.arange(6).reshape(3, 2), dtype=va.int32)
out1, out2 = kernel.run(matrix)

For a single-input component, 1-D, column (N, 1), and row (1, N) inputs all produce the same kernel output. The data is flattened to a 1-D byte stream before simulation.