Skip to content

1.31.0

Choose a tag to compare

@amykyta3 amykyta3 released this 15 Nov 19:53
· 5 commits to main since this release

Summary

Updates:

  • Add Node utilities for querying overlapping registers and fields
  • Add Node.component_type_name property

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_overlaps
  • FieldNode.overlapping_fields
  • RegNode.has_overlaps
  • RegNode.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.