Skip to content

Set abbreviated Node.type_name for long parameterized types  #198

Open
@erang20

Description

@erang20

RDL parameterized types translate to Node.type that contains the list of parameters and their values. For example:

regfile some_regfile #(
    longint unsigned PARAM_A,
    longint unsigned PARAM_B,
) {
...
}

Might be instantiated as a Node with type_name = some_regfile_PARAM_A_200_PARAM_B_300

The list of parameters might be very long in some cases, so it would be helpful to add an option (e.g. max_node_type_param_lengh to abbreviate a long parameters list to a 32 bit hash hex, e.g. some_regfile_2d8fa187 instead of a very long type name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions