Fixing LEF 'CLASS' for tap cells.
Updating sky130_fd_sc_hd 0.0.2.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
diff --git a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.lef b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.lef
index ddb16bb..6049eb2 100644
--- a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.lef
+++ b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.magic.lef b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.magic.lef
index 9f3d06a..d0c711c 100644
--- a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.magic.lef
+++ b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_1 ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.lef b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.lef
index ed6bc88..57b8222 100644
--- a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.lef
+++ b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.magic.lef b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.magic.lef
index f45b2c9..6e2b2c5 100644
--- a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.magic.lef
+++ b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_2 ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.lef b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.lef
index 254441b..0325315 100644
--- a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.lef
+++ b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 7.360000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.magic.lef b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.magic.lef
index c7f5b88..78d5849 100644
--- a/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.magic.lef
+++ b/cells/lpflow_lsbuf_lh_hl_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__lpflow_lsbuf_lh_hl_isowell_tap_4 ;
ORIGIN 0.000000 0.000000 ;
SIZE 7.360000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.lef b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.lef
index db7dcc2..c87e7b1 100644
--- a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.lef
+++ b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.magic.lef b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.magic.lef
index 9e016a4..c2928e7 100644
--- a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.magic.lef
+++ b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_1 ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.lef b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.lef
index 7a9b5ce..add5ba3 100644
--- a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.lef
+++ b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.magic.lef b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.magic.lef
index 04d2598..f272085 100644
--- a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.magic.lef
+++ b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_2 ;
ORIGIN 0.000000 0.000000 ;
SIZE 6.440000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.lef b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.lef
index 9de6278..14aa71a 100644
--- a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.lef
+++ b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 7.360000 BY 5.440000 ;
diff --git a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.magic.lef b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.magic.lef
index c93b15b..9aeeff8 100644
--- a/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.magic.lef
+++ b/cells/lpflow_lsbuf_lh_isowell_tap/sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__lpflow_lsbuf_lh_isowell_tap_4 ;
ORIGIN 0.000000 0.000000 ;
SIZE 7.360000 BY 5.440000 ;
diff --git a/cells/macro_sparecell/sky130_fd_sc_hd__macro_sparecell.spice b/cells/macro_sparecell/sky130_fd_sc_hd__macro_sparecell.spice
index bf0bfad..1a2d0fd 100644
--- a/cells/macro_sparecell/sky130_fd_sc_hd__macro_sparecell.spice
+++ b/cells/macro_sparecell/sky130_fd_sc_hd__macro_sparecell.spice
@@ -1,6 +1,6 @@
* NGSPICE file created from sky130_fd_sc_hd__macro_sparecell.ext - technology: sky130A
-.subckt sky130_fd_sc_hd__nand2_2 A B VGND VNB VPB VPWR Y
+.subckt sky130_fd_sc_hd__nand2_2 Y A B VPB VNB VGND VPWR
M1000 Y A VPWR VPB phighvt w=1e+06u l=150000u
+ ad=5.4e+11p pd=5.08e+06u as=7.9e+11p ps=7.58e+06u
M1001 VPWR B Y VPB phighvt w=1e+06u l=150000u
@@ -55,8 +55,8 @@
.ends
.subckt sky130_fd_sc_hd__macro_sparecell VGND VNB VPB VPWR LO
-Xsky130_fd_sc_hd__nand2_2_1 LO LO VGND VNB VPB VPWR sky130_fd_sc_hd__nor2_2_1/B sky130_fd_sc_hd__nand2_2
-Xsky130_fd_sc_hd__nand2_2_0 LO LO VGND VNB VPB VPWR sky130_fd_sc_hd__nor2_2_0/A sky130_fd_sc_hd__nand2_2
+Xsky130_fd_sc_hd__nand2_2_1 sky130_fd_sc_hd__nor2_2_1/B LO LO VPB VNB VGND VPWR sky130_fd_sc_hd__nand2_2
+Xsky130_fd_sc_hd__nand2_2_0 sky130_fd_sc_hd__nor2_2_0/A LO LO VPB VNB VGND VPWR sky130_fd_sc_hd__nand2_2
Xsky130_fd_sc_hd__inv_2_0 sky130_fd_sc_hd__inv_2_0/A sky130_fd_sc_hd__inv_2_0/Y VPB
+ VNB VPWR VGND sky130_fd_sc_hd__inv_2
Xsky130_fd_sc_hd__inv_2_1 sky130_fd_sc_hd__inv_2_1/A sky130_fd_sc_hd__inv_2_1/Y VPB
diff --git a/cells/tap/sky130_fd_sc_hd__tap_1.lef b/cells/tap/sky130_fd_sc_hd__tap_1.lef
index e51ab61..5b2e054 100644
--- a/cells/tap/sky130_fd_sc_hd__tap_1.lef
+++ b/cells/tap/sky130_fd_sc_hd__tap_1.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__tap_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;
diff --git a/cells/tap/sky130_fd_sc_hd__tap_1.magic.lef b/cells/tap/sky130_fd_sc_hd__tap_1.magic.lef
index ed36a71..655142b 100644
--- a/cells/tap/sky130_fd_sc_hd__tap_1.magic.lef
+++ b/cells/tap/sky130_fd_sc_hd__tap_1.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__tap_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__tap_1 ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;
diff --git a/cells/tap/sky130_fd_sc_hd__tap_2.lef b/cells/tap/sky130_fd_sc_hd__tap_2.lef
index 0939c58..7ee145f 100644
--- a/cells/tap/sky130_fd_sc_hd__tap_2.lef
+++ b/cells/tap/sky130_fd_sc_hd__tap_2.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__tap_2
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.920000 BY 2.720000 ;
diff --git a/cells/tap/sky130_fd_sc_hd__tap_2.magic.lef b/cells/tap/sky130_fd_sc_hd__tap_2.magic.lef
index 1e388e4..46b7484 100644
--- a/cells/tap/sky130_fd_sc_hd__tap_2.magic.lef
+++ b/cells/tap/sky130_fd_sc_hd__tap_2.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__tap_2
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__tap_2 ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.920000 BY 2.720000 ;
diff --git a/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.lef b/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.lef
index badcb21..c4ad836 100644
--- a/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.lef
+++ b/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__tapvgnd_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;
diff --git a/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.magic.lef b/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.magic.lef
index eb01a94..4e1c735 100644
--- a/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.magic.lef
+++ b/cells/tapvgnd/sky130_fd_sc_hd__tapvgnd_1.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__tapvgnd_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__tapvgnd_1 ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;
diff --git a/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.lef b/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.lef
index 56edf45..7e6d123 100644
--- a/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.lef
+++ b/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__tapvgnd2_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;
diff --git a/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.magic.lef b/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.magic.lef
index 675777b..c170842 100644
--- a/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.magic.lef
+++ b/cells/tapvgnd2/sky130_fd_sc_hd__tapvgnd2_1.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__tapvgnd2_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__tapvgnd2_1 ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;
diff --git a/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.lef b/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.lef
index 34b29e1..02d7c83 100644
--- a/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.lef
+++ b/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.lef
@@ -19,7 +19,7 @@
BUSBITCHARS "[]" ;
DIVIDERCHAR "/" ;
MACRO sky130_fd_sc_hd__tapvpwrvgnd_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
SOURCE USER ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;
diff --git a/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.magic.lef b/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.magic.lef
index e305888..76af710 100644
--- a/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.magic.lef
+++ b/cells/tapvpwrvgnd/sky130_fd_sc_hd__tapvpwrvgnd_1.magic.lef
@@ -23,7 +23,7 @@
DATABASE MICRONS 200 ;
END UNITS
MACRO sky130_fd_sc_hd__tapvpwrvgnd_1
- CLASS CORE ;
+ CLASS CORE WELLTAP ;
FOREIGN sky130_fd_sc_hd__tapvpwrvgnd_1 ;
ORIGIN 0.000000 0.000000 ;
SIZE 0.460000 BY 2.720000 ;