1.22.0
New Features
- Add
RegNode.is_interrupt_reg
- Add
RegNode.is_halt_reg
- Include offending text in "illegal name" import exceptions
FieldNode.implements_storage
now returns True for counters, interrupts, and sticky/stickybit fields
New Validation
- Enforce that
next
property requires field to be hw writable. - Add check for conflicting edge-sensitive interrupt that uses whole-field sticky property.
- Add check for conflicting
sticky
/stickybit
withwe
/wel
properties - A field that uses
sticky
/stickybit
properties shall be hw writable - Illegal to use
enable
/mask
/haltenable
/haltmask
on non-interrupt fields - Value of
incrwidth
/decrwidth
shall be between 1 and the width of the counter - Use of
overflow
/underflow
is pointless on counters that saturate. Emit error.
Bug Fixes
- Fix
intr type
to return None for non-interrupt fields - Fix uncaught error if local property assignment is attempted in the root namespace