* SPICE netlist
V1 In 0 PWL file=pwl-out.txt
R1 N014 N013 10k tol=5
C1 N014 0 15n V=25 Irms=728m Rser=0.14361 Lser=0
R2 N015 N014 22k
V2 N001 0 5
R3 N001 N008 500
Q1 N008 N015 0 0 NPN
R4 N013 0 10k
R5 N013 In 40k
C2 N009 N008 200n
Q2 N002 N009 0 0 NPN
R6 N001 N002 220
R7 N002 N009 15k
R8 N001 N006 220
R9 N006 0 220
Q4 N010 N011 0 0 NPN
R12 N011 N002 10k
R13 N006 N010 1k
Q3 N001 N003 N005 0 NPN
R10 N003 N002 10k
Q6 N012 N017 0 0 NPN
R15 N017 N016 10k
R17 N001 N012 1k
R11 N006 N005 1k
R14 N001 N004 1k
C3 N010 N016 100n
C4 N005 N007 100n
Q5 N004 P001 0 0 NPN
R16 P001 N007 10k
.tran 10m

* LTspice schematic (.asc)
Version 4
SHEET 1 1728 688
WIRE -80 -328 -288 -328
WIRE 160 -328 -80 -328
WIRE 384 -328 160 -328
WIRE 848 -328 384 -328
WIRE 160 -216 160 -328
WIRE -80 -168 -80 -248
WIRE -80 -168 -112 -168
WIRE -64 -168 -80 -168
WIRE -16 -168 -64 -168
WIRE 96 -168 64 -168
WIRE 768 -168 608 -168
WIRE 848 -168 848 -328
WIRE 192 -120 160 -120
WIRE 240 -120 192 -120
WIRE 384 -120 384 -248
WIRE 384 -120 320 -120
WIRE -80 -88 -80 -168
WIRE 784 -72 608 -72
WIRE 464 -56 464 -120
WIRE 464 -56 192 -56
WIRE -288 -40 -288 -248
WIRE -192 -40 -192 -168
WIRE -192 -40 -224 -40
WIRE -144 -40 -192 -40
WIRE 192 8 160 8
WIRE 208 8 192 8
WIRE 384 8 384 -120
WIRE 384 8 288 8
WIRE 192 40 192 8
WIRE -288 56 -288 -40
WIRE -64 56 -64 -168
WIRE -16 56 -64 56
WIRE 96 56 64 56
WIRE 688 56 640 56
WIRE 848 56 848 -168
WIRE 848 56 768 56
WIRE 848 72 848 56
WIRE -832 104 -864 104
WIRE -816 104 -832 104
WIRE -720 104 -736 104
WIRE -496 104 -640 104
WIRE -464 104 -496 104
WIRE -352 104 -384 104
WIRE 480 104 192 104
WIRE 576 104 560 104
WIRE -496 136 -496 104
WIRE -720 168 -720 104
WIRE -832 216 -832 104
WIRE 384 216 384 8
WIRE -720 296 -720 248
WIRE -720 296 -832 296
WIRE -496 296 -496 200
WIRE -496 296 -720 296
WIRE -288 296 -288 152
WIRE -288 296 -496 296
WIRE -80 296 -80 8
WIRE -80 296 -288 296
WIRE 160 296 160 104
WIRE 160 296 -80 296
WIRE 384 296 160 296
WIRE 640 296 640 152
WIRE 640 296 384 296
WIRE 784 296 784 -72
WIRE 784 296 640 296
WIRE 848 296 848 152
WIRE 848 296 784 296
WIRE -832 344 -832 296
FLAG -832 344 0
FLAG -864 104 In
IOPIN -48 -464 In
SYMBOL voltage -832 200 R0
SYMATTR InstName V1
SYMATTR Value PWL file=pwl-out.txt
SYMBOL res -624 88 R90
SYMATTR InstName R1
SYMATTR Value 10k
SYMATTR SpiceLine tol=5
SYMBOL cap -512 136 R0
SYMATTR InstName C1
SYMATTR Value 15n
SYMATTR SpiceLine V=25 Irms=728m Rser=0.14361 Lser=0
SYMBOL res -368 88 R90
SYMATTR InstName R2
SYMATTR Value 22k
SYMBOL voltage 848 56 R0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL res -304 -344 R0
SYMATTR InstName R3
SYMATTR Value 500
SYMBOL npn -352 56 R0
SYMATTR InstName Q1
SYMBOL res -736 152 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res -720 88 R90
SYMATTR InstName R5
SYMATTR Value 40k
SYMBOL cap -224 -56 R90
SYMATTR InstName C2
SYMATTR Value 200n
SYMBOL npn -144 -88 R0
SYMATTR InstName Q2
SYMBOL res -96 -344 R0
SYMATTR InstName R6
SYMATTR Value 220
SYMBOL res -96 -184 R90
SYMATTR InstName R7
SYMATTR Value 15k
SYMBOL res 368 -344 R0
SYMATTR InstName R8
SYMATTR Value 220
SYMBOL res 368 200 R0
SYMATTR InstName R9
SYMATTR Value 220
SYMBOL npn 96 8 R0
SYMATTR InstName Q4
SYMBOL res 80 40 R90
SYMATTR InstName R12
SYMATTR Value 10k
SYMBOL res 304 -8 R90
SYMATTR InstName R13
SYMATTR Value 1k
SYMBOL npn 96 -216 R0
SYMATTR InstName Q3
SYMBOL res 80 -184 R90
SYMATTR InstName R10
SYMATTR Value 10k
SYMBOL npn 576 56 R0
SYMATTR InstName Q6
SYMBOL res 576 88 R90
SYMATTR InstName R15
SYMATTR Value 10k
SYMBOL res 784 40 R90
SYMATTR InstName R17
SYMATTR Value 1k
SYMBOL res 336 -136 R90
SYMATTR InstName R11
SYMATTR Value 1k
SYMBOL res 864 -184 R90
SYMATTR InstName R14
SYMATTR Value 1k
SYMBOL cap 176 40 R0
SYMATTR InstName C3
SYMATTR Value 100n
SYMBOL cap 176 -120 R0
SYMATTR InstName C4
SYMATTR Value 100n
SYMBOL npn 544 -168 R0
SYMATTR InstName Q5
SYMBOL res 560 -136 R90
SYMATTR InstName R16
SYMATTR Value 10k