Running - Running - 2026.1 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 English
din  = varray.int32(int32(1:8));
dout = kernel.run(din);

% Multiple ports
[out1, out2] = kernel.run(in1, in2);

% Cell array form
outs = kernel.run({in1, in2});

% 2-D input: each column maps to one input port (multi-port only)
M = varray.int32([1, 4; 2, 5; 3, 6]);      % 3x2 -> 2 input ports
[out1, out2] = kernel.run(M);

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