# How to update the mirror value of register

**URL:** <https://verificationacademy.com/forums/t/how-to-update-the-mirror-value-of-register/33242>\
**Category:** UVM\
**Tags:** UVM, Mirrored-values-and-desired-values-in-UVM-RAL, RAL, register-read-mirror-set\_check\_on\_read, mirrored-value\
**Created:** [June 23, 2017, 12:37pm UTC](https://verificationacademy.com/forums/t/how-to-update-the-mirror-value-of-register/33242 "2017-06-23T12:37:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 27, 2017, 11:58am UTC](https://verificationacademy.com/forums/t/how-to-update-the-mirror-value-of-register/33242/6 "2017-06-27T11:58:55Z")

</div>

_In reply to [murali405](https://verificationacademy.com/forums/t/how-to-update-the-mirror-value-of-register/33242/5):_

You mean uvm\_reg\_data\_t? Correct?  
This is a 2 state data types. It Looks like the mirror does not work and Returns the default value of a 2 state data type.  
Could you please use uvm\_reg\_data\_logic\_t? If my guess is correct it should return ‘x’.

---

_[View the full topic](https://verificationacademy.com/forums/t/how-to-update-the-mirror-value-of-register/33242)._
