Hi,
I am using RAL in my env.
When i use set/update method. My reg_adapter recives reg_item.offset set to 0 (not correct one)
axi_model.MR8.BT.set(bt);
axi_model.MR8.BL.set(bl);
axi_model.MR8.update();
But is use write method. My reg_adapter recives reg_item.offset set to 8(Which proper value)
axi_model.MR8.write(.status(status),.value({bt,bl}),.path(UVM_FRONTDOOR));
Could you please let me know, what may be wrong.
Thanks
Saravanan
In reply to saravanantvs:
What do you mean with offset? You should write a register or reg_field. I guess your register is MR8 and it has 2 reg_fields: BT and BL correct?
In reply to chr_sue:
It has more than 2 fields, But i want to update only two fields in that.
In reply to saravanantvs:
This was my guess. But what does this mean ‘When i use set/update method. My reg_adapter recives reg_item.offset set to 0’. RD/WR a register does not set the offset.