GitHub
01/29/2025, 1:48 PMprBndry
from sky130: https://skywater-pdk.readthedocs.io/en/main/rules/layers.html
Taking a look at the "SG13G2 Layout Rules" it seems that 189:0 is the correct layerdatatype
Image
But if we look at the sg13g2_stdcell
cells we can see that 189:4 is used exclusively for the boundary.
The KLayout layer property files designate 189:4 as prBoundary.boundary:
IHP-Open-PDK/ihp-sg13g2/libs.tech/klayout/tech/sg13g2.lyp
Line 5664 in</IHP-GmbH/IHP-Open-PDK/commit/4c6508d03a3078b21c737d04fae5dccec9aa590f|4c6508d>
| <source>189/0</source> |
| ---------------------- |
So it seems that 189:4 is the correct layer:datatype pair for DIEAREA
.
---
In summary:
1. The KLayout LEF/DEF mapping uses the wrong layer:datatype for the boundary
2. The documentation is missing 189:1 and 189:4 and should probably state that 189:4 should be used as boundary
3. I'm not sure what the COMP
statement in the LEF/DEF mapping is used for, maybe someone can clarify that?
Thanks!
PS: It seems the LEF/DEF mapping was initially copied from the OpenROAD-flow-scripts: https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/flow/platforms/ihp-sg13g2/sg13g2.map
So it should probably either be removed or updated on there.
IHP-GmbH/IHP-Open-PDK