Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add broadcast mode to DMA #425

Open
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

grinningmosfet
Copy link
Contributor

Fix #408

Pierre Guillod and others added 23 commits October 19, 2023 13:30
* Two DMA slots are now exported for the external peripherals
* A dummy example of an FIFO peripheral using RX/TX streaming windows is added
* Replace the IFFIFO window interface by plain status/control registers
* Add acceleration feature in IFFIFO
* Adapt software example
* Rename exported DMA slots
* fifo_v3 replaced by prim_fifo_sync
* the example features use of valid/ready signals
* Implement status register (empty/available/full/watermark)
* Implement interrupts (available/watermark/full) [untested]
- add iffifo interrupt into the PLIC system
- remove FULL and AVAILABLE interrupts as they can be implemented with REACHED interrupts
* Populate pointer, increment and slot registers for broadcasting
* Remove code duplicate
* Initialize registers
* Add EOF new line
* Add symbols
* Add broadcast target
@grinningmosfet
Copy link
Contributor Author

PR #417 needs to be merged before this PR.

hw/ip/dma/data/dma.hjson Outdated Show resolved Hide resolved
@grinningmosfet grinningmosfet marked this pull request as draft November 20, 2023 12:15
@grinningmosfet
Copy link
Contributor Author

PR converted to draft until changes request is addressed.

@grinningmosfet grinningmosfet marked this pull request as ready for review November 22, 2023 16:58
hw/ip/dma/rtl/dma.sv Outdated Show resolved Hide resolved
hw/ip/dma/rtl/dma.sv Outdated Show resolved Hide resolved
hw/ip/dma/rtl/dma.sv Show resolved Hide resolved
hw/ip/dma/rtl/dma.sv Outdated Show resolved Hide resolved
@grinningmosfet grinningmosfet marked this pull request as draft November 29, 2023 02:01
@grinningmosfet grinningmosfet marked this pull request as ready for review November 29, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dma capable of broadcasting
2 participants