-
Notifications
You must be signed in to change notification settings - Fork 49
Fix isBuffer
#329
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
base: master
Are you sure you want to change the base?
Fix isBuffer
#329
Conversation
…sBuffer (+ other functions) to accommodate wells
|
Well I guess we can argue about the need for a well port direction over using LibertyPort::isPwrGnd, which means pg_pin in liberty speak and is probably what you really mean for excluding wells. |
|
The difference between Probably the best solution is to simply replace most instances of |
|
(Also |
I can't say I find that clearer and we are in the process of integrating with the current name. |
|
It could. But in OpenSTA speak it is not a pin; it is a port. And there is
no point in having a Port in the name of a port member function because it
is redundant. The header comment tries to make the pg_pin related functions
clear.
…On Fri, Nov 14, 2025 at 3:39 PM Akash Levy ***@***.***> wrote:
*akashlevy* left a comment (parallaxsw/OpenSTA#329)
<#329 (comment)>
(Also isPwrGnd could be renamed to is isPGPin or something like that for
more clarity)
—
Reply to this email directly, view it on GitHub
<#329 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAKEVHAQOFF6LAZU7GOTIAL34ZK3LAVCNFSM6AAAAACLU4WBHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKMZUHEZTQNRXG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
isBuffer
|
Yeah, let's minimize changes; I don't care to argue for Let's just fix the issue at hand, which is |
I discovered a bug when one of our tests failed on
is_bufferproperty check on SKY130. It's clearly a buffer but is marked as a non-buffer because of the wells in SKY130. I've included a minimal example in thetests/directory.This PR adds a
PortDirectionenum value for wells (nwell,pwell,deepnwell,deeppwell) and ignores them in a couple places where they should be ignored (I just searched forisPowerGround()and evaluated whether wells should be ignored at those places).Let me know if any changes are needed. Thanks!