- Ubuntu 22.04
- Board: KR260
- pynq 3.0.1
- IP AXI VDMA
Hi I am trying to use AXI-VDMA in pynq. I am facing a problem when I try to use the axi_vdma I got the next error:
overlay.axi_vdma_0
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Input In [59], in <cell line: 1>()
----> 1 overlay.axi_vdma_0
File /usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/overlay.py:363, in Overlay.__getattr__(self, key)
358 """Overload of __getattr__ to return a driver for an IP or
359 hierarchy. Throws an `RuntimeError` if the overlay is not loaded.
360
361 """
362 if self.is_loaded():
--> 363 return getattr(self._ip_map, key)
364 else:
365 raise RuntimeError("Overlay not currently loaded")
File /usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/overlay.py:904, in _IPMap.__getattr__(self, key)
902 ipdescription = self._description["ip"][key]
903 try:
--> 904 driver = ipdescription["driver"](ipdescription)
905 except UnsupportedConfiguration as e:
906 warnings.warn(
907 "Configuration if IP {} not supported: {}".format(key, str(e.args)),
908 UserWarning,
909 )
File /usr/local/share/pynq-venv/lib/python3.10/site-packages/pynq/lib/video/dma.py:580, in AxiVDMA.__init__(self, description, framecount)
578 memory = description["device"].default_memory
579 if has_s2mm:
--> 580 self.readchannel = AxiVDMA.S2MMChannel(self, self.s2mm_introut, memory)
581 if has_mm2s:
582 self.writechannel = AxiVDMA.MM2SChannel(self, self.mm2s_introut, memory)
AttributeError: 'AxiVDMA' object has no attribute 's2mm_introut'
Regarding, the block design I have used two block desgins:
- First did not have the interrupts connected.
- Second with the interrupts. I post an image here.
Is there something I am missing?
Thanks in advance,
Ricardo Tapiador