Dear @RTimothyEdwards,
This issue could be related to PR#480: Changed bjt device parameter processing to match *subckt devices.
I noticed that magic fails to extract 'device mosfet' since v8.3.590
In the ihp-sg13g2-extract.tech, MOSFET device is defined for variants (lvs) as follows
# MOSFET
device mosfet sg13_lv_nmos nfet *ndiff *ndiff pwell,space/w error
which causes empty .subckt ~ .ends in spice file
* NGSPICE file created from sg13_lv_nmos_top.ext - technology: ihp-sg13g2
.global pwell $SUB
.subckt sg13_lv_nmos_top sub S1 D1 G1
.ends
As is the case with PR#480, contained 'device mosfet' definition in the .ext file
device mosfet sg13_lv_nmos -8 40 -7 41 26 30 "sub" "G1" 52 0 "S1" 30 4020,268 "D1" 30 4020,268
When I apply magic Ver8.3.589 or earlier, I can get the extracted spice file correctly.
* NGSPICE file created from sg13_lv_nmos_top.ext - technology: ihp-sg13g2
.global pwell $SUB
.subckt sg13_lv_nmos_top sub S1 D1 G1
M1000 D1 G1 S1 sub sg13_lv_nmos w=0.15u l=0.13u
+ ad=0.1005p pd=1.34u as=0.1005p ps=1.34u
.ends
Here is a test case file which contains two cases; one for using 'device msubcircuit' in ngspice() style as a reference
and another for 'device mosfet' in ngspice(lvs) style
testcase-regression_unit-mos_devices.tar.gz
@d-m-bailey
Dear @RTimothyEdwards,
This issue could be related to PR#480: Changed bjt device parameter processing to match *subckt devices.
I noticed that magic fails to extract 'device mosfet' since v8.3.590
In the ihp-sg13g2-extract.tech, MOSFET device is defined for variants (lvs) as follows
which causes empty .subckt ~ .ends in spice file
As is the case with PR#480, contained 'device mosfet' definition in the .ext file
When I apply magic Ver8.3.589 or earlier, I can get the extracted spice file correctly.
Here is a test case file which contains two cases; one for using 'device msubcircuit' in ngspice() style as a reference
and another for 'device mosfet' in ngspice(lvs) style
testcase-regression_unit-mos_devices.tar.gz
@d-m-bailey