Skip to content

Clear Namespace DB on subsequent exports. #28

@hughjackson

Description

@hughjackson

In some projects it may be useful to generate a full SoC UVM output and also multiple Block Level outputs. I have tried this and, with the default options, the classes don't get declared in later packages. I believe this is because of namespace_db which prevents class redeclaration. I think it would be good to add an option, to allow clearing of namespace_db at the start of the export method. Effectively each export would be considered unique. This can be worked around by creating a new exporter between exports, but this issue did confuse me for a little bit. Not sure if it is worth fixing, but worth clarifying somewhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions