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: PYNQ/base.py at master · Xilinx/PYNQ · GitHub 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.