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

Review commands affecting SDC files #1904

Open
donn opened this issue Jul 18, 2023 · 3 comments
Open

Review commands affecting SDC files #1904

donn opened this issue Jul 18, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@donn
Copy link
Collaborator

donn commented Jul 18, 2023

Description

Some commands ran by the flow may alter the contents of generated SDC files, for example:

  • unset_dont_touch may interfere with configurations set by users' SDC files. Since we unset all the variables irrespective of their original don't touch state, this may overwrite one of them.

Proposal

We need to decide on all of:

  • Whether the original SDC file should be read or not. The SDC file should still be written after every step (useful for debugging, etc.)
    • While if the SDC file changing at all could be indicative of issues, the reality is working around issues with tools is far from an unorthodox practice where OpenLane is concerned.
  • Whether we care about resizer set_dont_touch/unset_dont_touch aliasing set_dont_touch in the SDC file.
    • The reality is, the values for these two are controlled by a variable anyway (Review commands affecting SDC files #1904 (comment)), meaning that if a user puts set_dont_touch in both the SDC file and the variable, there is a case to be made that it is the user's responsibility, but on the other hand, that is totally something a user would do then go insane.
@donn donn added the enhancement New feature or request label Jul 18, 2023
@donn donn changed the title Review unset_ commands Review unset_dont_touch commands Jul 18, 2023
@kareefardi
Copy link
Collaborator

We only call unset_dont_touch on variables defined in RSZ_DONT_TOUCH_RX and RSZ_DONT_TOUCH.

@donn donn changed the title Review unset_dont_touch commands Review commands affecting SDC files Jul 31, 2023
@kareefardi
Copy link
Collaborator

@donn what is the action here?

@donn
Copy link
Collaborator Author

donn commented Dec 25, 2023

We should, when we're in set_dont_touch, check if a net/instance is already marked as "don't touch" and only unset it in unset_dont_touch if it wasn't already set.

This should also be propagated to OL2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants