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

19 次查看(过去 30 天)
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!

采纳的回答

Sahas
Sahas 2024-10-21,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 个评论
KH
KH 2024-10-21,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!

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by