To generate XO file from the SystemC model, use the create_sc_xo
command. This takes the SystemC kernel source
file as input and creates IP that generates the XO, which can be used for linking with
the target platform and other kernels with the Vitis compiler. For example:
create_sc_xo vadd.cpp
Generating an XO file from the source file involves a number of
intermediate steps like generating a Package IP script, and running the package_xo
command. These intermediate commands can be
used for debugging if necessary.
The output of the above create_sc_xo
command is vadd.xo.