I am trying to implement Pynq on Microzed 7020 and I have used the fork by ticktronaut
Writing the image, updating and launching the modified jupyter notebooks worked fine, but when I tried importing pynq I get the following error:
AttributeError Traceback (most recent call last)
in ()
1 import numpy as np
----> 2 import pynq
3
4 def get_pynq_buffer(shape, dtype):
5 “”" Simple function to call PYNQ’s memory allocator with numpy attributes
/opt/python3.6/lib/python3.6/site-packages/pynq/init.py in ()
32 from .ps import Register
33 from .ps import Clocks
—> 34 from .pl import PL
35 from .pl import PL_SERVER_FILE
36 from .pl import Bitstream
/opt/python3.6/lib/python3.6/site-packages/pynq/pl.py in ()
444
445
→ 446 class PLMeta(type):
447 “”"This method is the meta class for the PL.
448
/opt/python3.6/lib/python3.6/site-packages/pynq/pl.py in PLMeta()
460
461 if CPU_ARCH_IS_SUPPORTED:
→ 462 _tcl = _TCL(TCL_BOOT)
463 _ip_dict = _tcl.ip_dict
464 _gpio_dict = _tcl.gpio_dict
/opt/python3.6/lib/python3.6/site-packages/pynq/pl.py in init(self, tcl_name)
347 self.pins[p] = index
348
→ 349 if self.ps_name + “/” + family_irq_dict[self.family] in self.pins:
350 ps_irq_net = self.pins[
351 self.ps_name + “/” + family_irq_dict[self.family]]
AttributeError: ‘_TCL’ object has no attribute ‘family’
Any help would be very appreciated and feel free to ask for any more details you might requiremz_des_wrapper.zip (10.2 KB)