RAL module

Hi,
I have one doubt on ral model while writing read and write in sequence of ral model, inside the write method in the place of value which value we have to write whether its reset value or the value from our dut
here im attaching a piece of my code
//CONTROL REGISTER
regmodel.m_ctrl.RESEN.write(status,PWDATA[1]);
//assert( status == UVM_IS_OK );
regmodel.m_ctrl.INTEN.write(status,PWDATA[0]);
//assert( status == UVM_IS_OK );
if(status==UVM_NOT_OK)
$display(“write reg seqnce error”);
regmodel.m_ctrl.RESEN.read(status,incoming);
// assert( status == UVM_IS_OK );

  regmodel.m_ctrl.INTEN.read(status,incoming);

In reply to SPE:

You should write what you need to write, nothing else. The registers can have a reset value. You can reach these values by calling reset on the RAL model. And you can synchronize the registers in the DUT and in the RAL model depending on what is the right value.

In reply to chr_sue:
Hi chr_sue
thanks for the reply