commit | f241813f4c0fe1a4f807cffc2c338c51b8af3718 | [log] [tgz] |
---|---|---|
author | Derek Chow <derekjchow@google.com> | Fri Feb 23 15:28:46 2024 -0800 |
committer | Derek Chow <derekjchow@google.com> | Fri Feb 23 15:45:51 2024 -0800 |
tree | d1bb80b9e5bfc26906266a58f9159489087db977 | |
parent | d7e573dca472eebc2d261d5990055764efa20d81 [diff] |
Add building instructions for ChAI. Change-Id: Id5c6799ddf35e6c8cd1395057824298a79e1f1e0
Kelvin is a RISC-V32IM core with a custom instruction set.
More information on the design can be found in the overview.
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