You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Vitis branch of the tutorials but it looks like tutorial 7a is still using the Vivado HLS back end which is no longer available in the latest Vivado releases.
In cell 7, hls_model.build(csim=False, export=True, bitfile=True)
Which throws the following error,
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
Cell In[7], line 1
----> 1 hls_model.build(csim=False, export=True, bitfile=True)
File ~/anaconda3/envs/hls4ml-tutorial/lib/python3.10/site-packages/hls4ml/model/graph.py:854, in ModelGraph.build(self, **kwargs)
850 if not os.path.exists(self.config.get_output_dir()):
851 # Assume the project wasn't written before
852 self.write()
--> 854 return self.config.backend.build(self, **kwargs)
File ~/anaconda3/envs/hls4ml-tutorial/lib/python3.10/site-packages/hls4ml/backends/vivado_accelerator/vivado_accelerator_backend.py:28, in VivadoAcceleratorBackend.build(self, model, reset, csim, synth, cosim, validation, export, vsynth, fifo_opt, bitfile)
14 def build(
15 self,
16 model,
(...)
26 ):
27 # run the VivadoBackend build
---> 28 super().build(
29 model,
30 reset=reset,
31 csim=csim,
32 synth=synth,
33 cosim=cosim,
34 validation=validation,
35 export=export,
36 vsynth=vsynth,
37 fifo_opt=fifo_opt,
38 )
39 # Get Config to view Board and Platform
40 from hls4ml.backends import VivadoAcceleratorConfig
File ~/anaconda3/envs/hls4ml-tutorial/lib/python3.10/site-packages/hls4ml/backends/vivado/vivado_backend.py:203, in VivadoBackend.build(self, model, reset, csim, synth, cosim, validation, export, vsynth, fifo_opt)
201 found = os.system('command -v vivado_hls > /dev/null')
202 if found != 0:
--> 203 raise Exception('Vivado HLS installation not found. Make sure "vivado_hls" is on PATH.')
205 curr_dir = os.getcwd()
206 os.chdir(model.config.get_output_dir())
Exception: Vivado HLS installation not found. Make sure "vivado_hls" is on PATH.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using the Vitis branch of the tutorials but it looks like tutorial 7a is still using the Vivado HLS back end which is no longer available in the latest Vivado releases.
In cell 7,
hls_model.build(csim=False, export=True, bitfile=True)
Which throws the following error,
Beta Was this translation helpful? Give feedback.
All reactions