* SPICE netlist
V1 +V 0 5
C1 P001 N006 1.6p Rser=45 Lser=15.6m Cpar=6p
R1 N006 0 1K
R2 +V N006 1K
R3 N002 N001 1K
C2 N001 0 .1
R4 N002 P001 210
XU1 N007 N005 +V 0 SINE NC_01 LT1806 ;pnba In+)In-)V+)V-)OUT)SHDN
R5 SINE N005 15.8K
C3 N005 N004 100p
C4 SINE N004 100p
R6 N003 N002 1K
C5 0 N003 100p
R7 N007 0 1K
R8 +V N007 1K
C6 0 N007 .1
R9 N004 N003 6.49K
R10 0 N004 162
XU2 N006 N001 +V 0 0 N002 SQUARE 0 LT1712 ;pnba In+)In-)V+)V-)GND)OUT+)OUT-)LATCH
.tran 150u startup

* LTspice schematic (.asc)
Version 4
SHEET 1 944 448
WIRE -392 -208 -408 -208
WIRE -312 -208 -328 -208
WIRE -248 -208 -312 -208
WIRE -120 -208 -168 -208
WIRE -104 -208 -120 -208
WIRE -8 -208 -24 -208
WIRE 40 -208 -8 -208
WIRE 152 -208 120 -208
WIRE 248 -208 152 -208
WIRE 328 -208 248 -208
WIRE 456 -208 392 -208
WIRE -8 -192 -8 -208
WIRE 152 -176 152 -208
WIRE 248 -176 248 -208
WIRE -472 -144 -472 -160
WIRE -8 -112 -8 -128
WIRE -248 -96 -248 -128
WIRE 152 -80 152 -96
WIRE 248 -80 248 -112
WIRE 344 -80 248 -80
WIRE 456 -80 456 -208
WIRE 456 -80 424 -80
WIRE -312 -64 -312 -208
WIRE -280 -64 -312 -64
WIRE -120 -64 -120 -208
WIRE -120 -64 -200 -64
WIRE -472 -48 -472 -64
WIRE -280 -32 -312 -32
WIRE -88 -32 -200 -32
WIRE 312 -16 312 -32
WIRE 168 0 168 -16
WIRE -392 16 -392 0
WIRE -264 16 -264 0
WIRE -248 16 -248 0
WIRE -248 16 -264 16
WIRE -232 16 -232 0
WIRE -232 16 -248 16
WIRE -248 32 -248 16
WIRE 248 32 248 -80
WIRE 280 32 248 32
WIRE 456 64 456 -80
WIRE 456 64 424 64
WIRE 472 64 456 64
WIRE 88 96 72 96
WIRE 168 96 168 80
WIRE 168 96 152 96
WIRE 280 96 168 96
WIRE -392 112 -392 96
WIRE -312 112 -312 -32
WIRE -312 112 -392 112
WIRE -296 112 -312 112
WIRE -120 112 -120 -64
WIRE -120 112 -152 112
WIRE 168 112 168 96
WIRE -392 128 -392 112
WIRE 168 208 168 192
WIRE -392 224 -392 208
FLAG -472 -48 0
FLAG -472 -160 +V
FLAG -248 -128 +V
FLAG -248 32 0
FLAG -392 0 +V
FLAG -392 224 0
FLAG -408 -208 0
FLAG 312 144 0
FLAG 168 -16 +V
FLAG 168 208 0
FLAG 72 96 0
FLAG 312 -32 +V
FLAG -8 -112 0
FLAG 152 -80 0
FLAG 472 64 SINE
FLAG -88 -32 SQUARE
SYMBOL voltage -472 -160 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL misc\\xtal -232 96 R90
SYMATTR InstName C1
SYMATTR Value 1.6p
SYMATTR SpiceLine Rser=45 Lser=15.6m Cpar=6p
SYMBOL res -408 112 R0
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL res -408 0 R0
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL res -152 -224 R90
SYMATTR InstName R3
SYMATTR Value 1K
SYMBOL cap -328 -224 R90
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL res -136 96 R90
SYMATTR InstName R4
SYMATTR Value 210
SYMBOL opamps\\LT1806 312 64 R0
SYMATTR InstName U1
SYMBOL res 440 -96 R90
SYMATTR InstName R5
SYMATTR Value 15.8K
SYMBOL cap 232 -112 M180
SYMATTR InstName C3
SYMATTR Value 100p
SYMBOL cap 392 -224 R90
SYMATTR InstName C4
SYMATTR Value 100p
SYMBOL res -8 -224 R90
SYMATTR InstName R6
SYMATTR Value 1K
SYMBOL cap -24 -128 M180
SYMATTR InstName C5
SYMATTR Value 100p
SYMBOL res 152 96 R0
SYMATTR InstName R7
SYMATTR Value 1K
SYMBOL res 152 -16 R0
SYMATTR InstName R8
SYMATTR Value 1K
SYMBOL cap 88 80 M90
SYMATTR InstName C6
SYMATTR Value .1
SYMBOL res 136 -224 R90
SYMATTR InstName R9
SYMATTR Value 6.49K
SYMBOL res 136 -80 M180
SYMATTR InstName R10
SYMATTR Value 162
SYMBOL Comparators\\LT1712 -248 -48 R0
SYMATTR InstName U2