OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

Via Enclosure Issue: Metal not extended to satisfy enclosure rules

Open Asma-Mohsin opened this issue 1 month ago • 3 comments

Describe the bug

We are using OpenROAD inside LibreLane with a closed source PDK. Some of the vias would violate the enclosure DRCs if they were just placed without any extended metal connection. Commercial tools therefore extend the Metal2 connection on the opposite side of the signal connection which ensures that the enclosure is big enough. How do we have to constrain OpenROAD so that it also adds this extra Metal2 to satisfy the DRCs?

Since we are working with a closed source PDK, we can't share a test case for now. We could try to replicate the issue in an open PDK like IHP130, but we first wanted to ask if someone can already help us with the provided information.

OpenROAD 341650e72dad0dc8571822ff8c5d9c5e365327f7 LibreLane v3.0.0.dev32

Expected Behavior

Metal should be extended to satisfy enclosure rules

OpenROAD Environment

.

OpenLane Environment

.

To Reproduce

None

Relevant log output

\[WARNING DRT-0349\] LEF58\_ENCLOSURE with no CUTCLASS is not supported. Skipping for layer VIA1
\[WARNING DRT-0349\] LEF58\_ENCLOSURE with no CUTCLASS is not supported. Skipping for layer VIA2
\[WARNING DRT-0349\] LEF58\_ENCLOSURE with no CUTCLASS is not supported. Skipping for layer VIA3
\[WARNING DRT-0349\] LEF58\_ENCLOSURE with no CUTCLASS is not supported. Skipping for layer VIA4
\[WARNING DRT-0349\] LEF58\_ENCLOSURE with no CUTCLASS is not supported. Skipping for layer VIA5

Screenshots

Yellow -Metal 2 White -Metal1 Orange -VIA1

Expected Behaviour: Image

Actual Behaviour: Image

Additional Context

No response

Asma-Mohsin avatar Nov 04 '25 14:11 Asma-Mohsin

Generally you have a min area rule that covers this and OR does support them.

maliberty avatar Nov 04 '25 14:11 maliberty

Not exactly sure what do you mean by min area rule in this context. The issue is that the pdk has some vias in which metal enclosure is not sufficient to satisfy the DRC and we want OR to extend metal enclosure to satisfy them.

Asma-Mohsin avatar Nov 04 '25 15:11 Asma-Mohsin

You mean the via itself is invalid? We don't have any support for that. https://precisioninno.com can provide paid support under NDA.

maliberty avatar Nov 04 '25 16:11 maliberty