Minimal example for compiling and running a bare-metal program in the CVA6 Development Platform.
To be compiled with the RISC-V toolchain installed with the scripts of OpenHW Group's cva6
repository. A makefile is provided for compilation.
Further details on debugging with OpenOCD here.
Baremetal program for evaluation of the ReLU, 2D Convolution and Bypass configurations. Uses custom macros to access an internal timer for execution timing.
A minimal program to be compiled and then run under Linux as a user process.
To be compiled with the Linux toolchain installed by OpenHW Group's cva6-sdk
repository.
The sx
/ rx
commands are used to transfer the executable to the board, by running rx filename
on the board and make serial
on the host PC.
Loadable Linux Kernel Module for use of the CGRA accelerator from within a Linux user process.
To be loaded with insmod cgra_dma.ko
prior to use.
User process that uses the previous module to execute a series of tasks in the CGRA.
For more information please refer to:
Integration of a CGRA Accelerator with a CVA6 RISC-V Core for the Cloud-edge Continuum. Master Thesis. Juan Granja Garijo. Chapters 3 and 5 (2024)