-
Notifications
You must be signed in to change notification settings - Fork 728
est: create via resistors in series between tree and pin nodes #8426
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
Closed
eder-matheus
wants to merge
35
commits into
The-OpenROAD-Project:master
from
eder-matheus:est_via_res
Closed
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
b3f07df
est: remove redundant resistor connection
eder-matheus cf6745a
dbSta: don't write zero cap nodes into spef
eder-matheus 0a902d1
est: add function to compute max index from SteinerTree
eder-matheus 7d3aa54
est: add mid nodes to connect via resistors in series
eder-matheus 2d0caed
est: create insertViaResistances and handle pins above the tree layer
eder-matheus a79af5a
est: refactor insertViaResistances to reduce function lenght
eder-matheus 4c63e0b
rsz: update ok files
eder-matheus c0b51d8
gpl: update ok files
eder-matheus c4dbe35
grt: update ok files
eder-matheus e1779f4
cts: update ok files
eder-matheus 9e3233f
est: update ok files
eder-matheus c09ecad
est: add small resistor to connect pin and tree in the same layer
eder-matheus 0877456
est: minor fixes
eder-matheus 8247538
Merge branch 'master' of https://github.com/The-OpenROAD-Project/Open…
eder-matheus 5b8cde1
Merge branch 'master' into est_via_res
eder-matheus ab55c37
Merge branch 'master' into est_via_res
eder-matheus 604f08c
est: fix pin layer detection
eder-matheus e3b16a1
est: insert vias only when pin and tree layers are different
eder-matheus 30f33b6
Merge branch 'master' into est_via_res
eder-matheus 3d4a2ff
est: add small resistor between pin and tree node when they are in th…
eder-matheus 1a42ed2
est: clang-format
eder-matheus fa9837c
test: update metrics for aes_sky130hd
eder-matheus 7ec5867
Merge branch 'master' of https://github.com/The-OpenROAD-Project/Open…
eder-matheus 6428ec4
Merge branch 'master' into est_via_res
eder-matheus afafc4e
Merge branch 'master' into est_via_res
eder-matheus f525a0c
cts: update ok file
eder-matheus 69b690d
Merge branch 'master' of https://github.com/The-OpenROAD-Project/Open…
eder-matheus fce4500
Merge branch 'master' of https://github.com/The-OpenROAD-Project/Open…
eder-matheus 8547985
Merge branch 'master' of https://github.com/The-OpenROAD-Project/Open…
eder-matheus 42f8924
Merge branch 'master' into est_via_res
eder-matheus 8b6fd13
Merge branch 'master' into est_via_res
eder-matheus 62601aa
est: clang-tidy
eder-matheus f4e8bc4
test: update jpeg_sky130hd metrics limits
eder-matheus f703a4b
Merge branch 'master' into est_via_res
eder-matheus 0d40ba5
Merge branch 'master' of https://github.com/The-OpenROAD-Project/Open…
eder-matheus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ | |
|
|
||
| #include "est/SteinerTree.h" | ||
|
|
||
| #include <algorithm> | ||
| #include <cmath> | ||
| #include <cstddef> | ||
| #include <string> | ||
|
|
@@ -80,6 +81,18 @@ void SteinerTree::locAddPin(const odb::Point& loc, const Pin* pin) | |
| loc_pin_map_[loc].push_back(pin); | ||
| } | ||
|
|
||
| int SteinerTree::getMaxIndex() const | ||
| { | ||
| int max_index = -1; | ||
| for (int i = 0; i < branchCount(); i++) { | ||
| const stt::Branch& branch_pt = tree_.branch[i]; | ||
| max_index = std::max(max_index, i); | ||
| max_index = std::max({max_index, branch_pt.n}); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no header providing "std::max" is directly included [misc-include-cleaner] max_index = std::max({max_index, branch_pt.n});
^ |
||
| } | ||
|
|
||
| return max_index; | ||
| } | ||
|
|
||
| void SteinerTree::branch(int index, | ||
| // Return values. | ||
| odb::Point& pt1, | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
warning: no header providing "std::max" is directly included [misc-include-cleaner]
src/est/src/SteinerTree.cpp:5: