Additional correction; the sky130/Makefile.in missed passing the "-ef_format" option parameter to scripts that were run outside of foundry_install.py.
diff --git a/sky130/Makefile.in b/sky130/Makefile.in index 1bd22be..b5bad12 100644 --- a/sky130/Makefile.in +++ b/sky130/Makefile.in
@@ -868,14 +868,14 @@ tail -39 ${STAGING_PATH}/${SKY130A}/libs.ref/${PR_SPICE}/sky130_fd_pr__pnp_05v5_W3p40L3p40.model.spice >> ${STAGING_PATH}/${SKY130A}/libs.ref/${PR_SPICE}/temp mv ${STAGING_PATH}/${SKY130A}/libs.ref/${PR_SPICE}/temp ${STAGING_PATH}/${SKY130A}/libs.ref/${PR_SPICE}/sky130_fd_pr__pnp_05v5_W3p40L3p40.model.spice # Custom: Add the PNP 3.4x3.4um device model to the includes in "all.spice" - ./custom/scripts/fix_spice_includes.py \ + ./custom/scripts/fix_spice_includes.py ${EF_FORMAT} \ ${STAGING_PATH}/${SKY130A}/libs.tech/ngspice/all.spice \ 2>&1 | tee -a ${SKY130A}_make.log || true # Custom: Parse the (commented out) statistics blocks and generate # ngspice-compatible monte carlo parameters for mismatch and process - ./custom/scripts/mismatch_params.py \ + ./custom/scripts/mismatch_params.py ${EF_FORMAT} \ 2>&1 | tee -a ${SKY130A}_make.log || true - ./custom/scripts/mismatch_params.py \ + ./custom/scripts/mismatch_params.py ${EF_FORMAT} \ ${STAGING_PATH}/${SKY130A}/libs.tech/ngspice \ 2>&1 | tee -a ${SKY130A}_make.log || true ./custom/scripts/process_params.py \ @@ -904,7 +904,7 @@ 2>&1 | tee -a ${SKY130A}_make.log || true # Custom: Add special device ID layers to bipolar layouts in magic # to make the extraction models correct. - ./custom/scripts/add_bipolar_ids.py \ + ./custom/scripts/add_bipolar_ids.py ${EF_FORMAT} \ 2>&1 | tee -a ${SKY130A}_make.log || true # Custom: Add "spinit" file