# How to pass clock to agent if interface does not have it

**URL:** <https://verificationacademy.com/forums/t/how-to-pass-clock-to-agent-if-interface-does-not-have-it/31455>\
**Category:** UVM\
**Tags:** UVM, clock, Generic-clock-generation\
**Created:** [February 1, 2016, 11:11pm UTC](https://verificationacademy.com/forums/t/how-to-pass-clock-to-agent-if-interface-does-not-have-it/31455 "2016-02-01T23:11:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [February 1, 2016, 11:38pm UTC](https://verificationacademy.com/forums/t/how-to-pass-clock-to-agent-if-interface-does-not-have-it/31455/2 "2016-02-01T23:38:34Z")

</div>

_In reply to [bvyas](https://verificationacademy.com/forums/t/how-to-pass-clock-to-agent-if-interface-does-not-have-it/31455):_

Why does the DV need a clock to operate on an interface, but the RTL does not? It seems like the RTL did not code up the interface correctly. Typically you use the port of an interface to represent shared signals, like clocks and resets.

Otherwise, you many want to code up an interface that contains all the global signals.

---

_[View the full topic](https://verificationacademy.com/forums/t/how-to-pass-clock-to-agent-if-interface-does-not-have-it/31455)._
