Updated the sky130 Makefile to take advantage of the "gds unique"
option just added to magic version 8.2.60; this prevents issues with
the SRAM macro installation by preventing duplicate cell names, since
many of the cell names are reused among all the macros.
diff --git a/common/foundry_install.py b/common/foundry_install.py
index 7c38dae..f44ba3a 100755
--- a/common/foundry_install.py
+++ b/common/foundry_install.py
@@ -2027,6 +2027,11 @@
print('gds rescale false', file=ofile)
print('tech unlock *', file=ofile)
+ # Add custom Tcl script lines before "gds read".
+ if tclscript:
+ for line in tcllines:
+ print(line, file=ofile)
+
if not os.path.isfile(allgdslibname):
for gdsfile in glist:
print('gds read ' + gdsfile, file=ofile)