Advertisement
Guest User

Untitled

a guest
Jul 24th, 2020
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.48 KB | None | 0 0
  1.  
  2. > overlay.conv_0
  3.  
  4. ---------------------------------------------------------------------------
  5. KeyError                                  Traceback (most recent call last)
  6. <ipython-input-15-ece22afdb16b> in <module>()
  7. ----> 1 overlay.conv_0
  8.  
  9. /usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __getattr__(self, key)
  10.     335         """
  11.    336         if self.is_loaded():
  12. --> 337             return getattr(self._ip_map, key)
  13.    338         else:
  14.    339             raise RuntimeError("Overlay not currently loaded")
  15.  
  16. /usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __getattr__(self, key)
  17.    735         elif key in self._description['ip']:
  18.    736             ipdescription = self._description['ip'][key]
  19. --> 737             driver = ipdescription['driver'](ipdescription)
  20.    738             setattr(self, key, driver)
  21.    739             return driver
  22.  
  23. <ipython-input-5-08ef0f65f18c> in __init__(self, description)
  24.      3 class cconvDriver(DefaultIP):
  25.      4     def __init__(self, description):
  26. ----> 5         super().__init__(description=description)
  27.      6
  28.      7     bindto = ['xilinx.com:hls:conv:1.0']
  29.  
  30. /usr/local/lib/python3.6/dist-packages/pynq/overlay.py in __init__(self, description)
  31.    600             self._gpio = {}
  32.    601         for interrupt, details in self._interrupts.items():
  33. --> 602             setattr(self, interrupt, Interrupt(details['fullpath']))
  34.    603         for gpio, entry in self._gpio.items():
  35.    604             gpio_number = GPIO.get_gpio_pin(entry['index'])
  36.  
  37. /usr/local/lib/python3.6/dist-packages/pynq/interrupt.py in __init__(self, pinname)
  38.     96         self.number = PL.interrupt_pins[pinname]['index']
  39.     97         self.parent = weakref.ref(
  40. ---> 98             _InterruptController.get_controller(parentname))
  41.     99         self.event = asyncio.Event()
  42.    100         self.waiting = False
  43.  
  44. /usr/local/lib/python3.6/dist-packages/pynq/interrupt.py in get_controller(name)
  45.    157             if con.name == name:
  46.    158                 return con
  47. --> 159         ret = _InterruptController(name)
  48.    160         _InterruptController._controllers.append(ret)
  49.    161         return ret
  50.  
  51. /usr/local/lib/python3.6/dist-packages/pynq/interrupt.py in __init__(self, name)
  52.    175         """
  53.     176         self.name = name
  54. --> 177         self.mmio = MMIO(PL.ip_dict[name]['phys_addr'], 32)
  55.     178         self.wait_handles = [[] for _ in range(32)]
  56.     179         self.event_number = 0
  57.  
  58. KeyError: ''
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement