This is a work-in-progress for now.
This will be the RISC-V counterpart to the pqm4 library, benchmarking and testing framework.
The pqriscv framework currently targets the VexRiscv implementation of the RISC-V ISA. Dedicated implementations for various FPGAs, as well as a simulator are planned. The framework is, however, setup to potentially support multiple platforms in form of simple board support packages (BSP).
You'll need a suitable GNU toolchain for your RISC-V target, so far the toolchain provided by SiFive (see the "Prebuild RISC-V GCC Toolchain" section) can be used without problems.
The build-scripts require Python >= 3.6
build_everything.py script to build all
exeutables in ELF and binary format. All scripts support the
--platform: Choose the target platform. Currently only
--sub-platform: Choose the sub-platform. Some platforms may have multiple targets, implementations, boards, or similar.
--debug: Compile everything with debug flags.
Currently, no testing akin to pqm4 is supported. You'll have to load the ELF/binary manually onto your target.