blob: 79de965898da93de139aa4130e09a102a9e65fa2 [file] [log] [blame] [view]
# Kelvin
Kelvin is a RISC-V32IM core with a custom instruction set.
![Kelvin block diagram](doc/images/arch.png)
More information on the design can be found in the
[overview](doc/overview.md).
## Building
Kelvin uses [bazel](https://bazel.build/) as it's build system. The Verilated
simulator for Kelvin can be generated using:
```bash
bazel build //tests/verilator_sim:core_sim
```
The verilog source for the Kelvin core can be generated using:
```bash
bazel build //hdl/chisel:core_cc_library_emit_verilog
```
Verilog source for the Matcha SoC can be generated using:
```bash
bazel clean --expunge # To generate the ToT sha
bazel build //hdl/chisel:matcha_kelvin_verilog
```