# Covergroups inside VHDL code

**URL:** <https://verificationacademy.com/forums/t/covergroups-inside-vhdl-code/31560>\
**Category:** UVM\
**Tags:** UVM\
**Created:** [March 1, 2016, 7:05pm UTC](https://verificationacademy.com/forums/t/covergroups-inside-vhdl-code/31560 "2016-03-01T19:05:06Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![antonio92m](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@antonio92m](https://verificationacademy.com/forums/u/antonio92m)\
**Post date:** [March 12, 2016, 11:03am UTC](https://verificationacademy.com/forums/t/covergroups-inside-vhdl-code/31560/3 "2016-03-12T11:03:32Z")

</div>

_In reply to [dave\_59](https://verificationacademy.com/forums/t/covergroups-inside-vhdl-code/31560/2):_

Sorry for the late reply…  
Thank you for your answer, you really guided me!  
I found your article which is really good “The Missing Link: The Testbench to DUT  
Connection”

About the **bind** construct, you really pointed me in a great direction but I am still a bit lost. I guess I have to use it in my test module/class with syntax similar to:

```verilog
bind DUT: InterfaceName InterfaceInstanceNAme
    .InterfaceVariable(DUTSignal_1)
    .InterfaceVariable(DUTSignal_i)
    ....
);

```

Is there any website/book where I could find how to use most of the SV Syntax aspect?  
I am using the Ray Salemi UVM Primer book but there are some aspects like the bind trick I cannot find in it.

Dave the thing you mention about the tool limitations. I am using questasim so I do not have any problems. However I would like to have a code which also could be simulated in a different simulator. If possible…

Thanks,  
Antonio

---

_[View the full topic](https://verificationacademy.com/forums/t/covergroups-inside-vhdl-code/31560)._
