*uPC393 Dual General-Purpose Single Supply Comparator
*Please note that the inaccuracy is involved to it when you use this model.
*Please refrain from the model's resale.
.SUBCKT uPC393 1 2 3 4 5
**************************************
*      Model Generated by Renesas Electronics Corporation        *
*         All Rights Reserved        *
*Commercial Use or Resale Restricted *
**************************************
F1   9  3 V1 1
IEE  3  7 DC 100E-6
VI1 21  1 DC .75
VI2 22  2 DC .75
Q1   9 21  7 QIN
Q2   8 22  7 QIN
Q3   9  8  4 QMO
Q4   8  8  4 QMI
.MODEL QIN PNP(IS=800E-18 BF=2E3)
.MODEL QMI NPN(IS=800E-18 BF=1000)
.MODEL QMO NPN(IS=800E-18 BF=1000 CJC=4.5E-12 TR=5E-7)
E1  10  4  9  4  4
V1  10 11 DC 0
Q5   5 11  4 QOC
.MODEL QOC NPN(IS=800E-18 BF=16E1 CJC=5E-15 NF=0.97 RC=50
+ TF=1E-9 TR=5E-7)
DP   4  3 DX
RP   3  4 46E3
CO   5  4 1E-12
.MODEL DX  D(IS=800E-18)
.ENDS uPC393

