Repository that holds the implementation for a VCODE RoCC accelerator.
- SBT
- Scala
- Chipyard
- A working RISC-V toolchain installation
See https://github.com/Constellation-FPGA/notes/blob/main/vcode-rocc-chipyard-setup.org for how to set everything up.
This repository can stand alone for testing. But it should be used integrated with either rocket-chip, or even better, Chipyard.
Many of the modules used have unit tests to verify functionality. SBT is required to run the unit tests.
To test them, you have two options:
$ sbt test
or
sbt:projectRoot> test
Whole-program tests are small C programs which test functionality of the built design for correctness. They must be compiled with a working RISC-V toolchain.
To build the tests:
$ cd tests
$ make
If you do not have $RISCV
set to the root of your RISC-V toolchain installation in your environment, a warning will be printed.