Skip to content

Obtaining module handle based on the full name of the instance #1080

@mysoreanoop

Description

@mysoreanoop

For a separate/temporary need, is there a way to obtain a submodule instance's vpiHandle based on the full name of the submodule instance?

I have parsed the submodules and have stored their full names in a list.
At some point later, I need to recurse into the submodule (conditionally).

I tried saving vpiHandle in the list instead, but it does not seem to link back to the same node when used later (perhaps because I release the handles in the middle, I don't know).

I know the alternative is to recurse into every submodule and match the full names, but that feels inefficient.

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