Parameterize Kelvin over instructionLanes

- Many things in Kelvin were hard-coded to operate on 4 instruction lanes -- refactor those to be flexible based on the instructionLanes value in Parameters

Change-Id: I1957d87b6f355d815380a88c28d210c1c8eec737
26 files changed
tree: 7764d743bb3cde6eb3576b82ca5edf7d14e60ad4
  1. doc/
  2. external/
  3. hdl/
  4. lib/
  5. rules/
  6. tests/
  7. third_party/
  8. utils/
  9. .bazelrc
  10. .bazelversion
  11. .gitignore
  12. CONTRIBUTING.md
  13. LICENSE
  14. PREUPLOAD.cfg
  15. README.md
  16. WORKSPACE
README.md

Kelvin

Kelvin is a RISC-V32IM core with a custom instruction set.

Kelvin block diagram

More information on the design can be found in the overview.

Building

Kelvin uses bazel as it's build system. The Verilated simulator for Kelvin can be generated using:

bazel build //tests/verilator_sim:core_sim

The verilog source for the Kelvin core can be generated using:

bazel build //hdl/chisel:core_cc_library_emit_verilog

Verilog source for the Matcha SoC can be generated using:

bazel clean --expunge  # To generate the ToT sha
bazel build //hdl/chisel:matcha_kelvin_verilog