Xilinx / PYNQ_Composable_Pipeline

PYNQ Composabe Overlays
https://pynq-composable.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
67 stars 23 forks source link

Support for pure stream IP #48

Closed mariodruiz closed 2 years ago

mariodruiz commented 2 years ago

When trying to use a pure streaming IP, the get attribute returns this error

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq_composable/composable.py in __getattr__(self, name)
    727             try:
--> 728                 attr = super().__getattr__(name)
    729             except AttributeError:

/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/overlay.py in __getattr__(self, key)
    902         else:
--> 903             raise AttributeError(
    904                 "Could not find IP or hierarchy {} in overlay".format(key))

AttributeError: Could not find IP or hierarchy fir_highpass in overlay

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
<ipython-input-9-a9ca1aa8b199> in <module>
----> 1 cfilter.fir_highpass

/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq_composable/composable.py in __getattr__(self, name)
    728                 attr = super().__getattr__(name)
    729             except AttributeError:
--> 730                 attr = getattr(self._ol, name)
    731             return attr
    732 

/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/overlay.py in __getattr__(self, key)
    364         """
    365         if self.is_loaded():
--> 366             return getattr(self._ip_map, key)
    367         else:
    368             raise RuntimeError("Overlay not currently loaded")

/usr/local/share/pynq-venv/lib/python3.8/site-packages/pynq/overlay.py in __getattr__(self, key)
    901             return mem
    902         else:
--> 903             raise AttributeError(
    904                 "Could not find IP or hierarchy {} in overlay".format(key))
    905 

AttributeError: Could not find IP or hierarchy fir_highpass in overlay