Modified the xcircuit files to set PDK_ROOT as a local variable and
to use that variable in the library .lps files to make them more
portable.  Modified the staging_install script to make substitutions
on the parent path (equivalent to PDK_ROOT) as well as the source
path (equivalent to PDK_PATH).
diff --git a/VERSION b/VERSION
index 7249ada..b162126 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.219
+1.0.220
diff --git a/common/staging_install.py b/common/staging_install.py
index fb67ead..f02e66f 100755
--- a/common/staging_install.py
+++ b/common/staging_install.py
@@ -91,6 +91,11 @@
     # Add any non-ASCII file types here
     bintypes = ['.gds', '.gds2', '.gdsii', '.png', '.swp']
 
+    # Also do substitutions on strings containing the stagingdir parent
+    # directory (replace with the localdir parent directory).
+    stagingparent = os.path.split(stagingdir)[0]
+    localparent = os.path.split(localdir)[0]
+
     if not os.path.exists(tooldir):
         return 0
     elif os.path.islink(tooldir):
@@ -124,6 +129,7 @@
             with open(filepath, 'w') as ofile:
                 for line in flines:
                     newline = line.replace(stagingdir, localdir)
+                    newline = newline.replace(stagingparent, localparent)
                     print(newline, file=ofile)
                     if newline != line:
                         modified = True
diff --git a/sky130/Makefile.in b/sky130/Makefile.in
index 8fe6488..ff914e2 100644
--- a/sky130/Makefile.in
+++ b/sky130/Makefile.in
@@ -488,6 +488,7 @@
 	HD_SPICE = spi/sky130_fd_sc_hd
 	HVL_PATCH4 = 4b
 	HVL_CDL = cdl/sky130_fd_sc_hvl
+	SPIEXT = spi
 else
 	IO_VERILOG = sky130_fd_io/verilog
 	HD_VERILOG = sky130_fd_sc_hd/verilog
@@ -505,6 +506,7 @@
 	HD_SPICE = sky130_fd_sc_hd/spice
 	HVL_PATCH4 = 4
 	HVL_CDL = sky130_fd_sc_hvl/cdl
+	SPIEXT = spice
 endif
 
 all: all-a
@@ -681,7 +683,8 @@
 	mkdir -p ${NETGEN_STAGING_A}
 	rm -f ${NETGEN_STAGING_A}/${SKY130A}_setup.tcl
 	rm -f ${NETGEN_STAGING_A}/setup.tcl
-	${CPP} ${SKY130A_DEFS} netgen/${TECH}_setup.tcl ${NETGEN_STAGING_A}/${SKY130A}_setup.tcl
+	${CPP} ${SKY130A_DEFS} netgen/${TECH}_setup.tcl \
+		${NETGEN_STAGING_A}/${SKY130A}_setup.tcl
 	(cd ${NETGEN_STAGING_A} ; ln -s ${SKY130A}_setup.tcl setup.tcl)
 
 irsim-a: irsim
@@ -698,7 +701,8 @@
 	${CPP} ${SKY130A_DEFS} klayout/${TECH}.lyp ${KLAYOUT_STAGING_A}/${SKY130A}.lyp
 	${CPP} ${SKY130A_DEFS} klayout/${TECH}.lyt ${KLAYOUT_STAGING_A}/${SKY130A}.lyt
 	cp klayout/${TECH}.lydrc ${KLAYOUT_STAGING_A}/${SKY130A}.lydrc
-	./custom/scripts/gen_run_drc.py -l ${KLAYOUT_STAGING_A}/${SKY130A}.lydrc -o ${KLAYOUT_STAGING_A}/${SKY130A}.drc
+	./custom/scripts/gen_run_drc.py -l ${KLAYOUT_STAGING_A}/${SKY130A}.lydrc \
+		-o ${KLAYOUT_STAGING_A}/${SKY130A}.drc
 
 xcircuit-a: xcircuit/${TECH}.xcircuitrc
 	rm -rf ${XCIRCUIT_STAGING_A}
@@ -707,9 +711,12 @@
 	rm -f ${XCIRCUIT_STAGING_A}/*.lps
 	rm -f ${XCIRCUIT_STAGING_A}/${SKY130A}.xcircuitrc
 	${CPP} ${SKY130A_DEFS} xcircuit/ngspice.lps ${XCIRCUIT_STAGING_A}/ngspice.lps
-	${CPP} ${SKY130A_DEFS} xcircuit/sky130_fd_pr.lps ${XCIRCUIT_STAGING_A}/sky130_fd_pr.lps
-	${CPP} ${SKY130A_DEFS} -DHD_SPICE=${HD_SPICE} xcircuit/sky130_fd_sc_hd.lps ${XCIRCUIT_STAGING_A}/sky130_fd_sc_hd.lps
-	${CPP} ${SKY130A_DEFS} xcircuit/${TECH}.xcircuitrc ${XCIRCUIT_STAGING_A}/${SKY130A}.xcircuitrc
+	${CPP} ${SKY130A_DEFS} xcircuit/sky130_fd_pr.lps \
+		${XCIRCUIT_STAGING_A}/sky130_fd_pr.lps
+	${CPP} ${SKY130A_DEFS} -DHD_SPICE=${HD_SPICE} -DSPIEXT=${SPIEXT} \
+		xcircuit/sky130_fd_sc_hd.lps ${XCIRCUIT_STAGING_A}/sky130_fd_sc_hd.lps
+	${CPP} ${SKY130A_DEFS} xcircuit/${TECH}.xcircuitrc \
+		${XCIRCUIT_STAGING_A}/${SKY130A}.xcircuitrc
 
 xschem-a: ${XSCHEM_PATH}
 	rm -rf ${XSCHEM_STAGING_A}
diff --git a/sky130/xcircuit/sky130.xcircuitrc b/sky130/xcircuit/sky130.xcircuitrc
index b61cbc5..62d71cc 100644
--- a/sky130/xcircuit/sky130.xcircuitrc
+++ b/sky130/xcircuit/sky130.xcircuitrc
@@ -1,5 +1,7 @@
 set XCOps(liboverride) 1
-config search libraries .:STAGING_PATH/TECHNAME/libs.tech/xcircuit:$XCIRCUIT_LIB_DIR
+set PDK_ROOT STAGING_PATH
+global PDK_ROOT
+config search libraries .:$PDK_ROOT/TECHNAME/libs.tech/xcircuit:$XCIRCUIT_LIB_DIR
 library make generic
 library 1 load generic
 library make ngspice
diff --git a/sky130/xcircuit/sky130_fd_sc_hd.lps b/sky130/xcircuit/sky130_fd_sc_hd.lps
index 2aa5568..f5831fd 100644
--- a/sky130/xcircuit/sky130_fd_sc_hd.lps
+++ b/sky130/xcircuit/sky130_fd_sc_hd.lps
@@ -16,7 +16,7 @@
 @VGND ( ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -192 -192 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT)
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -53,7 +53,7 @@
 ( %pA ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -32 -136 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -32 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 0 24 label
@@ -76,7 +76,7 @@
 ( %pA ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -32 -112 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -32 -80 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 0 24 label
@@ -108,7 +108,7 @@
 mark @index (U) {/Times-RomanISO cf} ctmk 28 0.000 0.700 -40 16 label
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 sce
 1 1.000 -96 32 -64 32 2 polygon
@@ -133,7 +133,7 @@
 ( %pA %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -165,7 +165,7 @@
 ( %pA %pB %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -64 -144 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -112 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -208,7 +208,7 @@
 1 1.000 -64 -32 -56 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -228,7 +228,7 @@
 ( %pA %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -264,7 +264,7 @@
 ( %pA %pB %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -64 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -305,7 +305,7 @@
 ( %pA %pB ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 -128 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -334,7 +334,7 @@
 ( %pA %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -365,7 +365,7 @@
 ( %pA %pB %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -64 -144 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -112 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -393,7 +393,7 @@
 ( %pA %pB ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 -128 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -424,7 +424,7 @@
 ( %pA %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -458,7 +458,7 @@
 ( %pA %pB %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -64 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -497,7 +497,7 @@
 ( %pA %pB ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 -128 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -24 -32 
@@ -529,7 +529,7 @@
 ( %pA %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -24 -32 
@@ -564,7 +564,7 @@
 ( %pA %pB ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 -128 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -24 -32 
@@ -597,7 +597,7 @@
 ( %pA %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -24 -32 
@@ -636,7 +636,7 @@
 ( %pA %pTE_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -176 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -176 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 24 24 label
@@ -666,7 +666,7 @@
 ( %pA %pTE ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -176 -128 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -176 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 24 24 label
@@ -695,7 +695,7 @@
 ( %pA %pTE_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -176 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -176 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 24 24 label
@@ -724,7 +724,7 @@
 @VGND ( %pA ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -32 -112 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -32 -80 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 0 24 label
@@ -750,7 +750,7 @@
 @VGND ( %pA ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -32 -112 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -32 -80 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 0 24 label
@@ -774,7 +774,7 @@
 ( %pA0 %pA1 %pS ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -128 
 -176 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -128 -144 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 16 -24 
@@ -807,7 +807,7 @@
 ( %pA0 %pA1 %pS ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -128 
 -176 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -128 -144 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 16 -24 
@@ -841,7 +841,7 @@
 ( %pA0 %pA1 %pA2 %pA3 %pS0 %pS1 ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -128 -176 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -128 -144 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 40 32 label
@@ -895,7 +895,7 @@
 mark @index (U) {/Times-RomanISO cf} ctmk 28 0.000 0.700 -40 16 label
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 sce
 1 1.000 -96 32 -80 32 2 polygon
@@ -921,7 +921,7 @@
 @VGND ( %pA_N %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -64 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -954,7 +954,7 @@
 @VGND ( %pA_N %pB %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -64 -144 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -112 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -988,7 +988,7 @@
 @VGND ( %pA_N %pB_N %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -64 -144 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -112 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -1033,7 +1033,7 @@
 1 1.000 -80 -32 -72 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -1054,7 +1054,7 @@
 ( %pA %pB %pC_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -1091,7 +1091,7 @@
 ( %pA %pB %pC %pD_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -64 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -1132,7 +1132,7 @@
 @VGND ( %pA %pB %pC_N %pD_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -64 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -1175,7 +1175,7 @@
 ( %pA_N %pB ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 -128 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -1205,7 +1205,7 @@
 ( %pA_N %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -1237,7 +1237,7 @@
 ( %pA_N %pB %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -64 -144 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -112 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -1270,7 +1270,7 @@
 @VGND ( %pA_N %pB_N %pC %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -64 -144 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -112 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -1300,7 +1300,7 @@
 ( %pA %pB_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 -128 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -1332,7 +1332,7 @@
 ( %pA %pB %pC_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -64 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -40 -32 
@@ -1368,7 +1368,7 @@
 ( %pA %pB %pC %pD_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -64 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -1409,7 +1409,7 @@
 ( %pA %pB %pC_N %pD_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -64 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -64 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -32 -32 
@@ -1449,7 +1449,7 @@
 ( %pCLK %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -192 
 -192 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1482,7 +1482,7 @@
 ( %pCLK_N %pD %pRESET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1520,7 +1520,7 @@
 ( %pCLK %pD %pSET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1558,7 +1558,7 @@
 ( %pCLK %pD %pRESET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -192 -192 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1595,7 +1595,7 @@
 @VGND ( %pCLK %pD %pSET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1638,7 +1638,7 @@
 @VGND ( %pCLK_N %pD %pSET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1687,7 +1687,7 @@
 @VGND ( %pCLK %pD ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1725,7 +1725,7 @@
 @VGND ( %pCLK %pD %pRESET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1768,7 +1768,7 @@
 @VGND ( %pCLK %pD %pSET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1815,7 +1815,7 @@
 ( %pD %GATE %pRESET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1853,7 +1853,7 @@
 ( %pD %GATE_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -192 
 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1886,7 +1886,7 @@
 ( %pD %GATE ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -192 
 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1919,7 +1919,7 @@
 @VGND ( %pD %GATE %pRESET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -1962,7 +1962,7 @@
 @VGND ( %pD %GATE_N ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -2000,7 +2000,7 @@
 @VGND ( %pD %GATE ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -2038,7 +2038,7 @@
 @VGND ( %pD %GATE_N %pRESET_B ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -2081,7 +2081,7 @@
 @VGND ( %pCLK %GATE ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 
 -192 -224 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -192 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 32 
@@ -2114,7 +2114,7 @@
 @VGND ( %pA %pB ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -192 
 -192 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 0 32 label
@@ -2153,7 +2153,7 @@
 ( ) @VGND ( %pA %pB %pCI ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -192 -192 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 0 32 label
@@ -2197,7 +2197,7 @@
 @VNB ( ) @VGND ( %pA %pB %pCI ) @index (spice:X) {/Times-Roman cf} ctmk 16 
 360.000 0.700 -192 -192 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 0 32 label
@@ -2242,7 +2242,7 @@
 ( ) @VGND ( %pA %pB %pCIN ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 
 0.700 -192 -192 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 0 32 label
@@ -2301,7 +2301,7 @@
 1 1.000 -64 48 -35 48 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -2351,7 +2351,7 @@
 1 1.000 -192 -32 -56 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -2390,7 +2390,7 @@
 1 1.000 -192 0 -38 0 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -128 infolabel
 sce
 1 1.000 96 0 82 0 2 polygon
@@ -2432,7 +2432,7 @@
 1 1.000 -48 32 -19 32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 128 -32 98 -32 2 polygon
@@ -2483,7 +2483,7 @@
 1 1.000 -192 -32 -56 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -2521,7 +2521,7 @@
 1 1.000 -192 -32 -64 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -2560,7 +2560,7 @@
 1 1.000 -192 -32 -56 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -2605,7 +2605,7 @@
 1 1.000 -192 -32 -56 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -2648,7 +2648,7 @@
 1 1.000 -192 -32 -72 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -2689,7 +2689,7 @@
 1 1.000 -64 48 -35 48 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -2735,7 +2735,7 @@
 1 1.000 -192 0 -38 0 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -128 infolabel
 sce
 1 1.000 96 0 82 0 2 polygon
@@ -2780,7 +2780,7 @@
 1 1.000 -48 32 -19 32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -224 infolabel
 sce
 1 1.000 128 -32 98 -32 2 polygon
@@ -2836,7 +2836,7 @@
 1 1.000 -192 0 -24 0 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -128 infolabel
 sce
 1 1.000 128 -16 98 -16 2 polygon
@@ -2882,7 +2882,7 @@
 1 1.000 -48 48 -19 48 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 0 80 0 2 polygon
@@ -2929,7 +2929,7 @@
 1 1.000 -64 48 -35 48 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -2978,7 +2978,7 @@
 1 1.000 -192 0 -24 0 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -128 infolabel
 sce
 1 1.000 96 -16 82 -16 2 polygon
@@ -3023,7 +3023,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 80 -32 64 -32 2 polygon
@@ -3064,7 +3064,7 @@
 1 1.000 -192 -32 -56 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -3107,7 +3107,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 -32 64 -32 2 polygon
@@ -3144,7 +3144,7 @@
 mark @index (U) {/Times-RomanISO cf} ctmk 28 0.000 0.700 -40 -16 label
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 -32 64 -32 2 polygon
@@ -3196,7 +3196,7 @@
 1 1.000 -64 48 -35 48 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -3241,7 +3241,7 @@
 1 1.000 -192 0 -38 0 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -128 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -3282,7 +3282,7 @@
 1 1.000 -48 32 -19 32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 -32 82 -32 2 polygon
@@ -3333,7 +3333,7 @@
 1 1.000 -192 -32 -72 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -3374,7 +3374,7 @@
 1 1.000 -192 -32 -56 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -3416,7 +3416,7 @@
 1 1.000 -192 0 -38 0 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -128 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -3462,7 +3462,7 @@
 1 1.000 -192 -32 -80 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 96 0 64 0 2 polygon
@@ -3503,7 +3503,7 @@
 1 1.000 -192 -32 -64 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 -32 80 -32 2 polygon
@@ -3542,7 +3542,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 96 -32 64 -32 2 polygon
@@ -3593,7 +3593,7 @@
 1 1.000 -192 -32 -32 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 128 -48 112 -48 2 polygon
@@ -3637,7 +3637,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 96 -32 64 -32 2 polygon
@@ -3690,7 +3690,7 @@
 1 1.000 -192 -32 -64 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 -32 80 -32 2 polygon
@@ -3732,7 +3732,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 96 -32 64 -32 2 polygon
@@ -3784,7 +3784,7 @@
 1 1.000 -147 -96 96 30.000 90.000 xcarc
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 128 -48 112 -48 2 polygon
@@ -3836,7 +3836,7 @@
 1 1.000 -147 -96 96 30.000 90.000 xcarc
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 128 -48 96 -48 2 polygon
@@ -3888,7 +3888,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 64 -32 48 -32 2 polygon
@@ -3932,7 +3932,7 @@
 1 1.000 -192 -32 -80 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -96 infolabel
 sce
 1 1.000 64 0 48 0 2 polygon
@@ -3964,7 +3964,7 @@
 mark @index (U) {/Times-RomanISO cf} ctmk 28 0.000 0.700 -40 -16 label
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 64 -32 48 -32 2 polygon
@@ -4014,7 +4014,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 64 -32 48 -32 2 polygon
@@ -4067,7 +4067,7 @@
 1 1.000 -192 -32 -64 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 -32 64 -32 2 polygon
@@ -4108,7 +4108,7 @@
 1 1.000 -192 -32 -64 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 96 -32 64 -32 2 polygon
@@ -4149,7 +4149,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 64 -32 48 -32 2 polygon
@@ -4198,7 +4198,7 @@
 1 1.000 -176 64 -147 64 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -192 infolabel
 sce
 1 1.000 64 -32 48 -32 2 polygon
@@ -4248,7 +4248,7 @@
 1 1.000 -192 -32 -32 -32 2 polygon
 0.180 0.545 0.341 scb
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -256 -160 infolabel
 sce
 1 1.000 128 -48 96 -48 2 polygon
@@ -4282,7 +4282,7 @@
 ( %pA %pB %pC ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -96 
 -128 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -96 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 -24 0 label
@@ -4309,7 +4309,7 @@
 ( %pDIODE ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -192 -192 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -192 -160 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 21 0.000 0.600 -16 0 label
@@ -4337,7 +4337,7 @@
 @VGND ( %pA ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -96 -136 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -96 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 80 24 label
@@ -4363,7 +4363,7 @@
 @VGND ( %pA ) @index (spice:X) {/Times-Roman cf} ctmk 16 360.000 0.700 -96 -136 
 infolabel
 
-(spice@1:%FSTAGING_PATH/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.spice) 
+(spice@1:%F$PDK_ROOT/TECHNAME/libs.ref/HD_SPICE/sky130_fd_sc_hd.SPIEXT) 
 {/Times-Roman cf} 2 16 0.000 0.700 -96 -96 infolabel
 0.647 0.165 0.165 scb
 mark @strength {qS} (\327) {/Times-RomanISO cf} ctmk 16 0.000 0.600 80 24 label