Hi all,
I am currently encountering the following error when loading the overlay:
from pynq import Overlay
/usr/lib/python3.9/site-packages/pynq/pmbus.py:230: UserWarning: Could not initialise libsensors library
warnings.warn("Could not initialise libsensors library")
overlay = Overlay('/usr/lib/python3.9/site-packages/pynq/overlays/addr/adder.bit')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.9/site-packages/pynq/overlay.py", line 330, in __init__
self.parser = self.device.get_bitfile_metadata(self.bitfile_name)
File "/usr/lib/python3.9/site-packages/pynq/pl_server/xrt_device.py", line 520, in get_bitfile_metadata
return XclBin(bitfile_name)
File "/usr/lib/python3.9/site-packages/pynq/pl_server/xclbin_parser.py", line 286, in __init__
self.ip_dict, self.mem_dict = _xclbin_to_dicts(filename)
File "/usr/lib/python3.9/site-packages/pynq/pl_server/xclbin_parser.py", line 236, in _xclbin_to_dicts
sections[xclbin.AXLF_SECTION_KIND.EMBEDDED_METADATA].decode(),
KeyError: 2
Versions:
PYNQ version 2.5.1
Git commit: 6fee2225bf90cd0ecb085017c5408a3d384a0632
Vivado 2020.2
It seems, the “sections” array is empty. But why?
I have pleaced the files adder.bit, adder.tcl and adder.hwh in the same directory.
Can please someone push me in the right direction?
Thank you very much and best regards
Frank