Kelvin Behavioral Simulator based on Mpact-Sim

Clone this repo:

Branches

  1. 84085c1 Import of kelvin-sim using copybara. by Shodan Team · 8 weeks ago master
  2. 991c5cb No public description by Alex Van Damme · 7 months ago
  3. af644d4 Fix LoadImage at 4k boundary by Cindy Liu · 8 months ago
  4. b007927 Add minstret / minstreth to Kelvin sim by Alex Van Damme · 10 months ago
  5. b361cf7 No public description by Shodan Team · 10 months ago

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