Hello all,
I am trying to bring up this block design under PYNQ 2.6 on a ZCU104.
When I try to load the overlay, I get the following error:
KeyError Traceback (most recent call last)
in ()
2 from pynq import Overlay
3 # Download the # overlay
----> 4 overlay = Overlay(“design_1_wrapper.bit”)
/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)
777 hwh_path = get_hwh_name(bitfile_name)
778 if os.path.exists(hwh_path):
→ 779 return HWH(hwh_path)
780 else:
781 raise ValueError(“Cannot find HWH file for {}.”.format(
/usr/local/lib/python3.6/dist-packages/pynq/pl_server/hwh_parser.py in init(self, hwh_name)
201 self.init_mem_dict()
202 self.init_hierarchy_dict()
→ 203 self.assign_interrupts_gpio()
204
205 def init_partial_ip_dict(self):
/usr/local/lib/python3.6/dist-packages/pynq/pl_server/hwh_parser.py in assign_interrupts_gpio(self)
508 ip, _, pin = connection.rpartition(‘/’)
509 if ip in self.ip_dict:
→ 510 self.ip_dict[ip][‘gpio’][pin] = gpio
511 elif ip in self.hierarchy_dict:
512 self.hierarchy_dict[ip][‘gpio’][pin] = gpio
KeyError: ‘gpio’
Versions :
Pynq 2.6
vivado 2020.2
zcu104 board
I have placed .hwh files and .bit file in the directory
kindly suggest find any one has information on the same.
Kind Regards,
Harish