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);