This project implements a full-featured high-end embedded multicore RISC-V
CPU in Chisel
Chisel is the next generation Hardware Construction Languge Embedded in Scala
This project is a fork from Berkeley/SiFive RocketChip and is supposed for teaching and experimentation purposes.
This will serve as a setup example for other projects and will help newcomers to evaluate RISC-V
and Chisel
as core technologies for your next project
-
Descent machine with at least 4 CPU Cores, SSD and a minimum 8GB memory. 16GB DDR4 RAM is recommended
-
Ubuntu 18.10
or higher. Other OS might work, but won't be supported
- Install Java 11
sudo apt-get install openjdk-11-jre openjdk-11-jdk
-
Install the Scala Build Tool (sbt) from here
-
Install Verilator and GTKWave
sudo apt install build-essential verilator gtkwave
- Install Device Tree Compiler
sudo apt install device-tree-compiler
- Optional - Install a
Visual Studio Code IDE
for a better code experience from here
- Clone a hello world project from Git:
git clone [email protected]:Neurodyne/fusionchip.git
-
Launch the
sbt
shell :> sbt
-
Compile the project :
sbt> compile
-
Emit the whole SoC for the current hardware configuration :
sbt> runMain fusion.Emit
-
Observe generated outputs in the
testbuild
folder