# About the register\_map

**URL:** <https://discuss.pynq.io/t/about-the-register-map/5819>\
**Category:** Support\
**Created:** [July 12, 2023, 7:24am UTC](https://discuss.pynq.io/t/about-the-register-map/5819 "2023-07-12T07:24:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zheng\_yue](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/zheng_yue/32/4931_2.png) [@zheng\_yue](https://discuss.pynq.io/u/zheng_yue)\
**Post date:** [July 12, 2023, 7:24am UTC](https://discuss.pynq.io/t/about-the-register-map/5819/1 "2023-07-12T07:24:32Z")

</div>

I did an experiment about the FIR. The problem was I can’t see all registers listed in the .hwh file when I use `overlay.fir_wrap_0.register_map`.

 ![Screenshot 2023-07-12 at 15.24.08](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/a/a00c1f703a5210df025ebc9463752e2cbb77f38c.jpeg)

How can I make all of those registers visible in the register\_map?

I attached the .hwh and .bit below

[fir\_o.hwh](https://discuss.pynq.io/uploads/short-url/4q9PodzHckHSJ39pdftGEjHZ1d2.hwh) (249.2 KB)

[fir\_o.bit](https://discuss.pynq.io/uploads/short-url/w2CjukpsTf6kM5iLiQBs53zzDvd.bit) (3.9 MB)

SD card image: v3.0.1

Borad: pyqn-z2 (tul)

Vitis: 2021.2.

---

<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:** [July 12, 2023, 8:48am UTC](https://discuss.pynq.io/t/about-the-register-map/5819/2 "2023-07-12T08:48:14Z")

</div>

Hi @zheng_yue,

Welcome to the PYNQ community.

What FIR IP are you using? Can you share a screenshot of your block design?

Mario

---

<div class="post-metadata">

**Author:** ![zheng\_yue](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/zheng_yue/32/4931_2.png) [@zheng\_yue](https://discuss.pynq.io/u/zheng_yue)\
**Post date:** [July 12, 2023, 9:12am UTC](https://discuss.pynq.io/t/about-the-register-map/5819/3 "2023-07-12T09:12:51Z")

</div>

Hi @marioruiz  
I write the FIR IP, I attached the code below  
[fir.h](https://discuss.pynq.io/uploads/short-url/aATBH59lhmeM5t0PtSdzbgBtN9w.h) (166 Bytes)  
[fir.cpp](https://discuss.pynq.io/uploads/short-url/3JU36UsRSBUu7xVNvuZEX4Xvwnp.cpp) (1.1 KB)  
Block design here

 ![Screenshot 2023-07-12 at 17.11.13](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/7/76131480429db884720375b34dec64858b15ef4f.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:** [July 12, 2023, 9:40am UTC](https://discuss.pynq.io/t/about-the-register-map/5819/4 "2023-07-12T09:40:24Z")

</div>

@zheng_yue,

The issues is that you have two AXI4-Lite ports for the same IP.  
PYNQ only supports one. Hence, I suggest you map all your register to the same AXI4-Lite port.

Mario

---

<div class="post-metadata">

**Author:** ![zheng\_yue](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/zheng_yue/32/4931_2.png) [@zheng\_yue](https://discuss.pynq.io/u/zheng_yue)\
**Post date:** [July 12, 2023, 2:27pm UTC](https://discuss.pynq.io/t/about-the-register-map/5819/5 "2023-07-12T14:27:51Z")

</div>

@marioruiz  
Thanks for your quick reply. I have resolved the problem referring to your instruction.  
I remove the `bundle=CTRL` in HLS to avoid creating an extra s\_axi interface, packing `port=return` and `port=len` into `s_axi_control`. In the end, the register\_map looked like that

 ![Screenshot 2023-07-12 at 22.27.20](https://us1.discourse-cdn.com/flex019/uploads/pynq1/original/2X/8/86beeff34d3e8f4715cd29386c97b2863b1a87cd.png)  
Great!

---

<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:** [July 12, 2023, 3:44pm UTC](https://discuss.pynq.io/t/about-the-register-map/5819/6 "2023-07-12T15:44:31Z")

</div>

Closed on July 12, 2023, 3:44pm UTC


