I created a script which produces a generic clean Hello World project in Vitis 2020.1 for a Genesys-ZU 3EG/5EV. It automatically adds the custom Genesys-ZU FSBL and imports an XSA file.
The script did not appear to work in Vitis 2022.1, but it actually does. The problem appears to be in the Digilent custom DDR initialization when used with the current tool chain, but I can easily consistently make it work. But it's not a valid "production" solution to the issue.
When I define FSBL_DEBUG_INFO for the FSBL project in C++ Build->Settings->Symbols, DDR initialization completes properly. I have not seen it fail in over 30 runs. Without FSBL_DEBUG_INFO defined, DDR initialization fails every time.
This appears to be a timing issue with the custom Digilent DDR initialization.
Since I believe that I've pinned it down to a small chunk of Digilent code, that is not compatible with the current compiler, can someone take a look at this issue? It would be really helpful.
I can provide the generic project creation script, if it will help. It requires very little setup to use. You just have to put the custom FSBL source files and a Vivado XSA in to specific directories and run it.
Question
John J
I created a script which produces a generic clean Hello World project in Vitis 2020.1 for a Genesys-ZU 3EG/5EV. It automatically adds the custom Genesys-ZU FSBL and imports an XSA file.
The script did not appear to work in Vitis 2022.1, but it actually does. The problem appears to be in the Digilent custom DDR initialization when used with the current tool chain, but I can easily consistently make it work. But it's not a valid "production" solution to the issue.
When I define FSBL_DEBUG_INFO for the FSBL project in C++ Build->Settings->Symbols, DDR initialization completes properly. I have not seen it fail in over 30 runs. Without FSBL_DEBUG_INFO defined, DDR initialization fails every time.
This appears to be a timing issue with the custom Digilent DDR initialization.
Since I believe that I've pinned it down to a small chunk of Digilent code, that is not compatible with the current compiler, can someone take a look at this issue? It would be really helpful.
I can provide the generic project creation script, if it will help. It requires very little setup to use. You just have to put the custom FSBL source files and a Vivado XSA in to specific directories and run it.
Thank you for your help.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now