Kelvin Behavioral Simulator based on Mpact-Sim

Clone this repo:

Branches

  1. 991c5cb No public description by Alex Van Damme · 12 days ago master
  2. af644d4 Fix LoadImage at 4k boundary by Cindy Liu · 7 weeks ago
  3. b007927 Add minstret / minstreth to Kelvin sim by Alex Van Damme · 4 months ago
  4. b361cf7 No public description by Shodan Team · 4 months ago
  5. 929d9eb Add mcycle / mcycleh to Kelvin sim by Alex Van Damme · 4 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