28.05.2009, 11:39 AM
so etwa..
.subckt ainv in out avdd avss
r1 in in2 300
m1 out in2 avss avss nmos1 L=1u W=50u
m2 out in2 avdd avdd pmos1 L=1u W=100u
.model nmos1 nmos(level=2 vto=700m kp=10u lambda=50m cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.model pmos1 pmos(level=2 vto=-700m kp=5u lambda=50m cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.ends
ed besser so..
.subckt ainv in out avdd avss
r1 in in2 300
m1 out in2 avss avss nmos1 L=1u W=50u
m2 out in2 avdd avdd pmos1 L=1u W=100u
.model nmos1 nmos(level=2 vto=700m kp=10u lambda=50m cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.model pmos1 pmos(level=2 vto=-700m kp=5u lambda=50m cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.ends
ed besser so..
Don't worry about getting older. You're still gonna do dump stuff...only slower