# .hwh is provided but not recognized by Pynq

**URL:** <https://discuss.pynq.io/t/hwh-is-provided-but-not-recognized-by-pynq/6286>\
**Category:** Support\
**Created:** [November 9, 2023, 10:36am UTC](https://discuss.pynq.io/t/hwh-is-provided-but-not-recognized-by-pynq/6286 "2023-11-09T10:36:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HL\_21](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/hl_21/32/5306_2.png) [@HL\_21](https://discuss.pynq.io/u/HL_21)\
**Post date:** [November 9, 2023, 10:36am UTC](https://discuss.pynq.io/t/hwh-is-provided-but-not-recognized-by-pynq/6286/1 "2023-11-09T10:36:00Z")

</div>

Hello,  
I am working on PYNQ-Z1 board and I’ve written a simple AXI Lite adder in verilog and connected it to the zynq PS. I’ve got a problem when i try to access its registers with “add\_ip.register\_map” I get the following error : “AttributeError: register\_map only available if the .hwh is provided”, which I’ve already added with the same name as the .bit file. I assume that the .hwh file was already recognized by the board as the overlay is created without a error but somehow not by the function. Do you have any idea why this happened?  
Thank you in advance.

 ![grafik](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/0/0084d92a6b979b6db2bfab33d3b329fc20b9b4e1.png)

---

<div class="post-metadata">

**Author:** ![mizan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/mizan/32/2119_2.png) [@mizan](https://discuss.pynq.io/u/mizan)\
**Post date:** [November 9, 2023, 10:52am UTC](https://discuss.pynq.io/t/hwh-is-provided-but-not-recognized-by-pynq/6286/2 "2023-11-09T10:52:48Z")

</div>

Hi @HL_21,  
Welcome to pynq forum. As the error stated, register\_map only available if the .hwh is provided. In my opinion, for custom verilog code, you have not declared anything in hwh file about register information. You still can easily write/read with mmio access with the address offset you have set for the registers in your IP. E.g.: add\_ip.write(0x00,0x01) or add\_ip.read(0x04).

Mizan

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/system/32/2_2.png) [@system](https://discuss.pynq.io/u/system)\
**Post date:** [November 12, 2023, 11:42am UTC](https://discuss.pynq.io/t/hwh-is-provided-but-not-recognized-by-pynq/6286/5 "2023-11-12T11:42:35Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
