-
Notifications
You must be signed in to change notification settings - Fork 51
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
[xilinx] Variable AXI requirement support #888
Conversation
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.
Seems like a good first step; thanks!!
I'm not sure what your current workflow is, but one way to check whether everything is still working (i.e., we haven't broken anything yet) is to use the tests I set up in #866. You can do go tests/xilinx
and type runt
there to see if it still works.
Worth noting: this approach differs slightly from the plan I sketched in #853 (comment) in that it uses a number, rather than a list of AXI interface names. I assume you did this because it's a bit simpler to implement on the Tcl side? If so, that's true, but it's also a little less flexible (i.e., fud can't dictate the exact names of the AXI interfaces). I don't know if that will be limiting in the future. It's probably fine, but it would be good to leave plenty of clear comments here and there describing exactly what's going on, i.e., that interfaces must be called mN_axi
for some integer N
.
If you want to do the more flexible "pass the names" approach, I think you'll want to use Tcl's foreach
loop to iterate over $::argc
, skipping the first element because that's the output filename.
@yn224 my changes to |
@yn224 is this ready to merge? |
@rachitnigam @EclecticGriffin Sorry for the late response. I think this branch is ready to be merged. I'll try to work on a function that would return the arguments to Tcl file from the generated XML next. If you have any better suggestions for the next step, let me know. |
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.
Ah, github is being silly. It assumed that PR closed this one. |
Oops; indeed—thanks! |
@rachitnigam I have currently verified that the most recent commit to the master branch fixes testing issue so I integrated the logic for parsing XML file to extract out axi port names in |
Cool! In the spirit of taking this one step at a time, let's merge this PR without the XML parsing stuff and then tackle that in a separate PR. |
Done! |
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.
Great; I think this is good to go!
Having heard no objections, I'm going to hit that green button now! |
If you have that XML-parsing stuff sitting around somewhere, @yn224, would you mind pushing it to a branch? I can help finagle it into the right location. |
Great!! |
This PR lays out the initial idea for enabling generation of
xclbin
files for examples with different number of external memory declaration (Issue #853).