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 Tools Installation via Coursier. Follow instruction of its user-guide.
-
For Simulation: Install either GHDL or Modelsim.
-
Locally clone this repo via:
git clone https://github.com/DFiantHDL/ompss_integration.git
Run sbt compile "runMain Sim"
in either loopback
or matmul
demo folders (also supported running: make dfiantSim
).
The makefile is already modified to integrate the DFiant kernel as part of the bitstream build.
-
Run
make
in eitherloopback
ormatmul
demo folders. A new Vivado project will be created to that relies on existing Vivado HLS and OmpSs integration. -
Stream the bitstream into your FPGA and run OmpSs on the Zync. The program should run with no errors.