diff options
author | Lowie Deferme <16416567+defermelowie@users.noreply.github.com> | 2024-07-25 16:51:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 15:51:12 +0100 |
commit | 7de3d707b4aee615a565ec1b30c0ae847f176c2f (patch) | |
tree | f5c2a2f80ccb9e4a6cd96bd92a5a777330543467 /model/rvfi_dii.sail | |
parent | 3ad92a485b68aa2fdc8f600e5d59fad5783c3330 (diff) | |
download | sail-riscv-7de3d707b4aee615a565ec1b30c0ae847f176c2f.zip sail-riscv-7de3d707b4aee615a565ec1b30c0ae847f176c2f.tar.gz sail-riscv-7de3d707b4aee615a565ec1b30c0ae847f176c2f.tar.bz2 |
Make mtime writable
According to the priv. spec. mtime should be readable & writable:
> Platforms provide a real-time counter, exposed as a memory-mapped machine-mode read-write register, mtime.
However, the model currently does not allow writes to mtime. This commit modifies clint_store in order to support writes to the mtime memory-mapped register.
Diffstat (limited to 'model/rvfi_dii.sail')
0 files changed, 0 insertions, 0 deletions