-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StdRegister offset #76
Comments
This is an old discussion... We use I'd recommend to stick with "offset" and fix the behavior. You can implement error checks for the offset and throw an error with a meaningful error message. |
For v2.5.0? It may lead to compatibility issues at the begining. |
So, do we add a new class for that? |
This seems ok. To FieldRegister or just Register? |
I vote for Register |
I started to work on this for 3.0. There is one complication. At the moment, |
I agree. |
As pointed by @hansk68
offset
should point to LSB and not to MSB position.Changing this will break a lot of compatibilities.
Options:
offset
and change this something else likelsb_pos
used here: https://www.vmmcentral.org/uvm_vmm_ik/files3/reg/uvm_reg_field-svh.htmloffset
Comments welcome.
The text was updated successfully, but these errors were encountered: