#!/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 emulationhw_emu
is for hardware emulationhw
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.