Removed the "cellname delete \(UNNAMED\)" commands from the
generate_magic.tcl scripts, because this is causing a database
corruption in magic. This is a "quick fix", as the nature of the
database corruption needs to be investigated. This fix prevents
apparently unrelated errors in the port indexing in the installed
files in the library mag/ directories.
diff --git a/sky130/magic/sky130.tech b/sky130/magic/sky130.tech
index bc95751..e796d17 100644
--- a/sky130/magic/sky130.tech
+++ b/sky130/magic/sky130.tech
@@ -940,6 +940,7 @@
grow 185
grow 345
shrink 345
+ and-not hvntm_block
calma 125 20
#----------------------------------------------------------------
@@ -966,7 +967,9 @@
or alldiffmv,mvvar
grow 185
bloat-all alldiffmv nwell
- grow-min 600
+ # (HVI min width rule is 0.6 but CNTM min width rule is 0.84um)
+ grow-min 840
+ # grow-min 600
bridge 700 600
templayer extendTHKOX baseTHKOX,CELLRING
@@ -2011,14 +2014,14 @@
ignore POLYMOD
ignore LOWTAPDENSITY
- layer nwell NWELL,WELLTXT,WELLPIN
- and-not PNPID
+ layer pnp NWELL,WELLTXT,WELLPIN
+ and PNPID
labels NWELL
labels WELLTXT text
labels WELLPIN port
- layer pnp NWELL,WELLTXT,WELLPIN
- and PNPID
+ layer nwell NWELL,WELLTXT,WELLPIN
+ and-not PNPID
labels NWELL
labels WELLTXT text
labels WELLPIN port
@@ -2925,16 +2928,16 @@
or mvpdicbase
labels CONT
- layer locali LI,LITXT,LIPIN
+ layer coreli LI,LITXT,LIPIN
and-not LIRES,LISHORT
- and-not COREID
+ and COREID
labels LI
labels LITXT text
labels LIPIN port
- layer coreli LI,LITXT,LIPIN
+ layer locali LI,LITXT,LIPIN
and-not LIRES,LISHORT
- and COREID
+ and-not COREID
labels LI
labels LITXT text
labels LIPIN port
@@ -3515,14 +3518,14 @@
ignore POLYMOD
ignore LOWTAPDENSITY
- layer nwell NWELL,WELLTXT,WELLPIN
- and-not PNPID
+ layer pnp NWELL,WELLTXT,WELLPIN
+ and PNPID
labels NWELL
labels WELLTXT port
labels WELLPIN port
- layer pnp NWELL,WELLTXT,WELLPIN
- and PNPID
+ layer nwell NWELL,WELLTXT,WELLPIN
+ and-not PNPID
labels NWELL
labels WELLTXT port
labels WELLPIN port
@@ -4429,16 +4432,16 @@
or mvpdicbase
labels CONT
- layer locali LI,LITXT,LIPIN
+ layer coreli LI,LITXT,LIPIN
and-not LIRES,LISHORT
- and-not COREID
+ and COREID
labels LI
labels LITXT port
labels LIPIN port
- layer coreli LI,LITXT,LIPIN
+ layer locali LI,LITXT,LIPIN
and-not LIRES,LISHORT
- and COREID
+ and-not COREID
labels LI
labels LITXT port
labels LIPIN port