Repository
The DP IP-cores and reference design can be downloaded from the Github repository
The repository file structure is listed below:
├─ gateware - Gateware folder
│ ├─ src - Source folder
│ │ ├─ lib - Library
│ │ ├─ app - Application
│ │ ├─ risc-v - RISC-V
│ │ ├─ misc - Miscellaneous
│ │ ├─ pm - Policy maker
│ │ ├─ rx - DP RX
│ │ ├─ tx - DP TX
│ │ ├─ vtb - Video toolbox
│ │ └─ scaler - Scaler
│ ├─ ref - Reference folder
│ │ ├─ amd - AMD
│ │ │ └─zcu102 - ZCU102 evaluation kit
│ │ ├─ intel - Intel
│ │ │ ├─ dk-dev-10cx220 - Cyclone 10 GX development board
│ │ │ └─ dk-dev-10ax115s - Arria 10 GX development board
│ │ └─ lsc - Lattice
│ │ └─ lfcpnx_evn - CertusPro-NX evaluation board
│ └─ syn - Synthesis folder
│ ├─ amd - AMD
│ ├─ intel - Intel
│ └─ lsc - Lattice
└─ software - Software folder
├─ src - Source folder
│ ├─ app - Application
│ ├─ lib - Library
│ └─ vtb - Video toolbox
└─ build - Build folder
└─ bin - Binaries
Reference design
Follow the steps below to build the reference design for both gateware and software components.
Before building the reference design application, you need to install the RISC-V GNU Compiler Toolchain.
You can download the toolchain from the GitHub repository
here
Building the Toolchain
- Clone the GitHub repository.
- Compile the toolchain, which may take some time:
./configure --prefix=/usr/local --with-arch=rv32i --with-abi=ilp32 --without-system-zlib
make -j$(nproc)
This will set up the toolchain in the /risc/ directory, configured for the RV32I architecture and the ILP32 ABI. the cmake command-line the argument GCC points to the Risc-V toolchain, eg: -DGCC=/riscv/bin/riscv32-unknown-elf-
AMD ZCU102 reference design
- Change the directory to the folder gateware/syn/amd
- Run the TCL build script: vivado -mode batch -source .././ref/amd/zcu102/build_proj.tcl
- Change the directory to the folder software/build
- Run the cmake command: cmake ..DVENDOR=AMD -DBOARD=AMD_ZCU102 -DGCC=
- Then run make to build the binaries
Altera Cyclone 10GX reference design
- Change the directory to the folder gateware/syn/intel
- Run the TCL build script: quartus_sh -t .././ref/intel/dk-dev-10gx220/build_proj.tcl
- Change the directory to the folder software/build
- Run the cmake command: cmake ..DVENDOR=INT -DBOARD=INT_C10GX -DGCC=
- Then run make to build the binaries
Altera Arria 10GX reference design
- Change the directory to the folder gateware/syn/intel
- Run the TCL build script: quartus_sh -t .././ref/intel/dk-dev-10sx155/build_proj.tcl
- Change the directory to the folder software/build
- Run the cmake command: cmake ..DVENDOR=INT -DBOARD=INT_A10GX -DGCC=
- Then run make to build the binaries
Lattice reference design
- Change the directory to the folder gateware/syn/isc
- Run the TCL build script: radiant .././ref/isc/lfcpnx_evn/build_proj.tcl
- Change the directory to the folder software/build
- Run the cmake command: cmake ..DVENDOR=ISC -DBOARD=ISC_IFCPNX -DGCC=
- Then run make to build the binaries