Mirroring in Register Abstraction Layer

In reply to Katri:

RAL does not mirror the value of RTL on its own. A change in RTL register doesn’t ensure that the RAL model register will replicate the change. Vice verse, if you have called ralmodel.randomize(), it doesn’t mean the RAL values are updated on the RTL registers. We will have to update these values
Suppose you called a reset function to reset DUT. In this case all the registers in RTL will shift to their default value ,however, this won’t be updated in the RAL model. To update RAL model we will have to call ralmodel.reset() function.
Typically, RAL model gets updated if either on a register is read or write. There is one more fuction , ralmodel.update() replicates the RAL value on the rtl.