Link the SystemC model XO file by adding the kernel to the
v++ --link
command line:
v++ --link --platform <platform> --target hw_emu \
--config ./vadd.cfg --input_files ../vadd.xo --output ../vadd.link.xclbin \
--optimize 0 --save-temps --temp_dir ./hw_emu
The SystemC model can be used for both software emulation and hardware emulation, but is not supported for hardware build targets.
When a SystemC model is included in the xclbin
, the design is no longer clock cycle accurate due to the
limitations of the TLM.