The synthesizeable example design
requires both the Vivado and AMD Vitis™
software platforms.
The first step is to run synthesis, implementation, and bitstream generation in Vivado. After all those steps are done, select . In the window, select Include bitstream, select an export directory and click OK.
The example design files are found in the following Vitis directory: <install_directory>/<release>/data/embeddedsw/XilinxProcessorIPLib/drivers/vprocss_v2_14/examples/
Perform the following to generate the elf file (executable and linkable file) from the Vitis software platform.
- Open the Vitis application,
and select .
- Create the platform component. Select .
- Enter the component name and location, and click Next.
- Browse and select the hardware design XSA file generated with
Vivado.
- Select the operating system, processor, and compiler.
- Review the summary, and click Finish.
- After the platform component is created, navigate to the
welcome panel. In Create Empty Embedded
Application.
, select - Choose the component name and location, and click Next.
- In the Hardware tab, select the required platform, and click
Next.
- From the list of available domains, select your domain.
- (Optional) Add source files, review the summary, and click Finish.
- If you skipped the previous step, import the source files into
the application component. Right-click Sources and select .
- Import the required files.
- To build the project, select Yes.
. When prompted for Platform build, click - After the build completes, check the Output folder for the .elf
file.
- To download the bitstream into the FPGA, select .
- Ensure the Bitstream field shows the file generated by the Tcl
script, and click Program.Note: If the programming is successful, the DONE LED on the board turns green.
- A terminal program (HyperTerminal or PuTTY) is required for UART communication. Open the program, choose the appropriate port, set the baud rate to 115200, and establish a serial port connection.
- In the Explorer panel, select and right-click xv_procss_example.
- Select .
- Select Binaries and Qualifier, and click OK.