hls4ml icon indicating copy to clipboard operation
hls4ml copied to clipboard

VIVADO HLS INSTALLATION INSTALLATION NOT FOUND MAKE SURE VIVADO HLS ON PATH

Open Tf-arch opened this issue 1 year ago • 4 comments

We are using the vivado 2019.1 linux version lab edition

[Vivado 2019.1: Lab Edition - Linux] filename=Xilinx_Vivado_Lab_Lin_2019.1_0524_1430.tar.gz)

but it has no specific VIVADO_HLS. and we getting the error

VIVADO HLS INSTALLATION INSTALLATION NOT FOUND MAKE SURE VIVADO HLS ON PATH

when we run hls_model.build command

so could you us to tell us the exact version we should install so that we can get VIVADO HLS. we are working on ubunto 18?

Tf-arch avatar May 30 '24 20:05 Tf-arch

Hi, do you have vivado_hls executable on path? You can easily add it in Python by adding the following before calling hls_model.build

import os os.environ['PATH'] = '<CHANGE TO YOUR INSTALLATION PATH>/Xilinx/Vivado/2019.1/bin:' + os.environ['PATH']

For example, in my case it is: import os os.environ['PATH'] = '/tools/Xilinx/Vivado/2019.1/bin:' + os.environ['PATH']

To give a bit more context, you should find your vivado_hls executable inside the bin folder the path is pointing at in the commands above

RikPi avatar Jun 19 '24 12:06 RikPi

Hi,I am facing the same issue on vivado 2025.1,can someone please help.

patent-2026 avatar Oct 14 '25 17:10 patent-2026

Vivado HLS is part of older Vivado releases--generally 2020.1 is the one we support. If you are staring out, you should probably use the Vitis backend with newer versions of Xilinx software. Vivado HLS is now over 5 years old.

On the command line from where you run hls4ml, you should be able to run the AMD/Xilinx software. Please look at their documentation to make sure it's installed correction. vitis_hls or vitis-run should be available on the command line.

jmitrevs avatar Oct 14 '25 17:10 jmitrevs

I am trying to those tutorial but when i try to run "hls_model.build()" the terminal exits by giving me which i have attached the sc

Image

patent-2026 avatar Oct 18 '25 17:10 patent-2026