28.05.2009, 01:23 PM
ach manno...
.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 rs=500 cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.model pmos1 pmos(level=2 vto=-700m kp=5u lambda=50m rs=500 cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.ends
.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 rs=500 cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.model pmos1 pmos(level=2 vto=-700m kp=5u lambda=50m rs=500 cgso=1n cgdo=1n cgbo=1n cbd=30p cbs=30p)
.ends
Don't worry about getting older. You're still gonna do dump stuff...only slower