Perform the following steps to get the .elf file from the AMD 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 XSA file generated with Vivado.
- Select the operating system, processor, and compiler.
- Review the summary, and click Finish.
- After all the platform component is created, navigate back to
the welcome screen, and under , select Create Embedded
Application.
- Select the component name and component 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 the source files, review the summary, and click Finish.
- If skipped in the previous step, to import the source files into
the app component, right-click Sources,
and select .
- Import the required files.
The Math Library is required to build the .elf file successfully.
- Build the project. Select , and when prompted for Platform build, click Yes.
- After the build is complete, check the Output folder for the
.elf file.
- Download the bitstream into the FPGA. Select .
- In the Program Device dialog box, ensure that the Bitstream
field displays the bitstream 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 v_warp_example_design.
- Select .
- Select Binaries and Qualifier, and click OK.