-
Notifications
You must be signed in to change notification settings - Fork 414
Set the maximum pres_fac #2523
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
Set the maximum pres_fac #2523
Conversation
QoR data? |
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.
Small change again.
@amin1377 : please merge once CI passes. |
Thanks Amin. The code all looks good. Just for safety, can you run a VTR minimum channel width regtest to confirm QoR (min chan width, routing time, etc.) look OK for it? |
Looks good, thanks. I'll merge as soon as CI is green. |
This pull request introduces a new command line argument to set the maximum
pres_fac
, which is now defaulted to 1000.The
pres_fac
coefficient is used to adjust the cost of an overused net by multiplying it with the number of nets overusing it. This adjustment encourages the router to explore alternative routes. Previously, the maximum value for this coefficient was set to an extremely large number, resulting in strange router behavior such as excessive ripping up connections toward the end of routing. To address this issue, the default maximum value is now set to 1000, providing more predictable router behavior. Additionally, users have the flexibility to adjust this value as needed via the command line.