# If my monitor samples some data and if ,based on some conditions i need some signal in the interface to be asserted, how can i do that?

**URL:** <https://verificationacademy.com/forums/t/if-my-monitor-samples-some-data-and-if-based-on-some-conditions-i-need-some-signal-in-the-interface-to-be-asserted-how-can-i-do-that/37467>\
**Category:** UVM\
**Tags:** UART, UVM, VIP\
**Created:** [April 20, 2020, 4:45pm UTC](https://verificationacademy.com/forums/t/if-my-monitor-samples-some-data-and-if-based-on-some-conditions-i-need-some-signal-in-the-interface-to-be-asserted-how-can-i-do-that/37467 "2020-04-20T16:45:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adharshh](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@Adharshh](https://verificationacademy.com/forums/u/Adharshh)\
**Post date:** [April 20, 2020, 4:45pm UTC](https://verificationacademy.com/forums/t/if-my-monitor-samples-some-data-and-if-based-on-some-conditions-i-need-some-signal-in-the-interface-to-be-asserted-how-can-i-do-that/37467/1 "2020-04-20T16:45:30Z")

</div>

Hi,  
I have a passive agent, monitoring some frame data driven on a line, and once i have sampled the frame, i need to assert an interface signal.How ca/n i do this in a passive agent??

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [April 20, 2020, 5:54pm UTC](https://verificationacademy.com/forums/t/if-my-monitor-samples-some-data-and-if-based-on-some-conditions-i-need-some-signal-in-the-interface-to-be-asserted-how-can-i-do-that/37467/2 "2020-04-20T17:54:51Z")

</div>

_In reply to [adharshh](https://verificationacademy.com/forums/t/if-my-monitor-samples-some-data-and-if-based-on-some-conditions-i-need-some-signal-in-the-interface-to-be-asserted-how-can-i-do-that/37467):_

The scenario you are describing is not typical for a monitor. A better solution is to write a (concurrent) assertion, observing your data line and setting the corresponding signal.
