Modified the magic techfile "cifinput" section to always draw a pwell layer under N diffusion and P tap. This is not strictly necessary but will prevent extraction errors when circuits are placed in a deep nwell area.
diff --git a/VERSION b/VERSION index 4a063f1..86738f9 100644 --- a/VERSION +++ b/VERSION
@@ -1 +1 @@ -1.0.141 +1.0.142
diff --git a/sky130/magic/sky130.tech b/sky130/magic/sky130.tech index 2d9527c..75c77c5 100644 --- a/sky130/magic/sky130.tech +++ b/sky130/magic/sky130.tech
@@ -2282,9 +2282,13 @@ variants * labels SUBPIN port - # Always draw pwell under p-tap - layer pwell TAP + # Always draw pwell under p-tap and n-diff. This is not always + # necessary but works better with deep nwell for correct extraction. + layer pwell TAP,DIFF and-not NWELL + grow 130 + grow 420 + shrink 420 # Always draw pwell in deep-nwell P-regions layer pwell DNWELL