Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > overlay.conv_0
- ---------------------------------------------------------------------------
- KeyError Traceback (most recent call last)
- <ipython-input-15-ece22afdb16b> in <module>()
- ----> 1 overlay.conv_0
- /usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __getattr__(self, key)
- 335 """
- 336 if self.is_loaded():
- --> 337 return getattr(self._ip_map, key)
- 338 else:
- 339 raise RuntimeError("Overlay not currently loaded")
- /usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __getattr__(self, key)
- 735 elif key in self._description['ip']:
- 736 ipdescription = self._description['ip'][key]
- --> 737 driver = ipdescription['driver'](ipdescription)
- 738 setattr(self, key, driver)
- 739 return driver
- <ipython-input-5-08ef0f65f18c> in __init__(self, description)
- 3 class cconvDriver(DefaultIP):
- 4 def __init__(self, description):
- ----> 5 super().__init__(description=description)
- 6
- 7 bindto = ['xilinx.com:hls:conv:1.0']
- /usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __init__(self, description)
- 600 self._gpio = {}
- 601 for interrupt, details in self._interrupts.items():
- --> 602 setattr(self, interrupt, Interrupt(details['fullpath']))
- 603 for gpio, entry in self._gpio.items():
- 604 gpio_number = GPIO.get_gpio_pin(entry['index'])
- /usr/local/lib/python3.6/dist-packages/pynq/interrupt.py in __init__(self, pinname)
- 96 self.number = PL.interrupt_pins[pinname]['index']
- 97 self.parent = weakref.ref(
- ---> 98 _InterruptController.get_controller(parentname))
- 99 self.event = asyncio.Event()
- 100 self.waiting = False
- /usr/local/lib/python3.6/dist-packages/pynq/interrupt.py in get_controller(name)
- 157 if con.name == name:
- 158 return con
- --> 159 ret = _InterruptController(name)
- 160 _InterruptController._controllers.append(ret)
- 161 return ret
- /usr/local/lib/python3.6/dist-packages/pynq/interrupt.py in __init__(self, name)
- 175 """
- 176 self.name = name
- --> 177 self.mmio = MMIO(PL.ip_dict[name]['phys_addr'], 32)
- 178 self.wait_handles = [[] for _ in range(32)]
- 179 self.event_number = 0
- KeyError: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement