-
Notifications
You must be signed in to change notification settings - Fork 190
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 drv/{fpga-api, fpga-devices, fpga-server} #511
Merged
Merged
Conversation
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
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 22, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
mkeeter
reviewed
Apr 25, 2022
a58d5f2
to
bfcae0a
Compare
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
reviewed
May 17, 2022
mkeeter
approved these changes
May 17, 2022
This diff is a first pass for a somwhat generic FPGA driver and server which allows other tasks in the system to manage actions such as loading bitstreams. In addition the server task exposes a register interface abstraction for a SPI peripheral running as part of the bitstream application. These two combined interfaces if you will, allow a process such as a sequencer to manage both the device and interact with application logic through a single entry point.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This diff is a first pass for a somewhat generic FPGA driver and server which
allows other tasks in the system to manage actions such as loading bitstreams.
In addition the server task exposes a register interface abstraction for a SPI
peripheral running as part of the bitstream application.
These two combined interfaces if you will, allow a process such as a sequencer
to manage both the device and interact with application logic through a single
entry point.
The driver is generic enough that in addition to the ECP5 implementation found
in this diff, we can support the iCE40 and possibly future devices.
The intend is for the FPGA server to not use a separate SPI driver if not required
reduce system resources by absorbing the functionality needed to handle the
SPI peripheral. This work requires some refactoring to expose more of the SPI
server functionality as a library and this will be done in a follow-up.
Note that the ECP5 driver is split into a top and bottom implementation.
Currently only one bottom implementation is provided, but a second (involving
transparent use of a SPI mux and GPIO extend) is in the works.
Finally, Hiffy/Humility support for interacting with an FPGA will be provided in
a follow up diff.