-
Notifications
You must be signed in to change notification settings - Fork 31
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
Library path causes ZCU102+ADRV9002 HDL Coder project build to fail on R2021b #130
Comments
Can you export and post your configuration from HDL Workflow Advisor |
Thanks Travis for the quick reply. Here is the HDLWA config for this model. |
Things are working fine with the release on my end. Can you provide the full log file generated from step 4.1 |
Thanks Travis, here is the log. |
I found the issue after some debugging. The projects I work on are stored under C:\projects, so my working directory is e.g.: Now line 65 in hdl/vendor/AnalogDevices/vivado/projects/scripts/adi_make.tcl uses the following to retrieve the root_hdl_folder This deletes all characters in path after the first match to I've worked around the issue with this clumsy Tcl replacement for adi_make.tcl:65 |
Sorry for the delay. Have been out on travel. A question here, does your machine have a particular locale? |
Sorry for the very late reply. I have workaround this issue by pointing HDL Coder to a folder that does not contain 'projects' in the path. My locale was es_ES.UTF-8 back when I opened the issue. Now I've tested this on a machine with locale en_US.UTF-8 and the issue persists... |
We tried this on several different machines and cannot repeat the issue. Probably the next setup is to verify you can manually build the HDL. This would be done outside of MATLAB in a terminal like so: <source Vivado 2019.1 tools>
git clone -b hdl_2019_r2 https://github.com/analogdevicesinc/hdl.git
cd hdl/projects/adrv9001/zcu102
vivado -mode tcl
source ../../scripts/adi_make.tcl
adi_make::lib all
source ./system_project.tcl This is essentially what MATLAB does. |
On both Windows and Linux, using HDL Coder to target the ZCU102+ADRV9002 combo, the 21.2.1 release fails while building IPs in the HDL Coder 'Create Project' phase.
Vivado looks for the library folder in either C:/library (Windows) or $HOME/library (Linux) instead of in the copy made in the project folder.
I have tried with both the mltbx file as well as with my own build. The failure mode is the same.
Thanks
Mariano Maté
The text was updated successfully, but these errors were encountered: