How to add vivado to the matlab in ubuntu/linux system?

19 views (last 30 days)
KH
KH on 21 Oct 2024 at 8:25
Commented: KH on 21 Oct 2024 at 13:19
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!

Accepted Answer

Sahas
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!
  1 Comment
KH
KH on 21 Oct 2024 at 13:19
Thanks for your reply!
I will have a try with the first command. If it does not work, I will uninstall the vivado 2023.2 and install vivado 2023.1.
Best Wishes!

Sign in to comment.

More Answers (0)

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!