* SPICE netlist
I1 Vcc COM TBL(0 0 1 .2m)
D1 COM Vcc 34V
A1 Vcc COM COM COM COM COM N004 COM SCHMITT Vt=8.2 Vh=0.3 Vhigh=2.5 Rout=1k
R1 Vcc N004 8e6
C1 N004 COM 1p
S1 N003 Vcc N004 2v5 ref
D2 N003 Vcc V65
C2 2v5 COM 1p Rpar=240
R2 2v5 N003 240
R3 Ref N003 280m
C3 COM Ref 10p
C4 Osc COM 5p
A2 Osc COM COM COM COM COM N005 COM ExtOsc Vtcap=1.75 Vhcap=.85 Icharge=1p Idischarge=8.3m duty=.96 tripdt=5n nobreak
C5 Vfb COM 1p
R4 N006 Vfb 165k
C6 Err N006 1p Rpar=10G
A4 N006 2v5 COM COM COM COM Err COM OTA Vhigh=6 Vlow=0.7 Isrc=1m Isink=-6m Rclamp=1 g=5 Rout=25k Cout=5p eaclk=A2 powerup=!V(fault,Com)
C7 Ifb COM 5p
R5 N008 Ifb 75k
C8 N008 COM 1p
D3 Err N009 2R
D4 N009 COM 1R
C9 N009 COM 1p Rpar=1e6
A5 N005 COM COM N008 N009 COM N007 COM SERflop Vt=1u nobreak trise=200n tripdt=5n
A6 Ref COM COM COM COM fault COM COM SCHMITT Vt=4.8 Vh=.1 trise=200n
S2 Out Vcc N007 fault Ho
S3 Com Out fault N007 Lo
C10 Vcc COM 20p
C11 Out Com 20p

* LTspice schematic (.asc)
Version 4
SHEET 1 1248 1280
WIRE -624 -608 -624 -640
WIRE -624 640 -624 608
WIRE -592 -640 -624 -640
WIRE -592 640 -624 640
WIRE -464 -320 -512 -320
WIRE -464 -288 -464 -320
WIRE -464 -176 -464 -208
WIRE -464 -112 -512 -112
WIRE -464 -96 -464 -112
WIRE -464 0 -464 -32
WIRE -464 128 -512 128
WIRE -464 160 -464 128
WIRE -464 256 -464 224
WIRE -464 448 -528 448
WIRE -464 480 -464 448
WIRE -464 576 -464 544
WIRE -416 128 -464 128
WIRE -416 448 -464 448
WIRE -400 -112 -464 -112
WIRE -400 -64 -400 -96
WIRE -368 -320 -464 -320
WIRE -368 -288 -368 -320
WIRE -368 -176 -368 -224
WIRE -288 448 -336 448
WIRE -288 480 -288 448
WIRE -288 576 -288 544
WIRE -272 -320 -368 -320
WIRE -272 -240 -272 -320
WIRE -272 128 -336 128
WIRE -272 176 -272 128
WIRE -240 -240 -272 -240
WIRE -240 -192 -240 -224
WIRE -240 128 -272 128
WIRE -240 176 -272 176
WIRE -240 192 -288 192
WIRE -224 272 -224 240
WIRE -144 -240 -176 -240
WIRE -144 -192 -144 -240
WIRE -144 48 -512 48
WIRE -144 128 -176 128
WIRE -144 128 -144 48
WIRE -144 192 -176 192
WIRE -144 192 -144 128
WIRE -144 368 -144 192
WIRE -144 464 -144 432
WIRE -144 480 -144 464
WIRE -144 576 -144 544
WIRE -80 -112 -336 -112
WIRE -80 400 -80 -112
WIRE -80 464 -144 464
WIRE -80 480 -80 464
WIRE -80 576 -80 544
WIRE -16 -320 -272 -320
WIRE -16 -304 -16 -320
WIRE -16 -192 -144 -192
WIRE -16 -192 -16 -224
WIRE -16 400 -80 400
WIRE -16 448 -288 448
WIRE -16 464 -80 464
WIRE 0 496 0 464
WIRE 64 -320 -16 -320
WIRE 64 -240 64 -320
WIRE 64 -192 -16 -192
WIRE 64 -176 64 -192
WIRE 64 -80 64 -112
WIRE 64 272 32 272
WIRE 64 320 64 288
WIRE 96 -320 64 -320
WIRE 96 -240 64 -240
WIRE 112 -192 64 -192
WIRE 208 -320 160 -320
WIRE 208 -240 176 -240
WIRE 208 -240 208 -320
WIRE 208 -192 160 -192
WIRE 208 -176 208 -192
WIRE 208 -80 208 -112
WIRE 240 416 48 416
WIRE 240 416 240 224
WIRE 272 272 128 272
WIRE 272 368 208 368
WIRE 272 368 272 272
WIRE 288 -320 208 -320
WIRE 288 -304 288 -320
WIRE 288 -192 208 -192
WIRE 288 -192 288 -224
WIRE 288 224 240 224
WIRE 288 272 272 272
WIRE 288 368 272 368
WIRE 288 416 240 416
WIRE 320 -320 288 -320
WIRE 320 -192 288 -192
WIRE 336 208 336 176
WIRE 336 320 336 288
WIRE 336 352 336 320
WIRE 336 464 336 432
WIRE 336 496 336 464
WIRE 432 -320 400 -320
WIRE 432 -304 432 -320
WIRE 432 -208 432 -240
WIRE 432 176 336 176
WIRE 432 208 432 176
WIRE 432 304 432 272
WIRE 432 320 336 320
WIRE 432 352 432 320
WIRE 432 464 336 464
WIRE 432 464 432 416
WIRE 480 176 432 176
WIRE 480 464 432 464
WIRE 496 -320 432 -320
WIRE 496 320 432 320
WIRE 624 -640 592 -640
WIRE 624 -608 624 -640
WIRE 624 640 592 640
WIRE 624 640 624 608
FLAG 496 320 Out
IOPIN 656 384 In
FLAG 432 -208 COM
FLAG 496 -320 Ref
IOPIN 656 -256 In
FLAG -512 -112 Osc
IOPIN -352 -48 In
FLAG -288 576 COM
FLAG -512 128 Vfb
IOPIN -352 192 In
FLAG -512 48 Err
IOPIN -352 112 In
FLAG -144 576 COM
FLAG -528 448 Ifb
IOPIN -368 512 In
FLAG -464 576 COM
FLAG -464 256 COM
FLAG -464 0 COM
FLAG -288 192 2v5
FLAG -512 -320 Vcc
IOPIN -352 -256 In
FLAG 208 -80 COM
FLAG 480 176 Vcc
IOPIN 640 240 In
FLAG 480 464 Com
IOPIN 640 528 In
FLAG 432 304 COM
FLAG 320 -192 2v5
FLAG 32 272 Ref
FLAG -80 576 COM
FLAG -368 -176 COM
FLAG 64 -80 COM
FLAG 208 368 fault
FLAG -464 -176 COM
FLAG 64 320 COM
FLAG -224 272 COM
FLAG 0 496 COM
FLAG -400 -64 COM
FLAG -240 -192 COM
FLAG 336 496 COM
SYMBOL current -464 -288 R0
SYMATTR Value TBL(0 0 1 .2m)
SYMATTR InstName I1
SYMBOL zener -384 -224 M180
SYMATTR InstName D1
SYMATTR Value 34V
SYMBOL Digital\\schmtbuf -240 -304 R0
SYMATTR InstName A1
SYMATTR Value Vt=8.2 Vh=0.3
SYMATTR Value2 Vhigh=2.5 Rout=1k
SYMBOL res -32 -320 R0
SYMATTR InstName R1
SYMATTR Value 8e6
SYMBOL cap 48 -176 R0
SYMATTR InstName C1
SYMATTR Value 1p
SYMBOL sw 192 -240 M270
SYMATTR InstName S1
SYMATTR Value ref
SYMBOL diode 160 -336 R90
SYMATTR InstName D2
SYMATTR Value V65
SYMBOL cap 224 -176 M0
SYMATTR Value 1p
SYMATTR SpiceLine Rpar=240
SYMATTR InstName C2
SYMBOL res 304 -208 R180
SYMATTR InstName R2
SYMATTR Value 240
SYMBOL res 416 -336 R90
SYMATTR InstName R3
SYMATTR Value 280m
SYMBOL cap 416 -240 M180
SYMATTR InstName C3
SYMATTR Value 10p
SYMBOL cap -448 -96 M0
SYMATTR Value 5p
SYMATTR InstName C4
SYMBOL Digital\\buf1 -400 -176 R0
SYMATTR Value Vtcap=1.75 Vhcap=.85
SYMATTR InstName ExtOsc
SYMATTR InstName A2
SYMATTR Value2 Icharge=1p Idischarge=8.3m
SYMATTR SpiceLine duty=.96 tripdt=5n nobreak
SYMBOL cap -448 160 M0
SYMATTR InstName C5
SYMATTR Value 1p
SYMBOL res -320 112 R90
SYMATTR InstName R4
SYMATTR Value 165k
SYMBOL cap -176 112 R90
SYMATTR InstName C6
SYMATTR Value 1p
SYMATTR SpiceLine Rpar=10G
SYMBOL Digital\\or -208 144 R0
SYMATTR InstName A4
SYMATTR InstName OTA
SYMATTR Value Vhigh=6 Vlow=0.7 Isrc=1m Isink=-6m
SYMATTR Value2 Rclamp=1 g=5 Rout=25k Cout=5p
SYMATTR SpiceLine eaclk=A2 powerup=!V(fault,Com)
SYMBOL cap -448 480 M0
SYMATTR InstName C7
SYMATTR Value 5p
SYMBOL res -320 432 R90
SYMATTR InstName R5
SYMATTR Value 75k
SYMBOL cap -304 480 R0
SYMATTR InstName C8
SYMATTR Value 1p
SYMBOL diode -128 368 M0
SYMATTR Value 2R
SYMATTR InstName D3
SYMBOL diode -128 480 M0
SYMATTR Value 1R
SYMATTR InstName D4
SYMBOL cap -96 480 R0
SYMATTR InstName C9
SYMATTR Value 1p
SYMATTR SpiceLine Rpar=1e6
SYMBOL Digital\\and 16 368 R0
SYMATTR InstName A5
SYMATTR InstName SERflop
SYMATTR Value Vt=1u nobreak
SYMATTR Value2 trise=200n tripdt=5n
SYMBOL Digital\\schmtinv 64 208 R0
SYMATTR InstName A6
SYMATTR Value Vt=4.8 Vh=.1
SYMATTR Value2 trise=200n
SYMBOL sw 336 304 M180
SYMATTR InstName S2
SYMATTR Value Ho
SYMBOL sw 336 448 M180
SYMATTR InstName S3
SYMATTR Value Lo
SYMBOL cap 416 208 R0
SYMATTR Value 20p
SYMATTR InstName C10
SYMBOL cap 416 352 R0
SYMATTR InstName C11
SYMATTR Value 20p