forps
Newbie level 6
- Joined
- May 10, 2010
- Messages
- 11
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Los Angeles
- Activity points
- 1,386
I have to build circuit on the figure.
I defined PMOS as following.
.SUBCKT BS250P drain gate source
M1 drain gate1 source source MBS250
RG gate gate1 160
RL drain source 1.2E8
C1 gate1 source 47E-12
C2 gate1 drain 10E-12
D1 drain source DBS250
.MODEL MBS250 PMOS
+VTO=-3.193 RS=2.041 RD=0.697 IS=1E-15 KP=0.277
+CBD=105E-12 PB=1 LAMBDA=1.2E-2
.MODEL DBS250 D IS=2E-13 RS=0.309
.ENDS BS250P
Can I also define NMOS and use with PMOS recalling code?
What I want to do is define PMOS and NMOS as subcircuit and just recall it whenever I want to use..
My main point in question is that if I define NMOS subcircuit model, will I still be able to use PMOS recall? or Subcircuit works only one at a time?
I defined PMOS as following.
.SUBCKT BS250P drain gate source
M1 drain gate1 source source MBS250
RG gate gate1 160
RL drain source 1.2E8
C1 gate1 source 47E-12
C2 gate1 drain 10E-12
D1 drain source DBS250
.MODEL MBS250 PMOS
+VTO=-3.193 RS=2.041 RD=0.697 IS=1E-15 KP=0.277
+CBD=105E-12 PB=1 LAMBDA=1.2E-2
.MODEL DBS250 D IS=2E-13 RS=0.309
.ENDS BS250P
Can I also define NMOS and use with PMOS recalling code?
What I want to do is define PMOS and NMOS as subcircuit and just recall it whenever I want to use..
My main point in question is that if I define NMOS subcircuit model, will I still be able to use PMOS recall? or Subcircuit works only one at a time?