This repository holds an example of OmpSs@FPGA and DFiant integration for the LEGaTO EU Horizon 2020 project.
-
You are required to have a Xilinx Zedboard.
-
OmpSs @ FPGA Installation. Follow instructions of its user-guide.
-
Scala Build Tool (SBT) Installation. Follow instruction of its user-guide.
-
Locally clone this repo via:
git clone https://github.com/DFiantHDL/ompss_integration.git
-
Run
make
under theompss_loopback
folder. A new Vivado project will be created to that relies on existing Vivado HLS and OmpSs integration. -
Run
sbt run
under thedfiant_loopback
folder. The dfiant project will generate an alternativeloopback_moved.vhdl
to be used as replacement for the one generated in the OmpSs build process. -
Replace the
loopback_moved.vhdl
inside the Vivado project (as a VHDL 2008 file) and rebuild the project to generate an updated bitstream file. -
Stream the bitstream into your FPGA and run OmpSs on the Zync. The program should run with no errors.
(for the final integration we will attempt to automate these steps)