forked from amaranth-lang/amaranth-soc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csr.bus: redesign Multiplexer shadow registers.
Before this commit, csr.Multiplexer had separate shadows for every element in its memory map. The same shadow was shared for read and write accesses to an element; a combined read/write transaction was impossible despite being allowed by the CSR interface. After this commit, csr.Multiplexer has separate shadows for read and write accesses, but both shadows are shared by every element using them. For multiplexers with many elements, this approach also results in significant resource savings.
- Loading branch information
Showing
2 changed files
with
333 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.