Command to Run L1 cases - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#!/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:

  • CSIM for C level simulation.
  • CSYNTH for high level synthesis to RTL.
  • COSIM for co-simulation between software test bench and generated RTL.
  • VIVADO_SYN for synthesis by Vivado.
  • VIVADO_IMPL for 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.