# UVM Driver to Monitor communication in a single agent

**URL:** <https://verificationacademy.com/forums/t/uvm-driver-to-monitor-communication-in-a-single-agent/32306>\
**Category:** UVM\
**Tags:** Constraint-SystemVerilog, abstract-driver, UVM, I2C-protocol, abstract-monitor, uvm\_set\_severity\
**Created:** [September 26, 2016, 3:53am UTC](https://verificationacademy.com/forums/t/uvm-driver-to-monitor-communication-in-a-single-agent/32306 "2016-09-26T03:53:35Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mayurkubavat](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/a9a28c/32.png) [@mayurkubavat](https://verificationacademy.com/forums/u/mayurkubavat)\
**Post date:** [September 26, 2016, 7:50am UTC](https://verificationacademy.com/forums/t/uvm-driver-to-monitor-communication-in-a-single-agent/32306/6 "2016-09-26T07:50:55Z")

</div>

_In reply to [MLearner](https://verificationacademy.com/forums/t/uvm-driver-to-monitor-communication-in-a-single-agent/32306/5):_

No need to use variable for ‘Z’ assignment,

You can do something like this in driver,

```verilog

vif.driver_cb.SDA = req.read_write;
@(vif.driver_cb)
vif.driver_cb.SDA = 1'bZ;

```

---

_[View the full topic](https://verificationacademy.com/forums/t/uvm-driver-to-monitor-communication-in-a-single-agent/32306)._
