Skip to content

Commit

Permalink
Merge pull request #14 from Wren6991/develop
Browse files Browse the repository at this point in the history
Promote readme and adoc changes, no functional change
  • Loading branch information
Wren6991 authored Aug 9, 2024
2 parents b291b46 + 1d0fc21 commit a4412c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion doc/sections/csr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4412c0

Please sign in to comment.