# Can only bind to modules or module instances

**URL:** <https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869>\
**Category:** SystemVerilog\
**Tags:** system-verilog-coverage-with-clause-coverpoints, SystemVerilog, bind\
**Created:** [September 24, 2022, 9:25am UTC](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869 "2022-09-24T09:25:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_r\_m](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@m\_r\_m](https://verificationacademy.com/forums/u/m_r_m)\
**Post date:** [September 24, 2022, 9:25am UTC](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869/1 "2022-09-24T09:25:44Z")

</div>

I am reasonably new to the bind/module instantiation, would need a help here.

Error Signature:

```verilog

Error-[SVA-COBMMI] Can only bind to modules or instances.
bind 
top. **** some_file_csr
bind_dut bind_dut_i(.*); 

```

```verilog

bind `DEFINE.dut_m bind_dut #(.NUM_INTF(`NUM_INTF),
                                                  ._NUM(`_NUM),
                                                  ._WIDTH(`_WIDTH),
                                                  .DUT_INSTANCE(`BIND_DUT_INST)) bind_dut_i ( .* ); 

```

```verilog

//
I am not sure about how are we binding to this dut_m instace // any help here would be helpful.  
some_dut /* its a module 8 */ #(.NUM_INTF (NUM_INTF),
         .DUT_INSTANCE (`BIND_DUT_INST)) dut_m  

```

bind\_dut is a module and having all 4 parameter in it.  
FYI:  
dut\_m is having 20 port connection.  
bind\_dut is having 18 port connection

---

<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:** [September 25, 2022, 1:01am UTC](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869/2 "2022-09-25T01:01:09Z")

</div>

_In reply to [m\_r\_m](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869):_

The error message you show has identifiers that do not match the code you show.

---

<div class="post-metadata">

**Author:** ![m\_r\_m](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/5daacb/32.png) [@m\_r\_m](https://verificationacademy.com/forums/u/m_r_m)\
**Post date:** [September 25, 2022, 2:25am UTC](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869/3 "2022-09-25T02:25:40Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869/2):_

Updated, thanks

---

<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:** [September 26, 2022, 4:59pm UTC](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869/4 "2022-09-26T16:59:15Z")

</div>

_In reply to [m\_r\_m](https://verificationacademy.com/forums/t/can-only-bind-to-modules-or-module-instances/40869/3):_

What are your macro definitions?
