As pointed by @hansk68 `offset` should point to LSB and not to MSB position. Changing this will break a lot of compatibilities. Options: - break compatibility - remove `offset` and change this something else like `lsb_pos` used here: https://www.vmmcentral.org/uvm_vmm_ik/files3/reg/uvm_reg_field-svh.html - add new filed and deprecate `offset` Comments welcome.
As pointed by @hansk68
offsetshould point to LSB and not to MSB position.Changing this will break a lot of compatibilities.
Options:
offsetand change this something else likelsb_posused here: https://www.vmmcentral.org/uvm_vmm_ik/files3/reg/uvm_reg_field-svh.htmloffsetComments welcome.