1.31.0
Summary
Updates:
- Add Node utilities for querying overlapping registers and fields
- Add
Node.component_type_nameproperty
Bugs Fixed:
- Fix
Node.find_by_path()to allow empty array suffixes
Details
Overlapping reg/field helper utilities
In SystemRDL is allowable to have registers or fields that exist at the same address or bit offset, as long as they do not have conflicting software access modes.
For example:
field {sw = r} ro_field[31:0];
field {sw = w} wo_field[31:0];
To make it easier for exporters to access information about potential overlaps, some additional helper properties have been added:
FieldNode.has_overlapsFieldNode.overlapping_fieldsRegNode.has_overlapsRegNode.overlapping_regs
Add Node.component_type_name property
This is a utility property that returns the SystemRDL component type name, such as "reg", "field", "addrmap", etc.
Not particularly exciting, but this can be useful when generating generic error messages to users about Node objects.