PYNQ: PYTHON PRODUCTIVITY FOR ZYNQ

AttributeError: Could not find IP or hierarchy rpi in overlay

Hello,I wnat to use rpi in pynq,it show the following Error,
Do you know how to find rpi,and how could we find more info in base.
AttributeError: Could not find IP or hierarchy rpi in overlay

May I ask what board are you using?

base.RPI is a “shortcut” to the IOP (Microblaze and its subsystem) related to the RPI interface, and it’s usually defined in the base.py file that defines the BaseOverlay class for the base overlay of that board.
For instance, for the Z2 it is defined here: https://github.com/Xilinx/PYNQ/blob/master/boards/Pynq-Z2/base/base.py at line #26.
From the error, it seems in your case the base.RPI “shortcut” does not exist, so the first thing I would do is make sure that it is there.