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

15 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Sahas
Sahas il 21 Ott 2024
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 Commento
KH
KH il 21 Ott 2024
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!

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by