Step 5: Running System Run
- To compile for a System Run, run the following
command:
make check TARGETS=hw_emu DEVICES=xilinx_kcu1500_dynamic_5_0
Note: Building for System could take a long time depending on computer resources. - Once the build is complete, prepare the board installation by
using the following
command:
xbinst --platform xilinx_kcu1500_dynamic_5_0 -z -d .
Where:
--platform, the platform to be used by the design -z, archive the board installation files for deployment -d, the destination directory to use (Required)
- Once complete, a folder called xbinst is created that contains all the files and scripts needed to deploy the design. To do this, run the install.sh script. The script installs the appropriate libraries, and firmware, and creates a setup.sh to be used to setup the runtime environment.
- Run setup.sh to prepare the
runtime environment.Note: Running setup.sh requires elevated permissions.
- With the System Run completed, you can re-run this in emulation
if desired. Re-run the follow
command:
make check TARGETS=hw_emu DEVICES=xilinx_kcu1500_dynamic_5_0
Note: Running this command with theTARGET
set tohw
results in a runtime error on locating a platform.As in the earlier step, the following reports are generated: profile summary, timeline trace, and system estimates.
Use the following commands to convert the profile summary and timeline trace into files that SDx can read:sdx_analyze profile sdaccel_profile_summary.csv sdx_analyze trace sdaccel_timeline_trace.csv