Modifying the Example Program - 2.0 English

RFSoC DFE PRACH LogiCORE IP Product Guide (PG391)

Document ID
Release Date
2.0 English

The run_vitis.tcl script is provided to create an AMD Vitis™ project and generate an ELF file for use with QEMU. The C source code provided for the AMD Vitis™ project is the same as that used to generate the default, configuration-agnostic ELF file that is delivered with the example design. The script should be run through the AMD Vivado™ Tcl console using the command source run_vitis.tcl.

Vitis console outputs are displayed in the terminal window from which Vivado is launched.

The Vitis project is created in the vitis_workspace directory within the example design project's root directory. Once this script has run and the Vitis project has been generated, it is recommended to use the Vitis GUI for subsequent C code updates.

To launch QEMU using a custom ELF file generated in this way, use the command source run_qemu_custom.tcl instead of the default Tcl script when preparing to launch a simulation.