Skip to content

Commit

Permalink
Remove typos in RegisterMap
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Czyz <[email protected]>
  • Loading branch information
mczyz-antmicro committed Nov 9, 2023
1 parent 40b3af5 commit cb97634
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/RegisterMap.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Current register layout is shown in the table below:
|--------|----------------------------|
|`0x00` |[Control register](control-register-0x00) |
|`0x04` |[Status register](status-register-0x04) |
|`0x08` |[Interrupt mask regiser](interrupt-mask-register-0x08) |
|`0x08` |[Interrupt mask register](interrupt-mask-register-0x08) |
|`0x0c` |[Interrupt status register](interrupt-status-register-0x0c) |
|`0x10` |[Reader start address](reader-start-address-0x10) |
|`0x14` |[Reader line length](reader-line-length-0x14) |
Expand Down Expand Up @@ -62,8 +62,8 @@ Current register layout is shown in the table below:

|Bit |Name |Description |
|----|-----------------|--------------------------------------------------------------------------------|
|0 |Writer interrupt |Reads as `1` if writer interrupt has occured, write `1` to clear that interrupt |
|1 |Reader interrupt |Reads as `1` if reader interrupt has occured, write `1` to clear that interrupt |
|0 |Writer interrupt |Reads as `1` if writer interrupt has occurred, write `1` to clear that interrupt |
|1 |Reader interrupt |Reads as `1` if reader interrupt has occurred, write `1` to clear that interrupt |
|2-31|- |Unused |

---
Expand Down Expand Up @@ -146,4 +146,4 @@ Current register layout is shown in the table below:

---

You can also check [WorkerCSRWrapper](https://github.com/antmicro/fastvdma/blob/main/src/main/scala/DMAController/Worker/WorkerCSRWrapper.scala) for the implementation details on how the CSRs are attached to the DMA logic (`io.csr(0)` refers to `0x00`, `io.csr(1)` to `0x04` and so on).
You can also check [WorkerCSRWrapper](https://github.com/antmicro/fastvdma/blob/main/src/main/scala/DMAController/Worker/WorkerCSRWrapper.scala) for the implementation details on how the CSRs are attached to the DMA logic (`io.csr(0)` refers to `0x00`, `io.csr(1)` to `0x04` and so on).

0 comments on commit cb97634

Please sign in to comment.