Corrected rule poly.9 so that it is not flagged by type "rmp", which
is POLY + POLYSHORT, and not POLY + POLYRES, which is what the rule
refers to. This prevents false positive errors in the standard cell
tap cells, which contain the poly short layer.
diff --git a/sky130/magic/sky130.tech b/sky130/magic/sky130.tech
index deaa009..52d4558 100644
--- a/sky130/magic/sky130.tech
+++ b/sky130/magic/sky130.tech
@@ -5669,16 +5669,16 @@
spacing xhrpoly,uhrpoly,xpc alldiff 480 touching_illegal \
"xhrpoly/uhrpoly resistor spacing to diffusion < %d (poly.9)"
- spacing allpolyres allfets 480 touching_illegal \
+ spacing mrp1,xhrpoly,uhrpoly,xpc allfets 480 touching_illegal \
"Poly resistor spacing to poly < %d (poly.9)"
spacing xhrpoly,uhrpoly,xpc *poly 480 touching_illegal \
"Poly resistor spacing to poly < %d (poly.9)"
- spacing mrp1,rmp *poly 480 touching_ok \
+ spacing mrp1 *poly 480 touching_ok \
"Poly resistor spacing to poly < %d (poly.9)"
- spacing allpolyres,xpc alldiff 480 touching_illegal \
+ spacing mrp1,xhrpoly,uhrpoly,xpc alldiff 480 touching_illegal \
"Poly resistor spacing to diffusion < %d (poly.9)"
#------------------------------------