diff options
author | Karthik B K <karthik.bk@incoresemi.com> | 2023-11-04 15:55:21 +0530 |
---|---|---|
committer | Karthik B K <karthik.bk@incoresemi.com> | 2023-11-04 15:55:21 +0530 |
commit | 5bdb9d4d7e8b8e113606446fe64ab7af9c17850a (patch) | |
tree | 0601ff0361a2c515e7d3360b8b14ada81695e2bf /ci-tests | |
parent | 5a1145742e701597eb45825855311dfad21232a6 (diff) | |
download | riscv-isa-sim-5bdb9d4d7e8b8e113606446fe64ab7af9c17850a.zip riscv-isa-sim-5bdb9d4d7e8b8e113606446fe64ab7af9c17850a.tar.gz riscv-isa-sim-5bdb9d4d7e8b8e113606446fe64ab7af9c17850a.tar.bz2 |
expose pmp granularity as a cli option.
PMP Granularity is made available as a command line option. The default
value is 4 Bytes. The value can be changed by passing the option
--pmp-granularity=<value> to spike.
Signed-off-by: Karthik B K <karthik.bk@incoresemi.com>
Diffstat (limited to 'ci-tests')
-rw-r--r-- | ci-tests/testlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ci-tests/testlib.c b/ci-tests/testlib.c index 2525b18..1fca4fa 100644 --- a/ci-tests/testlib.c +++ b/ci-tests/testlib.c @@ -24,6 +24,7 @@ int main() false, endianness_little, 16, + (1 << PMP_SHIFT), mem_cfg, hartids, false, |