commit | 08840216b9d655d59110241f6a447256db196383 | [log] [tgz] |
---|---|---|
author | Shodan Team <no-reply@google.com> | Wed Aug 06 00:46:40 2025 -0600 |
committer | Yenkai Wang <ykwang@google.com> | Wed Aug 13 13:14:12 2025 -0600 |
tree | 6cc406fc32017d835a42d359c851c4f0e72a252e | |
parent | 88d5be3735520b982951b7d732477131ba667beb [diff] |
Import of kelvin-sim using copybara. Included changes: - 791543651 Migrate to string_view accessors by Shodan Team <no-reply@google.com> - 791439340 Add a DPI wrapper of kelvin_v2 sim. by Shodan Team <no-reply@google.com> - 775102978 Fix 1 ClangTidyReadability finding: by Shodan Team <no-reply@google.com> - 741099598 LSC: Add load statements for C++ rules by Shodan Team <no-reply@google.com> - 740168451 Used header <cstdint> is not included directly by Shodan Team <no-reply@google.com> PiperOrigin-RevId: 791543651 Change-Id: Ia88827fab81a9d75516964c7553adb8603344c8d
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
sim Simulator implementations | ˪ proto Trace dump protobuf definition. | ˪ renode Renode(https://github.com/renode/renode) integration interface | ˪ test Simulated instruction / Framework function unit tests
To build all targets, run
bazel build //...
Specifically, the simulator standalone binary can be built with
bazel build //sim:kelvin_sim