Build and Emulate with Vitis - 2022.2 English

Vitis Tutorials: Hardware Acceleration (XD099)

Document ID
XD099
Release Date
2022-12-01
Version
2022.2 English

For each module of this tutorial, Vitis can be run via the GUI or at the command line (more efficient in the context of this tutorial):

Click to expand! (Vitis GUI instructions)

Using Vitis via the GUI

TIP: when following the links below, use right-click “open in another tab” to avoid losing the context for these instructions…

  1. Open a terminal

  2. Setup and launch Vitis

  3. “File” menu -> “Import…” (image)

  4. Accept the default of the Vitis project exported zip file and click “Next” (image)

  5. Click “Browse” on the next window and navigate to the ./docs/module1_baseline/project directory (image)

  6. Select the vitis_export_archive.ide.zip and click “Okay” (image)

  7. Next window click “Finish” (image)

Setting up the Platform

  1. On the center window pane, click on the triple dot icon […] right after the platform link (image)

  2. Navigate to specify the platform accessible from your system

Building and Emulating the Design

Notice the “Assistant” window pane with its 3 main flow steps

  1. Emulation-SW: to validate the design at the functional level

  2. Emulation-HW: compile the kernel into a cycle accurate representation to better gauge metrics

  3. Hardware: to launch the full compilation and generate a bitstream

Run the software emulation (takes a couple of minutes)…

Run the hardware emulation (takes between 10 to 20 minutes)

Once hardware emulation has completed, go to the Vitis Analyzer section below…

OR

Click to expand! (instructions for make)