Command to Run L2 cases - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#!/bin/bash
cd L2/demos/jpegDec                    # jpegDec is an example case. Please change directory to any other cases in L2/demos if interested.
make help                              # show available make command
make host                              # build the binary running on host
make build                             # build the binary running on Alveo
make run                               # run the entire program
make cleanall

Here, TARGET decides the FPGA binary type

  • sw_emu is for software emulation
  • hw_emu is for hardware emulation
  • hw is for deployment on physical card. (Compilation to hardware binary often takes hours.)

Besides run, the Vitis case makefile also allows host and xclbin as build target.

For more information about L2 APIs please have a look at Lab-3: Using L2-level API to implement a single-kernel acceleration for JPEG decoding.