24.11.2005, 12:57 PM
my_ir2011.sub
**********************************************************************
.param t_HO_rise=80n t_HO_fall=75n
.param t_LO_rise=80n t_LO_fall=75n
.param ron=5
.SUBCKT IR2011 Vdd HIN SD LIN Vss HO Vb Vs Vcc .COM LO
S1 HO Vb N008 Vss SWP
S2 Vs HO N009 Vss SWP
S3 LO Vcc N010 Vss SWP
S4 .COM LO N011 Vss SWP
A1 N005 Vss Vss Vss Vss N009 N008 Vss BUF Trise={t_HO_rise} Tfall={t_HO_fall}
A2 N006 Vss Vss Vss Vss N011 N010 Vss BUF Trise={t_LO_rise} Tfall={t_LO_fall}
S7 N005 Vss N001 N002 SW
S8 N006 Vss N001 N004 SW
R1 N007 N005 100k
R2 N007 N006 100k
R3 Vdd N001 10Meg
R4 N001 Vss 10Meg
R5 N005 N002 40Meg
R6 N006 N004 40Meg
R7 N002 HIN 10Meg
R8 N004 LIN 10Meg
R9 HIN Vss 750k
R10 LIN Vss 750k
R11 Vss SD 750k
S9 Vdd N007 N001 N003 SW
R12 N007 N003 40Meg
R13 N003 SD 10Meg
R14 Vss N007 100k
.model SWP SW(Ron={ron} Vt=0.8)
.model SW SW()
.ENDS
GruB,
Sander.
**********************************************************************
.param t_HO_rise=80n t_HO_fall=75n
.param t_LO_rise=80n t_LO_fall=75n
.param ron=5
.SUBCKT IR2011 Vdd HIN SD LIN Vss HO Vb Vs Vcc .COM LO
S1 HO Vb N008 Vss SWP
S2 Vs HO N009 Vss SWP
S3 LO Vcc N010 Vss SWP
S4 .COM LO N011 Vss SWP
A1 N005 Vss Vss Vss Vss N009 N008 Vss BUF Trise={t_HO_rise} Tfall={t_HO_fall}
A2 N006 Vss Vss Vss Vss N011 N010 Vss BUF Trise={t_LO_rise} Tfall={t_LO_fall}
S7 N005 Vss N001 N002 SW
S8 N006 Vss N001 N004 SW
R1 N007 N005 100k
R2 N007 N006 100k
R3 Vdd N001 10Meg
R4 N001 Vss 10Meg
R5 N005 N002 40Meg
R6 N006 N004 40Meg
R7 N002 HIN 10Meg
R8 N004 LIN 10Meg
R9 HIN Vss 750k
R10 LIN Vss 750k
R11 Vss SD 750k
S9 Vdd N007 N001 N003 SW
R12 N007 N003 40Meg
R13 N003 SD 10Meg
R14 Vss N007 100k
.model SWP SW(Ron={ron} Vt=0.8)
.model SW SW()
.ENDS
GruB,
Sander.