MATLAB - MATLAB - 2026.1 日本語 - UG1864

Vitis Functional Simulation (VFS) ユーザー ガイド (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 日本語

run_aie_simple.m:

% Simple AIE VFS example: stream multiply-by-2 graph.
here = fileparts(mfilename('fullpath'));

myGraph = vfs.aieGraph( ...
    input_file=fullfile(here, "DUT.cpp"), ...
    include_paths=fullfile(here, "src"));

input_data = varray.int32(int32((1:8)'));
output = myGraph.run(input_data);

disp(int32(output));
assert(all(int32(output) == 2 * int32((1:8)')));

次のコマンドを使用して実行します。

cd aie_example
source <Vitis_install_path>/settings64.csh
matlab -batch run_aie_simple