# Smart way to bundle up multiple RTL signals when passing to monitor

**URL:** <https://verificationacademy.com/forums/t/smart-way-to-bundle-up-multiple-rtl-signals-when-passing-to-monitor/47196>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog, UVM-monitor\
**Created:** [May 1, 2024, 9:59pm UTC](https://verificationacademy.com/forums/t/smart-way-to-bundle-up-multiple-rtl-signals-when-passing-to-monitor/47196 "2024-05-01T21:59:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uvmsun101](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/u/e95f7d/32.png) [@uvmsun101](https://verificationacademy.com/forums/u/uvmsun101)\
**Post date:** [May 1, 2024, 9:59pm UTC](https://verificationacademy.com/forums/t/smart-way-to-bundle-up-multiple-rtl-signals-when-passing-to-monitor/47196/1 "2024-05-01T21:59:11Z")

</div>

Hi I am trying to clean up legacy code in SV. The way signals are hookup between monitor and RTL is through bind

```auto
bind rtl_top a_monitor a_monitor_u(
  .abc ({`PATH_TO_MODULE0.sig1,
`PATH_TO_MODULE1.sig2,
`PATH_TO_MODULE2.sig3,
`PATH_TO_MODULE3.sig4,
`PATH_TO_MODULE4.sig5
})
);

```

in monitor abc is defined as an array  
bit abc [5];

Is there a cleaner way to handle RTL signal declaration? If in next project MODULE increases to 20, have to manually add lines of code.

There is no interface defined, so cant use interface to pass signals

---

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [May 2, 2024, 2:30am UTC](https://verificationacademy.com/forums/t/smart-way-to-bundle-up-multiple-rtl-signals-when-passing-to-monitor/47196/2 "2024-05-02T02:30:13Z")

</div>

Unless there is an index **n** as part of ` `PATH_TO_MODULE[n].sig[n+1]`, there is no _cleaner_ way.
