-
Notifications
You must be signed in to change notification settings - Fork 116
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
updated fpga build to Vitis / Vivado v2023.2 #548
base: main
Are you sure you want to change the base?
Conversation
Ok I'm trying to test your PRs now. The issue with this one is that it doesn't work for Vivado 2024.2 which is the most recent one. Is there a specific reason to choose the 2023.2 version ? |
Vivado 2024.2 will work with Vitis flow that replaces the xsct commands... I have not yet installed 2024 so I can't test this yet.. But I have a python Vitis script ready but without the overlay device tree creation part. I will push that script up if you want to add the overlay device tree creation bit and update the Makefile. Basically the pl.dtsi overlay device tree has the plugin part added. This will be missing if the Vitis flow is used without the "DT Overlay" selected You then get a python script that you can use with the script interface rather than the xsct commands in the Makefile
|
WIP: Needs the DT Overlay option adding
Thinking about it .. I would expect that the latest Vitis would still support the xsct commands..
did you try the simplest change.. just update the version in the Makefile and in fpga/ip/system_bd.tcl |
The version needs to be modified in these 3 files
You're right it works ! I didn't modified the fpga/ip/system_bd.tcl file so that was blocking. I will perform the pytest just to make sure and merge the PR. Thanks for all your work ! |
I am in the process of downloading / installing v2024.2 so I will be able to help if there are any problems! |
I have created the v2024.2 fpga and used it so it seems ok. I also looked at the ecosystem devicetree and did a comparison with the v2024.2 generated devicetree. Whilst a few things have been moved about the only significant difference is that the eco system pyrpl devicetree has the extra two S_AXI_HP2 and S_AXI_HP3 interfaces enabled (in the devicetree these are afi2 and afi3). |
In this commit I have not changed the original .bin file that remains unchanged. I have also left the associated reports in out folder unchanged.
This commit will allow people to use Vitis / Vivado v2023.2 to build the pyrpl fpga. By bringing the build system to v2023 it allows more recent Vitis tools to be used more easily.
Also it pulls in more recent board definitions for more recent RedPitaya boards.
Also it builds the overlay device tree blob that is needed to load fpga and matching device tree onto the RedPitaya boards.
I have tested the generated .bin file and the generated .dtbo device tree with the latest nose tests and have not seen any significant problems.
I have run the IIR filter code with a butterworth low pass filter and get the same results are with the original pyrpl .bin file and the current eco system v2 pyrpl .bin file.