Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SbNetwork: intf_defs collision when multiple instances of an SbDut have the same interface made external #219

Closed
sgherbst opened this issue May 10, 2024 · 0 comments · Fixed by #221

Comments

@sgherbst
Copy link
Contributor

Issue reported by @azaidy.

Problem is that the default name chosen is not necessarily unique. This would also apply if different SbDuts happened to have interfaces with the same name. A possible solution would be to create default names from the instance name and the interface name together. This should be guaranteed to be unique because instance names in a network must be unique, and interface names in a given instance must be unique.

On a separate note, name collisions should error out rather than clobbering silently.

@sgherbst sgherbst linked a pull request May 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant