#!/bin/bash cd L1/tests/jpegdec # jpegdec is an example case. Please change directory to any other cases in L1/test if interested make help # show available make command make run CSIM=1 # run C level simulation of the HLS code make run CSYNTH=1 COSIM=1 # run RTL level simulation of the HLS code make cleanall
Test control variables are:
CSIMfor C level simulation.CSYNTHfor high level synthesis to RTL.COSIMfor co-simulation between software test bench and generated RTL.VIVADO_SYNfor synthesis by Vivado.VIVADO_IMPLfor implementation by Vivado.
For all these variables, setting to 1 indicates execution while 0 for skipping.
The default value of all these control variables are 0, so they can be omitted from command line
if the corresponding step is not wanted.
For more information about L1 APIs please have Lab-2: Using L1-level API to evaluate JPEG decoding acceleration.