Repository navigation
drt: suppress DRT-0349 warning on PDKs without CUTCLASS support #10174
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
dnltz
wants to merge
2
commits into
The-OpenROAD-Project:master
from
dnltz:WIP/dnltz/suppress-drt-0349
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| or_integration_tests( | ||
| "drt" | ||
| TESTS | ||
| cutclass_enclosure | ||
| down_access_term | ||
| drc_test | ||
| ispd18_sample | ||
|
|
||
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 |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| [INFO ODB-0227] LEF file: sky130hs/sky130hs.tlef, created 13 layers, 25 vias | ||
| [INFO ODB-0227] LEF file: sky130hs/sky130hs_std_cell.lef, created 390 library cells | ||
| [INFO ODB-0128] Design: gcd | ||
| [INFO ODB-0130] Created 1 pins. | ||
| [INFO ODB-0131] Created 4 components and 24 component-terminals. | ||
| [INFO ODB-0133] Created 1 nets and 4 connections. | ||
| [WARNING GRT-0008] The read_guides command does not allow parasitics estimation from the guides file. | ||
| [WARNING DRT-0349] LEF58_ENCLOSURE without CUTCLASS qualifier is not supported on layer mcon which defines CUTCLASS rules; skipping this rule. | ||
| [WARNING DRT-0349] LEF58_ENCLOSURE without CUTCLASS qualifier is not supported on layer mcon which defines CUTCLASS rules; skipping this rule. | ||
| [INFO DRT-0167] List of default vias: | ||
| Layer via | ||
| default via: M1M2_PR | ||
| Layer via2 | ||
| default via: M2M3_PR | ||
| Layer via3 | ||
| default via: M3M4_PR | ||
| Layer via4 | ||
| default via: M4M5_PR | ||
| [INFO DRT-0168] Init region query. | ||
| [INFO DRT-0033] FR_MASTERSLICE shape region query size = 0. | ||
| [INFO DRT-0033] FR_VIA shape region query size = 0. | ||
| [INFO DRT-0033] li1 shape region query size = 56. | ||
| [INFO DRT-0033] mcon shape region query size = 32. | ||
| [INFO DRT-0033] met1 shape region query size = 17. | ||
| [INFO DRT-0033] via shape region query size = 0. | ||
| [INFO DRT-0033] met2 shape region query size = 0. | ||
| [INFO DRT-0033] via2 shape region query size = 0. | ||
| [INFO DRT-0033] met3 shape region query size = 0. | ||
| [INFO DRT-0033] via3 shape region query size = 0. | ||
| [INFO DRT-0033] met4 shape region query size = 0. | ||
| [INFO DRT-0033] via4 shape region query size = 0. | ||
| [INFO DRT-0033] met5 shape region query size = 1. | ||
| [INFO DRT-0178] Init guide query. | ||
| [INFO DRT-0036] FR_MASTERSLICE guide region query size = 0. | ||
| [INFO DRT-0036] FR_VIA guide region query size = 0. | ||
| [INFO DRT-0036] li1 guide region query size = 4. | ||
| [INFO DRT-0036] mcon guide region query size = 0. | ||
| [INFO DRT-0036] met1 guide region query size = 3. | ||
| [INFO DRT-0036] via guide region query size = 0. | ||
| [INFO DRT-0036] met2 guide region query size = 2. | ||
| [INFO DRT-0036] via2 guide region query size = 0. | ||
| [INFO DRT-0036] met3 guide region query size = 1. | ||
| [INFO DRT-0036] via3 guide region query size = 0. | ||
| [INFO DRT-0036] met4 guide region query size = 1. | ||
| [INFO DRT-0036] via4 guide region query size = 0. | ||
| [INFO DRT-0036] met5 guide region query size = 1. | ||
| [INFO DRT-0179] Init gr pin query. |
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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Test DRT-0349: LEF58_ENCLOSURE without CUTCLASS qualifier on a layer | ||
| # that defines CUTCLASS rules should warn, not silently skip. | ||
| source "helpers.tcl" | ||
| read_lef "sky130hs/sky130hs.tlef" | ||
| read_lef "sky130hs/sky130hs_std_cell.lef" | ||
| read_def "obstruction.def" | ||
| read_guides "obstruction.guide" | ||
|
|
||
| # Add a CUTCLASS rule to mcon via ODB API. | ||
| # The existing plain ENCLOSURE rules on mcon (from sky130hs.tlef) | ||
| # lack a CUTCLASS qualifier, which should trigger DRT-0349. | ||
| set tech [ord::get_db_tech] | ||
| set mcon [$tech findLayer mcon] | ||
| odb::dbTechLayerCutClassRule_create $mcon VA | ||
| set cut_class [$mcon findTechLayerCutClassRule VA] | ||
| $cut_class setWidth 170 | ||
|
|
||
| set_routing_layers -signal met1-met5 | ||
| detailed_route -verbose 0 |
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
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.
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.
@dnltz My main concern is with the logic here. In the case where
LEF58_ENCLOSUREis present butCUTCLASSis missing (even if the layer doesn't define cutclasses), DRT silently skips the enclosure rule without informing the user.The purpose of this warning is not to report a PDK issue. It is to make it clear that DRT does not currently support/apply that rule, which is important information when debugging a routing issue or bringing up a new technology.
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.
@osamahammad21 thank you for your feedback. I already had a pull-request open to suppress this warning in OpenROAD. It feels a little odd to disable this for all open source PDKs right now, but that's fine :)
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.
@maliberty should I re-open The-OpenROAD-Project/OpenROAD-flow-scripts#3919 and suppress this warning for IHP? Should I also extend this PR to do the same for GF180 and SKY130?