-
Notifications
You must be signed in to change notification settings - Fork 598
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
Slight difference in results when using -corners #6175
Comments
Hello. Any progress on this issue? |
Hi @kareefardi, I see the difference between runs only happens after the first timing-driven iteration. I am not yet fully aware of the implications of the set_wire_rc command from rsz. |
Hello @gudeh. From a usage point of view, I believe they should be equivalent. |
I guess this can also be avoid by understanding this error:
This happens when |
FYI, test.tar.gz is misnamed as it is not compressed and should be test.tar |
Thanks |
Hi @kareefardi I did some debugging and I believe there are some floating point errors here. I changed your tcl script to show the values of RC per layer, the original value and the value after you use the command On the image I printed the values for layer met2. On the top is the value read from With this difference the |
Also I was not able to reproduce this warnings. |
Thanks for debugging.
Yes this isn't part of the test case. But I noticed that I didn't describe how to fully create it. If you call Here is a tcl script to use script.tar.gz The reason why I was reading the default values and setting them again is due to this error |
I see, this error happens because if you call |
I don't understand the linkage between set_layer_rc and set_wire_rc. They seem like independent commands and information. Would you expand on the connection? |
Sure, when |
Thanks @arthurjolo for looking into it. I am also interested in the current behavior of OR. Assuming the following scenarios: Scenario A:
Scenario B:
I would assume that calling |
Discussed in #6174
Originally posted by kareefardi November 17, 2024
test.tar.gz
This is a test case of two scripts running global placement. Both functionally should be identical. The difference is one uses
-corner
forset_wire_rc
while the other doesn't.For the case using
-corner
,set_layer_rc
is needed. The code attempts to fetch the default values in the tlef and reuse them inset_layer_rc
after doing the necessary unit conversions.There seems to be a slight difference in the output generated from both runs (notice the reported slacks and HPWL) and I am wondering if this a round-off error, a methodology error at my end or something else related to OR itself.
The text was updated successfully, but these errors were encountered: