Added a 2nd run of process_params.py (as is done for mismatch_params.py)
because the monte carlo process parameters are also split over both the
libs.ref and libs.tech directories.
diff --git a/sky130/Makefile.in b/sky130/Makefile.in
index b0b32ea..499f94b 100644
--- a/sky130/Makefile.in
+++ b/sky130/Makefile.in
@@ -1144,6 +1144,9 @@
2>&1 | tee -a ${SKY130$*}_make.log || true
./custom/scripts/process_params.py ${EF_FORMAT} -variant=${SKY130$*} \
2>&1 | tee -a ${SKY130$*}_make.log || true
+ ./custom/scripts/process_params.py \
+ ${STAGING_PATH}/${SKY130$*}/libs.tech/ngspice \
+ 2>&1 | tee -a ${SKY130$*}_make.log || true
./custom/scripts/montecarlo_hack.py -variant=${SKY130$*} \
2>&1 | tee -a ${SKY130$*}_make.log || true
# Custom: Change vt to local_vt in one file for Xyce compatibilty
diff --git a/sky130/custom/scripts/process_params.py b/sky130/custom/scripts/process_params.py
index 9cfc122..b90b23b 100755
--- a/sky130/custom/scripts/process_params.py
+++ b/sky130/custom/scripts/process_params.py
@@ -10,6 +10,12 @@
import re
import sys
+# Sort the process parameters so that names that are subsets of other
+# names appear later in the list.
+
+def getKey(item):
+ return item[0]
+
pr_switch_param = 'MC_PR_SWITCH'
options = []
@@ -101,12 +107,6 @@
infile.close()
-# Sort the process parameters so that names that are subsets of other
-# names appear later in the list.
-
-def getKey(item):
- return item[0]
-
process_params.sort(reverse=True, key=getKey)
print('')