.model npn1 npn bf=50 br=0.2 rb=81 rc=100 re=6.1 cjs=0.3pf tf=0.36ns +tr=10ns cje=0.13pf cjc=0.1pf is=1e-16 ne=1 nc=1.082 vje=0.84v +vjc=1.1v mje=0.36 mjc=0.76 vaf=50v eg=1.1 .subckt eclg2 1 2 3 4 5 6 0 ** resistors rs 6 11 619 rc2 11 10 900 re4 12 0 200 re6 5 0 6k ** transistors q1 9 1 8 npn1 q2 9 2 8 npn1 q3 11 3 8 npn1 q4 8 4 12 npn1 q5 10 10 9 npn1 q6 6 9 5 npn1 .ends eclg2 *static latch\\ic=1ma\\re6=3k\\1-7-80 *** resistors rcc2 6 8 3.33k ree2 9 0 200 *** transistors q1 6 8 4 npn1 q2 8 4 9 npn1 *** models *** sources vcc 6 0 5v vref 3 0 2.5v *** subcircuits x1 1 2 3 4 5 6 0 eclg2 x2 5 7 3 4 2 6 0 eclg2 *** control cards *.end