# UVM monitor error

**URL:** <https://verificationacademy.com/forums/t/uvm-monitor-error/36634>\
**Category:** UVM\
**Tags:** UVM, error, monitor-to-scoreboard\
**Created:** [October 6, 2019, 7:19am UTC](https://verificationacademy.com/forums/t/uvm-monitor-error/36634 "2019-10-06T07:19:29Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![PedroCavalcante](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/pedrocavalcante/32/4095_2.png) [@PedroCavalcante](https://verificationacademy.com/forums/u/PedroCavalcante)\
**Post date:** [October 9, 2019, 7:20am UTC](https://verificationacademy.com/forums/t/uvm-monitor-error/36634/9 "2019-10-09T07:20:55Z")

</div>

_In reply to [SV26](https://verificationacademy.com/forums/t/uvm-monitor-error/36634/8):_

The variables driver\_cb.addr and driver\_cb.wr is illegally driven by a  
blocking assignment.

A simple solution is to change only the code displayed in my previous post to look like this:

```
     vif.driver_cb.wr <= req.wr;
     vif.driver_cb.addr <= req.addr;
     @ (vif.driver_cb)
     req.rdata = vif.driver_cb.rdata;

```

It is not a good practice to use blocking and nonblocking assignment in the same task but it solves your problem.

---

_[View the full topic](https://verificationacademy.com/forums/t/uvm-monitor-error/36634)._
