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

19 ビュー (過去 30 日間)
KH
KH 2024 年 10 月 21 日
コメント済み: KH 2024 年 10 月 21 日
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 日
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 日
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