Ultra96 PYNQ BaseOverlay

Hi everyone,
I’m very new to PYNQ.
I tried to run this example notebook https://github.com/Xilinx/PYNQ/blob/v2.0/boards/Pynq-Z1/base/notebooks/board/board_btns_leds.ipynb on my Ultra96-v2 with PYNQ 2.5.

What I found when running this snippet:

from time import sleep
from pynq.overlays.base import BaseOverlay

is

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-7-97a655cb423b> in <module>()
      1 from time import sleep
----> 2 from pynq.overlays.base import BaseOverlay

ModuleNotFoundError: No module named 'pynq.overlays.base'

Why these base overlays don’t exist in the Ultra96-PYNQ build?
And how can I control buttons and LEDs on my Ultra96 board from Python?

Thank you

1 Like

The notebook and ‘base’ design you linked to is for the PYNQ-Z1. This isn’t compatible with the Ultra96.
Try start with notebooks installed on the board.
You can find more information on the Ultra96 from the two links here:

Cathal