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
According to current regulations,we need to use ".bit and .hwh" instead of ".bit and .tcl".
You can generated .bit and .hwh using the author's code and ".hwh" will be automatically generated with ".bit".
".hwh" file does't need to be added in python.
only use overlay = Overlay("yolov2.bit") ,and the .hwh file with the same name will be recognized automatically.
Of course, if there are no .hwh in the same directory at this time, an error will be reported like you showed.
生成.bit和.tcl调用Overlay后报错:
ValueError Traceback (most recent call last)
in ()
3 # Load overlay and IP
4 #=================================================
----> 5 overlay = Overlay("yolov2.bit")
6 get_ipython().magic('pinfo overlay')
/usr/local/lib/python3.6/dist-packages/pynq/overlay.py in init(self, bitfile_name, dtbo, download, ignore_version, device)
339 self._register_drivers()
340
--> 341 self.parser = self.device.get_bitfile_metadata(self.bitfile_name)
342
343 self.ip_dict = self.gpio_dict = self.interrupt_controllers = \
/usr/local/lib/python3.6/dist-packages/pynq/pl_server/device.py in get_bitfile_metadata(self, bitfile_name)
780 else:
781 raise ValueError("Cannot find HWH file for {}.".format(
--> 782 bitfile_name))
ValueError: Cannot find HWH file for /home/xilinx/jupyter_notebooks/yolo_test/yolov2.bit.
The text was updated successfully, but these errors were encountered: