# Delay in update of mirrored value in explicit prediction

**URL:** <https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380>\
**Category:** UVM\
**Tags:** prediction-monitor-scoreboard, RAL, RAL-UVM-PREDICTOR\
**Created:** [September 26, 2025, 1:51pm UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380 "2025-09-26T13:51:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DilipErappa](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/838e76/32.png) [@DilipErappa](https://verificationacademy.com/forums/u/DilipErappa)\
**Post date:** [September 26, 2025, 1:51pm UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/1 "2025-09-26T13:51:14Z")

</div>

Hello All,

I am doing explicit prediction and predictor is connected to interface UVC monitor.  
But when i do reg.write() and immediately in the next line if i use get\_mirrored\_value() i dont see the value getting returned but i see that value is updated later and when i do a read with check it matches.

Also, when i add some delay after write and do get\_mirrored\_value() i see the value which i intend to write. I want to know why this delay in updating mirrored value and how this delay can be compensated?  
I read in some of the blogs this delay is expected while dong explicit prediction, is it true so ?

---

<div class="post-metadata">

**Author:** ![yourcheers1](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/y/bbe5ce/32.png) [@yourcheers1](https://verificationacademy.com/forums/u/yourcheers1)\
**Post date:** [September 26, 2025, 5:54pm UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/2 "2025-09-26T17:54:29Z")

</div>

I think its based on the time a transaction is coming back from the driver vs monitor. Predictor is based on the monitor, if the monitor modeling is to send the transaction at later time, then you will have delay in prediction.

---

<div class="post-metadata">

**Author:** ![DilipErappa](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/838e76/32.png) [@DilipErappa](https://verificationacademy.com/forums/u/DilipErappa)\
**Post date:** [September 29, 2025, 7:32am UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/3 "2025-09-29T07:32:56Z")

</div>

Hi @yourcheers1  
Thanks for the reply but how could i avoid this from happening ? Shouldn’t I wait for response in monitor ?

---

<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:** [September 29, 2025, 9:03am UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/4 "2025-09-29T09:03:26Z")

</div>

There are several ways to avoid your problem. When using the monitor for prediction you have to adopt your timing. You could use an event to indicate the monitor has processed the transaction and is ready for further calculations. Or you could use an explicit predictor.

---

<div class="post-metadata">

**Author:** ![DilipErappa](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/838e76/32.png) [@DilipErappa](https://verificationacademy.com/forums/u/DilipErappa)\
**Post date:** [September 29, 2025, 12:32pm UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/5 "2025-09-29T12:32:00Z")

</div>

Hi @chr_sue  
I am using explicit prediction. Could you please point me to any of the such instances where events are used to synchronize?

---

<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:** [September 29, 2025, 1:00pm UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/6 "2025-09-29T13:00:51Z")

</div>

I mean to use a uvm\_predictor instead of feeding the responses through the monitor. I have never seen an event-based code example for your problem.

---

<div class="post-metadata">

**Author:** ![DilipErappa](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/838e76/32.png) [@DilipErappa](https://verificationacademy.com/forums/u/DilipErappa)\
**Post date:** [September 29, 2025, 2:03pm UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/7 "2025-09-29T14:03:39Z")

</div>

okay thanks no problem!!

---

<div class="post-metadata">

**Author:** ![DilipErappa](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/d/838e76/32.png) [@DilipErappa](https://verificationacademy.com/forums/u/DilipErappa)\
**Post date:** [October 8, 2025, 9:57am UTC](https://verificationacademy.com/forums/t/delay-in-update-of-mirrored-value-in-explicit-prediction/51380/8 "2025-10-08T09:57:33Z")

</div>

@dave_59 Any comments on this ?
