Another change in support of future work: Modified the device generator scripts in magic so that parameters other than ones recognized by SPICE can be passed to the device generator on a gencell call with "-spice" and will be copied unmodified. That allows a script to mix SPICE parameters and layout parameters in the same gencell call. This change has no effect on current PDK usage by any tool.
diff --git a/VERSION b/VERSION index eb96883..7021ba0 100644 --- a/VERSION +++ b/VERSION
@@ -1 +1 @@ -1.0.489 +1.0.490
diff --git a/gf180mcu/magic/gf180mcu.tcl b/gf180mcu/magic/gf180mcu.tcl index 756337d..80035eb 100644 --- a/gf180mcu/magic/gf180mcu.tcl +++ b/gf180mcu/magic/gf180mcu.tcl
@@ -539,6 +539,10 @@ # Convert m to ny dict set pdkparams ny $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams @@ -1132,6 +1136,10 @@ # Convert m to ny dict set pdkparams ny $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams @@ -1959,6 +1967,10 @@ set value [magic::3digitpastdecimal $value] dict set pdkparams [string tolower $canonkey] $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams @@ -3358,6 +3370,10 @@ dict set pdkparams [string tolower $key] $value } } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams @@ -4662,6 +4678,10 @@ m { dict set pdkparams nx $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams
diff --git a/sky130/magic/sky130.tcl b/sky130/magic/sky130.tcl index 4f49f09..736e82a 100644 --- a/sky130/magic/sky130.tcl +++ b/sky130/magic/sky130.tcl
@@ -971,6 +971,10 @@ # Convert m to ny dict set pdkparams ny $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams @@ -2021,6 +2025,10 @@ # Convert m to ny dict set pdkparams ny $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams @@ -3006,6 +3014,10 @@ set value [magic::3digitpastdecimal $value] dict set pdkparams [string tolower $key] $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams @@ -5404,6 +5416,10 @@ # Adjustment ot W will be handled below dict set pdkparams [string tolower $key] $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } @@ -7433,6 +7449,10 @@ m { dict set pdkparams nx $value } + default { + # Allow unrecognized parameters to be passed unmodified + dict set pdkparams $key $value + } } } return $pdkparams