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

Db network connect #6727

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

andyfox-rushc
Copy link
Contributor

This draft pull request includes modifications to the dbNetwork connect apis.
Specifically the new api call:

void dbNetwork::connectPin(Pin* pin, Net* flat_net, Net* hier_net)

This one allows a pin to be simultaneously hooked to a flat net and a hierarchical net.

The intent is to simplify the coding so a pin is not first checked for a hierarchical net, disconnected and then hooked to new flat and hierarchical nets.

Some other clean up performed (eg explicit removal of flat net and hier net and some further journalling/undo support).

@andyfox-rushc andyfox-rushc marked this pull request as draft February 17, 2025 21:01
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@andyfox-rushc andyfox-rushc marked this pull request as ready for review February 18, 2025 22:05
@rovinski
Copy link
Collaborator

I would recommend printing the offending net name(s) in the errors if practical.

@andyfox-rushc
Copy link
Contributor Author

Cho @cmoon has been notified of the change to swapMaster and I respectfully suggest that if necessary any further error handling be added in a separate pull request. I can imagine a situation in which it is total ok to kill any existing modNet on a new iterm during swapMaster (eg when swapping in something that was not properly disconnected). My problem was the implied disconnection of the hierarchical net when connecting to a flat net (connect(dbNet) was implicitly killing both the hierarchical net and the dbNet if present). So I fixed that part (made connect(dbNet) only kill an existent dbNet) and then made the modNet removal explicit in the swapMaster code. But I defer to Cho on this issue in swapMaster.

Signed-off-by: andyfox-rushc <[email protected]>
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

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 this pull request may close these issues.

2 participants