Corrected an issue with a potentially undefined variable in
foundry_install.py.  Corrected the gf180mcu Makefile to avoid
installing an incorrect and isolated .lib file.  Corrected a
few errors in the gf180mcu tech file for magic, the main one
being a check for low-voltage and high-voltage devices in the
same nwell that was flagging low voltage tap diffusion, which
is allowed.
diff --git a/VERSION b/VERSION
index eafbe83..2fa6312 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.543
+1.0.544
diff --git a/common/foundry_install.py b/common/foundry_install.py
index 33c8c12..c19098d 100755
--- a/common/foundry_install.py
+++ b/common/foundry_install.py
@@ -1845,6 +1845,7 @@
                 os.remove(lef_savelibname)
 
         if lef_compile or lef_compile_only:
+            lefsrclibdir = targetdir + lef_reflib + destlib + '/lef'
             create_lef_library(lefsrclibdir, destlib, lef_compile_only, lef_exclude)
 
     if have_lef and not no_lef_convert:
diff --git a/gf180mcu/Makefile.in b/gf180mcu/Makefile.in
index 28d4156..ff11fe7 100644
--- a/gf180mcu/Makefile.in
+++ b/gf180mcu/Makefile.in
@@ -1192,7 +1192,6 @@
 	${STAGE} -source ./custom -target ${STAGING_PATH}/${GF180MCU$*} \
 		-verilog %l/verilog/*.v compile-only rename=gf180mcu_ef_io \
 		-spice %l/spice/*.spice compile-only rename=gf180mcu_ef_io \
-		-lib %l/lib/*.lib \
 		-gds %l/gds/*_${$*_STACK}.gds compile-only \
 			rename=gf180mcu_ef_io \
 			options=custom/scripts/gds_import_io.tcl \
diff --git a/gf180mcu/custom/scripts/gds_import_io.tcl b/gf180mcu/custom/scripts/gds_import_io.tcl
index e4d5a5f..847717c 100644
--- a/gf180mcu/custom/scripts/gds_import_io.tcl
+++ b/gf180mcu/custom/scripts/gds_import_io.tcl
@@ -1,7 +1,7 @@
 # Set GDS import styles as needed to deal with the I/O cells.
 # NOTE: "gds polygon subcells true" removed since magic v. 8.3.352
 # no longer has the issue of slow reads of complex polygons.
-gds ordering on
-gds flatten true
-gds polygon subcells true
+# gds ordering on
+# gds flatten true
+# gds polygon subcells true
 gds flatglob *_CDNS_*
diff --git a/gf180mcu/magic/gf180mcu.tech b/gf180mcu/magic/gf180mcu.tech
index 08ac8fa..f6bcb84 100644
--- a/gf180mcu/magic/gf180mcu.tech
+++ b/gf180mcu/magic/gf180mcu.tech
@@ -1594,7 +1594,8 @@
  bloat-all alldiffmv nwell
 
  templayer bad_nwell
- bloat-all alldifflv,schottky nwell
+ # All low-voltage diffusion except tap diffusion (nsd, psd)
+ bloat-all *ndif,*ndiode,*nndiode,ndiffres,nfet,nnfet,ncap,*pdif,*pdiode,pdiffres,pfet,pcap,schottky nwell
  and mv_nwell
 
  # Check for nwell resistor in deep nwell
@@ -3044,9 +3045,9 @@
  spacing allactiveres allactiveres 400 touching_ok \
 	"Diffusion resistor spacing < %d (NDRES.2)
 
- spacing allactiveres allactive 450 touching_ok \
+ spacing allactiveres allactive 440 touching_ok \
 	"Diffusion resistor spacing to unrelated diffusion < %d (NDRES.3)"
- spacing allactiveres allpoly 450 touching_ok \
+ spacing allactiveres allpoly 440 touching_ok \
 	"Diffusion resistor spacing to unrelated poly < %d (NDRES.4)"
 
 #-----------------------------