# Custom Overlay fails on "hdmi\_in.configure()" with PYNQ-ZU

**URL:** <https://discuss.pynq.io/t/custom-overlay-fails-on-hdmi-in-configure-with-pynq-zu/6073>\
**Category:** Support\
**Created:** [September 16, 2023, 5:44pm UTC](https://discuss.pynq.io/t/custom-overlay-fails-on-hdmi-in-configure-with-pynq-zu/6073 "2023-09-16T17:44:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshua20000216](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/joshua20000216/32/5051_2.png) [@joshua20000216](https://discuss.pynq.io/u/joshua20000216)\
**Post date:** [September 16, 2023, 5:44pm UTC](https://discuss.pynq.io/t/custom-overlay-fails-on-hdmi-in-configure-with-pynq-zu/6073/1 "2023-09-16T17:44:06Z")

</div>

I recreate the base\_overlay on vivado and delete what I don’t need for my project.

The problem I encountered after successfully loading the bitstream on the board

Below is the screenshot of the problem and the block design

 ![未命名](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/e/e4288a3f6329a881acb1b8ceb82b14883d8c6635.png)  
 ![base](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/c/cc4ea28c9c6dfdaf014d0a970b7ad5acc1e0fe5f.png)  
 ![BLOCK DEGISN](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/9/9e1e210456f5c9bf6296a320bbf1ad293c17b399.png)

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [September 16, 2023, 7:06pm UTC](https://discuss.pynq.io/t/custom-overlay-fails-on-hdmi-in-configure-with-pynq-zu/6073/2 "2023-09-16T19:06:21Z")

</div>

Hi @joshua20000216,

Welcome to the PYNQ community.

There’s a dedicated driver for the base overlay that configures some clocks.

> <https://github.com/Xilinx/PYNQ-ZU/blob/master/Pynq-ZU/base/base.py#L95>

Mario

---

<div class="post-metadata">

**Author:** ![joshua20000216](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/joshua20000216/32/5051_2.png) [@joshua20000216](https://discuss.pynq.io/u/joshua20000216)\
**Post date:** [September 16, 2023, 7:46pm UTC](https://discuss.pynq.io/t/custom-overlay-fails-on-hdmi-in-configure-with-pynq-zu/6073/3 "2023-09-16T19:46:21Z")

</div>

So I need to load the ‘base.py’ on the board too?

btw, thank you for your quick reply.  
I am the beginner on FPGA, this pynq stuff is my college project  
I do my best for searching the imformation on internet, so if my question is stupid, I am sorry about that.

---

<div class="post-metadata">

**Author:** ![marioruiz](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/marioruiz/32/2177_2.png) [@marioruiz](https://discuss.pynq.io/u/marioruiz)\
**Post date:** [September 17, 2023, 5:37am UTC](https://discuss.pynq.io/t/custom-overlay-fails-on-hdmi-in-configure-with-pynq-zu/6073/4 "2023-09-17T05:37:54Z")

</div>

> So I need to load the ‘base.py’ on the board too?

No, the configuration for those clocks will be erased when you download you custom overlay.

You need to configure the IP and clocks as the `_init_clocks` function is doing.

Mario
