Merge pull request from Wren6991/develop

Promote readme and adoc changes, no functional change
This commit is contained in:
Luke Wren 2024-08-09 07:19:01 -07:00 committed by GitHub
commit a4412c0b00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions
Readme.md
doc/sections

View File

@ -15,7 +15,7 @@ Hazard3 is a 3-stage RISC-V processor, implementing the `RV32I` instruction set
* `Zcmp`: push/pop instructions
* Debug, Machine and User privilege/execution modes
* Privileged instructions `ecall`, `ebreak`, `mret` and `wfi`
* Physical memory protection (PMP) with up to 16 naturally aligned regions
* Physical memory protection (PMP) with up to 16 naturally aligned regions (NA4 / NAPOT address matching, TOR not supported)
You can [read the documentation here](doc/hazard3.pdf). (PDF link)

View File

@ -273,7 +273,7 @@ Each `pmpcfg` register divides into four identical 8-bit chunks, each correspond
|Bits | Name | Description
| 7 | `L` | Lock region, and additionally enforce its permissions on M-mode as well as U-mode.
| 6:5 | - | RES0
| 4:3 | `A` | Address-matching mode. Values supported are 0 (OFF), 2 (NA4, naturally aligned 4-byte) and 3 (NAPOT, naturally aligned power-of-two). Attempting to write an unsupported value will set the region to OFF.
| 4:3 | `A` | Address-matching mode. Values supported are 0 (OFF), 2 (NA4, naturally aligned 4-byte) and 3 (NAPOT, naturally aligned power-of-two). 1 (TOR, top of range) is not supported. Attempting to write an unsupported value will set the region to OFF.
| 2 | `X` | Execute permission
| 1 | `W` | Write permission
| 0 | `R` | Read permission