Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Repair setup4 hier case 1 buffer #6048
base: master
Are you sure you want to change the base?
Repair setup4 hier case 1 buffer #6048
Changes from 11 commits
f5adaf0
8fd68e2
f412b55
8ee3bbf
2bc3085
bfdf1a0
ee1f044
20ffe7a
efd06d1
57400a3
a6bfdef
8d0f598
bc34e51
6c775ae
6a2bfbe
e1f0444
1b27603
9c89a1a
b31759e
842e502
80284f5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this done by string manipulation? Is this different from getChildModBTerm()->getName()? Why does moditerm even need to store its name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, I have put in the getChildModBTerm and remove the string manipulation.
I am sure not sure why but in the opensta both pins and port names are stored. So we do indeed store names in the modIterm and modBterm. I have updated the code and put in a comment about this in the dbSta/dbReadVerilog.cc. We can always get the ModBTerm for a modIterm using the getChildModBTerm api.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stray )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Poor comment, cleaned up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename is one word so no need a capital in reName.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
free is the opposite of strdup not delete.
I also don't see a free call in dbModNet::destroy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
Note the tbldestroy goes off and calls the destructor ~_dbModNet which inturn calls free on the name .
block->_modnet_tbl->destroy(_modnet);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You haven't removed the old name from the hash.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose? Nothing seems to use the results.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant code, removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't follow the comment. There is only one dbNet attached to the pin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another poor comment I am afraid. Cleaned up to call the new flatNet api, so it is clear that the parasiticsInvalid is applied to the dbNet only