- https://www.mathworks.com/help/hdlcoder/ref/hdlsetuptoolpath.html
- https://www.mathworks.com/help/hdlcoder/ref/hdlsetuphlstoolpath.html
How to add vivado to the matlab in ubuntu/linux system?
19 views (last 30 days)
Show older comments
Hello,
I install the matlab 2024b and vivado 2023.2 on the ubuntu 20.04.
The command 'hdlsetuptoolpath' needs the file 'vivado.bat', however, in ubuntu\linux system, the vivado's path does not contain 'vivado.bat'.
How to use vivado synthesis tool in matlab in the ubuntu system.
Looking forward to your reply!
Best wishes!
0 Comments
Accepted Answer
Sahas
on 21 Oct 2024 at 10:41
Hi,
As per my understanding, you would like to set up an environment for using Xilinx Vivado in MATLAB R2024b on a Linux machine.
Assuming Vivado is installed on the path '/opt/Xilinx/Vivado/2023.1' the correct syntax for Linux machines while using MATLAB's "hdlsetuptoolpath" function would be:
hdlsetuptoolpath('ToolName','Xilinx Vivado','ToolPath','/opt/Xilinx/Vivado/2023.1/bin');
Also, MathWorks currently supports "Xilinx Vivado 2023.1" as the most recent version for HDL code synthesis. Refer to the following MATLAB Answer post to check which Vivado versions are supported in each release of MATLAB and install the appropriate version:
For more information on "hdlsetuptoolpath" and "hdlsetuphlstoolpath" functions, you can refer to the following MathWorks documentation links:
I hope this is beneficial!
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!