Hardware interview practice
RAL mirror with checking
In the UVM Register Abstraction Layer (RAL), a register's pre-read mirror is 0x5 while hardware contains 0x7. A successful mirror(status, UVM_CHECK) is performed on a readable field configured for checking. What is the intended outcome?
Choose one
Answer choices
- A. No comparison occurs; UVM_CHECK means update without checking
- B. The DUT is overwritten with 0x5 so the comparison passes
- C. The mismatch is reported against the pre-read mirror, then the mirror is updated to the observed 0x7
- D. The desired value is randomized and the mirror remains 0x5
