Because there is no HLS kernel in the ADF graph, the system.cfg
file, which is used to determine connectivity, needs to reflect the new AI Engine interfacing.
Open the
system.cfg
file and thesc
options and note that there are two lines specific to thepolar_clip
kernel. Note that the name of the interfaces are the same as defined previously in the code snippet for thegraph.h
file where the first parameter of the PLIO object is instantiated.[connectivity] sc=mm2s_1.s:ai_engine_0.DataIn1 sc=ai_engine_0.clip_in:polar_clip_1.in_sample sc=polar_clip_1.out_sample:ai_engine_0.clip_out sc=ai_engine_0.DataOut1:s2mm_1.s
Close
system.cfg
.Build the emulation design using the following command:
v++ -l --platform <path_to_platform/platform.xpfm> s2mm.xo mm2s.xo polar_clip.xo libadf.a -t hw_emu --save-temps -g --config system.cfg -o tutorial.xsa
or
make xclbin