No public description

PiperOrigin-RevId: 590731784
5 files changed
tree: ee8d72fe876d3124e5038b02dacbd577a5a6393b
  1. sim/
  2. .bazelrc
  3. .gitignore
  4. BUILD
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
  8. WORKSPACE
README.md

Kelvin Instruction Simulator

This project contains the instruction simulator of Kelvin ML core based on MPACT-Sim and MPACT-RiscV. The simulator supports RISC-V 32im configuration + Kelvin-specific SIMD instructions. Please review ISA Spec for more detail

Project structure

sim         Simulator implementations
  |
  ˪ proto   Trace dump protobuf definition.
  |
  ˪ renode  Renode(https://github.com/renode/renode) integration interface
  |
  ˪ test    Simulated instruction / Framework function unit tests

Build simulator

To build all targets, run

bazel build //...

Specifically, the simulator standalone binary can be built with

bazel build //sim:kelvin_sim