J
Jussi Lind
Guest
Hello!
What is wrong with this model, spice3 won't accept it (with Spice Opus it's
ok):
*SRC=2SK1058;MSK1058;MOSFETs N;Power >100V;160V 7A
*SYM=POWMOSN
* TERMINALS: D G S
* Hitachi 160 Volt 7 Amp .171 ohm N-Channel Power MOSFET 08-06-1993
.SUBCKT MSK 10 20 40
M1 1 2 3 3 DMOS L=1U W=1U
RD 100 1 80.4M
RS 30 3 5.28M
RG 20 2 21.4
CGS 2 3 410P
EGD 12 0 2 1 1
VFB 14 0 0
FFB 2 1 VFB 1
CGD 13 14 128P
R1 13 0 1
D1 12 13 DLIM
DDG 15 14 DCGD
R2 12 15 1
D2 15 0 DLIM
DSD 3 100 DSUB
LS 30 40 7.5N
LD 10 100 4N
.MODEL DMOS NMOS (LEVEL=3 THETA=85M VMAX=163K ETA=2.2M VTO=.2 KP=.999)
.MODEL DCGD D (CJO=128P VJ=.6)
.MODEL DSUB D (IS=29N N=1.5 RS=61.4M BV=160 CJO=802P VJ=.8 TT=252N)
.MODEL DLIM D (IS=100U)
.ENDS
No matter what I do, I just get
"Error: unknown subckt: xmsk 100 50 41 msk"
What is wrong with this model, spice3 won't accept it (with Spice Opus it's
ok):
*SRC=2SK1058;MSK1058;MOSFETs N;Power >100V;160V 7A
*SYM=POWMOSN
* TERMINALS: D G S
* Hitachi 160 Volt 7 Amp .171 ohm N-Channel Power MOSFET 08-06-1993
.SUBCKT MSK 10 20 40
M1 1 2 3 3 DMOS L=1U W=1U
RD 100 1 80.4M
RS 30 3 5.28M
RG 20 2 21.4
CGS 2 3 410P
EGD 12 0 2 1 1
VFB 14 0 0
FFB 2 1 VFB 1
CGD 13 14 128P
R1 13 0 1
D1 12 13 DLIM
DDG 15 14 DCGD
R2 12 15 1
D2 15 0 DLIM
DSD 3 100 DSUB
LS 30 40 7.5N
LD 10 100 4N
.MODEL DMOS NMOS (LEVEL=3 THETA=85M VMAX=163K ETA=2.2M VTO=.2 KP=.999)
.MODEL DCGD D (CJO=128P VJ=.6)
.MODEL DSUB D (IS=29N N=1.5 RS=61.4M BV=160 CJO=802P VJ=.8 TT=252N)
.MODEL DLIM D (IS=100U)
.ENDS
No matter what I do, I just get
"Error: unknown subckt: xmsk 100 50 41 msk"