In reply to rag123:
what is the use of model.reset() method in uvm_reg_hw_reset_seq in RAL? I see based on the comments the sequence does the following. It calls model.reset() method, but i coudn’t actually see how it actually drives the reset. Can any one help?
model.reset() resets all the registers m_desired and m_mirrored values.
The reset() method resets the properties of a register field, if the m_reset[kind] exists. The default kind is “HARD”. If the m_reset[kind] does not exist, the reset() method does nothing.
Note that the reset() method does not reset a register in the DUT. It only resets the properties of a register-field object like m_desired, m_mirrored.