*Lipa Laboratories, Inc.
*Lipa Labs 74LLC80486
*SO20 
*CMOS 
*[File Rev] 42
*[Spice] P
*[Iterate]
*[Package]
*| variable            typ              min              max
*R_pkg                 2.0m             1.0m             3.0m
*L_pkg                 5.0nH            4.0nH            6.0nH
*C_pkg                 8.0pF            7.0pF            9.0pF
*[Source] Here's what happens when you put in a source line. 
*         Here's what happens when you put in a second source line.
*         You may put in as many lines as you like.
*[Disclaimer] An example of a multi-line disclaimer:
*             No matter what happens, I am not responsible.
*             You may put in as many lines as you like.
*[Notes] Notes works the same way as disclaimer.
*        You may put in as many lines as you like.
*[Pin] signal_name    model_name    R_pin   L_pin   C_pin
* three  gozouta        Buffer1     200.0m  5.0nH   2.5pF     
* Output 31  2.0E-8  four 
**Polarity        Non-Inverting
**  N.B. !!!! this really is an inverting output!
* four   In1            Input1 
* Input  21   1   0.0  5.0
* five   In2            Input2 
* Input  21   1   0.0  5.0
* six    In3            Input1 
* Input  21   1   0.0  5.0
* seven  In4            Input3 
* Input  21   1   0.0  5.0
**NoModel
*  7     GND            GND
*  GND    0
*  8     gozer          Buffer2     200.0m  5.0nH   2.5pF
* 3-state 41  2.0E-8 eight nine
**C_comp           5.0pF         3.0pF         7.0pF
* eight   In4           Input1
* Input  51   1   0.0  5.0
**NoModel
* nine    En2           Enable1
* Input  61   1  0.0  5.0
*  14    VCC            POWER
*  POWER  99 5.0 4.5 5.5
*[Endpin]
*****  s2ibis SPICE INPUT DECK   *****

*VDD 99 0 5.0V

X1 99 21 31 INVA
X2 99 51 41 61 71 TRIINVA
X3 99 61 71 INVA

C1 31 0 50P
C2 41 0 50P

.SUBCKT INVA 199 121 131
M1 131 121 199 199 PCHAN1 W=5300U L=1U
M2 131 121  0 0 NCHAN1 W=2000U L=1U
.ENDS

.SUBCKT TRIINVA 199 121 131 141 151
M1 131 121 161 199 PCHAN W=5300U L=1U
M2 131 121  171 0 NCHAN W=2000U L=1U
M3 161 141 199 199 PCHAN W=5300U L=1U
M4 171 151  0 0 NCHAN W=2000U L=1U
.ENDS

D1 31 99 CLMP1
D2 0  31 CLMP2
D3 41 99 CLMP3
D4 0  41 CLMP4
D5 21 99 CLMP1
D6 0  21 CLMP2

.MODEL CLMP1 D VJ=0.7 RS=100
.MODEL CLMP2 D VJ=0.7 RS=200
.MODEL CLMP3 D VJ=0.7 RS=500
.MODEL CLMP4 D VJ=0.7 RS=1000

.MODEL NCHAN NMOS LEVEL=1 VTO=0.8186 RD=1 RS=1
.MODEL NCHAN1 NMOS LEVEL=1 VTO=0.8186 RD=2 RS=2

.MODEL PCHAN PMOS LEVEL=1 VTO=-0.9456 RD=1 RS=1
.MODEL PCHAN1 PMOS LEVEL=1 VTO=-0.9456 RD=2 RS=2
.END
