Skip to content
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

Lax specification of register values' effects #33

Open
jonnew opened this issue Nov 9, 2024 · 1 comment
Open

Lax specification of register values' effects #33

jonnew opened this issue Nov 9, 2024 · 1 comment
Assignees
Milestone

Comments

@jonnew
Copy link
Member

jonnew commented Nov 9, 2024

The behavior of Running and Reset global acquisition registers is specified here:

- ``Running``: Set to > 0 to run the system clock and produce data. Set to 0 to

Rather than specifying precise values and reserved bits, which is much more forgiving for future modifications that mantain backwards compatibility, values are specified into two groups:

value == 0 -> Behavior A
value /= 0  -> Behavior B

I don't see a good reason to do this, at least in this case, rather than specifying e.g.

value == 0x0 -> Behavior A
value == 0x1 -> Behavior B
else -> Reserved

There may be other instances of this type of thing in the spec that we should consider.

@jonnew jonnew added this to the 2.0 milestone Nov 9, 2024
@jonnew
Copy link
Member Author

jonnew commented Nov 22, 2024

This has started to be addressed in various PRs but we need to do a look over to make sure its uniform across version 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants