Skip to content

During export, check for identifier collisions in output #6

@amykyta3

Description

@amykyta3

See example in SystemRDL/systemrdl-compiler#193

Current implementation will silently emit colliding output, or even reuse an incorrect typedef.
Monitor for this and emit an error if it occurs.

Ideas for fix:

  • Temporarily generate prefixes using non-underscore characters that are impossible to specify in RDL source.
  • Use the above prefix as the source of truth to uniquely identify a type name
  • Replace special delimiter chars with underscores and check if it collides with an existing scope prefix elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions