-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
SPI Engine: SDO data prefetch #1501
Conversation
188d0a7
to
1840af0
Compare
e6937d4
to
4f982aa
Compare
4f982aa
to
d845ac3
Compare
changed it so the SDO data source is a parameter (synthesis-time), rebased on main |
Tested on AD4052 with cora, same behavior as in main |
ad4052_ardz.de10nano jenkins build fails with this error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the formatting.
After sergiu review, make sure to squash the fixup commits.
#1566 also bumps ad4052 required version. |
"Formatting" commit needs to be split and integrated in existing commits. |
SDO data can now be clocked in independently from the offload trigger. This allows lower latencies for executing transfers, since the data can be obtained from the DMA before the trigger. It also better separates the command path from the data path. SDO data source behavior is altered: previously, with SDO_STREAMING=1 the SPI Engine would prioritize the SDO memory and switch to AXI Streaming when empty. This unused automatic switching is now removed: if the SPI Engine is built with SDO_STREAMING=1 it will only get SDO data from AXI Streaming, and with SDO_STREAMING=0 it will only use the SDO memory. Signed-off-by: Laez Barbosa <laez.barbosa@analog.com>
Signed-off-by: Laez Barbosa <laez.barbosa@analog.com>
Signed-off-by: Laez Barbosa <laez.barbosa@analog.com>
Signed-off-by: sarpadi <sergiu.arpadi@analog.com>
a240ec1
to
ec4ecae
Compare
PR Description
Allows spi_engine_execution get sdo data independently of the instruction command. This reduces the trigger to transfer latency, and opens the door to further pipelining this path or reducing latency even more.
(this PR should be merged after #1499)
PR Type
PR Checklist