-
Notifications
You must be signed in to change notification settings - Fork 52
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
WIP: Create a backwards compatible flow for xo
/xclbin
generation with Calyx-AXI-wrapper
#2267
Draft
nathanielnrn
wants to merge
85
commits into
main
Choose a base branch
from
xml-fud2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
…control of a component
TODO: Hook up the slices in the highest level module for ap_done, ap_start. Also thinnk about go done signals/how these connect to rest of wrapper
* Prepare fifo for case idiom * Attempt with . Failing due to empty control * Delete calyx-py/test/correctness/queues/fifo.futil
TODO: Hook up ap_start from controller in wrapper to the main_compute module
This works around #2198 causing combinational loops
This stale PR is being closed because it has not seen any activity in 7 days. If you're planning to continue work on it, please reopen it and mention how to make progress on it. |
nathanielnrn
added a commit
that referenced
this pull request
Dec 31, 2024
The WIP [PR that tries to get an `yxi` powered end to end xilinx tools workflow up and running](#2267) ballooned into a beast and has gotten pretty stale. This is me trying to break things down into parts and slowly get everything merged. This changes the `*axi_generator.py` files to use underscores, which is needed for proper importing afaict. Also snuck in formatting changes to `dynamic_axi_generator.py`. These are pretty minor changes so going to merge when tests pass.
nathanielnrn
force-pushed
the
xml-fud2
branch
from
December 31, 2024 13:53
561a812
to
05c4789
Compare
nathanielnrn
added a commit
that referenced
this pull request
Dec 31, 2024
Another part of #2267 that makes sense to live on it's own. Sorry for so many small PRs! But whittling things down like this is helping me better remember where everything stands
…og wrapper backwards compatability (i.e in gen_xo.tcl)
…patable with the new calyx-axi-wrapper and old verilog-axi-wrapper
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.
At the highest level this PR should allow for correct
xclbin
s to be produced from Calyx programs.Broadly speaking this PR does 2 things (sorry for combining them, but some small fixes are sprinkled throughout making things hard to separate into their own changes):
axi_controller_generator.py
which is meant to create a subordinate adhering to Xilinx's control spec. There might be some issues with this as executing on hardwares seems to hang at the moment, and the only difference between the generated verilog is the addition of the controller subordinate AFAIK..xo
. This is different from the previous.futil
to.xo
(which should eventually be deprecated), and is the "correct" way to create a.xo
with the new Calyx-AXI-wrappers.I'll do my best to comment the PR heavily to explain which changes affect what.
Furthermore, not sure if the controller itself needs a deep dive w.r.t code review. There are probably problems with it, that require waveform debugging to uncover.
EDIT: More work than I thought regarding backwards compatibility. Commented where changes are needed
In general there are a few outstanding TODOs even after this PR is merged. I'll make issues about these:
axi-generator.py
toaxi_generator.py
| [fud2] AXI wrapper script cleanup & unified python names #2384