Skip to content

Commit

Permalink
Increase Spike PMP granularity to 8. Update yaml spec files according…
Browse files Browse the repository at this point in the history
…ly. (#2624)

Update riscv-config spec files and Spike Yaml file for CV32A65X.

Bump CVV to change Spike default PMP granularity to 8 and to include corresponding Spike Yaml parameter.
  • Loading branch information
zchamski authored Nov 21, 2024
1 parent 25f2f31 commit 8a84f78
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/gen_from_riscv_config/cv32a60x/spike/spike.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spike_param_tree:
marchid_override_mask: 0xFFFFFFFF
marchid_override_value: 0x3
misa_write_mask: 0x0
pmp_granularity: 8
pmpaddr0: 0
pmpcfg0: 0
pmpregions_max: 64
Expand Down
1 change: 1 addition & 0 deletions config/gen_from_riscv_config/cv32a65x/spike/spike.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spike_param_tree:
marchid_override_mask: 0xFFFFFFFF
marchid_override_value: 0x3
misa_write_mask: 0x0
pmp_granularity: 8
pmpaddr0: 0
pmpcfg0: 0
pmpregions_max: 64
Expand Down
2 changes: 1 addition & 1 deletion config/riscv-config/cv32a65x/generated/isa_gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ hart0:
supported_xlen:
- 32
physical_addr_sz: 32
pmp_granularity: 4
pmp_granularity: 8
misa:
reset-val: 0x40001106
rv32:
Expand Down
2 changes: 1 addition & 1 deletion config/riscv-config/cv32a65x/spec/isa_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ hart0: &hart0
User_Spec_Version: '2.3'
supported_xlen: [32]
physical_addr_sz: 32
pmp_granularity: 4
pmp_granularity: 8
misa:
reset-val: 0x40001106 # B: bit 1, C: bit 2, I = bit 8, M = bit 12, Z = bit 25
rv32:
Expand Down

0 comments on commit 8a84f78

Please sign in to comment.