Obtaining the .elf File - 1.1 English - PG396

Video Warp Processor LogiCORE IP Product Guide (PG396)

Document ID
PG396
Release Date
2025-07-09
Version
1.1 English

Perform the following steps to get the .elf file from the AMD Vitis™ software platform.

  1. Open the Vitis application, and select Get Started > Set Workspace.
    Generated by Your Tool
  2. Create the platform component. Select Embedded Development > Create Platform Component.
  3. Enter the component name and location, and click Next.
    Generated by Your Tool
  4. Browse and select the hardware XSA file generated with Vivado.
    Generated by Your Tool
  5. Select the operating system, processor, and compiler.
    Generated by Your Tool
  6. Review the summary, and click Finish.
  7. After all the platform component is created, navigate back to the welcome screen, and under Embedded Development > Create Embedded Application, select Create Embedded Application.
    Generated by Your Tool
  8. Select the component name and component location, and click Next.

  9. In the Hardware tab, select the required platform, and click Next.
    Generated by Your Tool
  10. From the list of available domains, select your domain.
    Generated by Your Tool
  11. (Optional) Add the source files, review the summary, and click Finish.
  12. If skipped in the previous step, to import the source files into the app component, right-click Sources, and select Import > Files.
    Generated by Your Tool
  13. Import the required files.
    Generated by Your Tool

    The Math Library is required to build the .elf file successfully.


    Generated by Your Tool
  14. Build the project. Select Flow > Build, and when prompted for Platform build, click Yes.
    Generated by Your Tool
  15. After the build is complete, check the Output folder for the .elf file.
    Generated by Your Tool
  16. Download the bitstream into the FPGA. Select Vitis > Program Device..
  17. 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.
  18. 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.
  19. In the Explorer panel, select and right-click v_warp_example_design.
  20. Select Run As > Launch on Hardware (GDB).
  21. Select Binaries and Qualifier, and click OK.