/hls_tutorial_examples

Examples shown as part of the tutorial "Productive parallel programming on FPGA with high-level synthesis".

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Xilinx

After cloning this repository, make sure you clone the hlslib submodule dependency, by executing the following command:

git submodule update --init

To run high-level synthesis, the vivado_hls tool must be available on the commandline. This can be downloaded from the Xilinx website, either as part of the Vivado Design Suite or of SDAccel. Download the tools requires registering a (free) account with Xilinx.

Each example is equipped with a simple makefile, which typically includes the targets synthesis and test. To run high-level synthesis on the code sample, simply run make in the appropriate folder.

Intel FPGA

To run high-level synthesis and generate the performance and utilization report for the Intel FPGA examples, simple makefiles are provided, assuming that the Intel FPGA OpenCL SDK is installed and on the path. Download these tools requires registering a (free) account with Intel.

Makefiles typically includes the targets report and run_test.