* SPICE netlist
V1 Vcc 0 12
Q3 Vout N013 0 0 BC337-25
Q4 N013 N013 0 0 BC337-25
R5 N012 N013 5k
C3 0 Vout 100n
R6 Vout 0 22k
Q5 N012 N011 N010 0 BC327-25
R7 N011 N004 40k
Q6 Vout N001 Vcc 0 BC327-25
Q7 N001 N001 Vcc 0 BC327-25
R8 N001 N002 5k
Q8 N002 N005 N006 0 BC337-25
R9 N005 N004 40k
R10 N006 0 1m
R11 Vcc N010 1m
M1 N004 Vout N008 N008 BS170
M2 N007 N003 N008 N008 BS170
M3 N008 N009 0 0 BS170
M4 N009 N009 0 0 BS170
R1 Vcc N009 2k
M5 N007 N007 Vcc Vcc BS250P
M6 N004 N007 Vcc Vcc BS250P
R2 Vcc N003 10k
R3 N003 0 10k
R4 N004 N003 1k
.tran 5m uic
.inc "C:\Users\TCFH2003\Documents\LTspice\PSPICE_Models\BS170.lib"
.inc "C:\Users\TCFH2003\Documents\LTspice\PSPICE_Models\BS250P.lib"

* LTspice schematic (.asc)
Version 4
SHEET 1 1968 1264
WIRE 616 -632 504 -632
WIRE 728 -632 616 -632
WIRE 504 -600 504 -632
WIRE 728 -600 728 -632
WIRE 616 -552 568 -552
WIRE 664 -552 616 -552
WIRE 504 -440 504 -504
WIRE 616 -440 616 -552
WIRE 616 -440 504 -440
WIRE 504 -424 504 -440
WIRE 504 -312 504 -344
WIRE -312 -280 -520 -280
WIRE 56 -280 -232 -280
WIRE 344 -264 312 -264
WIRE 440 -264 424 -264
WIRE -264 -200 -376 -200
WIRE -152 -200 -264 -200
WIRE 504 -200 504 -216
WIRE -376 -168 -376 -200
WIRE -152 -168 -152 -200
WIRE -264 -152 -328 -152
WIRE -200 -152 -264 -152
WIRE -680 -104 -696 -104
WIRE -648 -104 -680 -104
WIRE 504 -104 504 -120
WIRE -648 -72 -648 -104
WIRE -376 -56 -376 -72
WIRE -264 -56 -264 -152
WIRE -264 -56 -376 -56
WIRE -152 -56 -152 -72
WIRE 56 -56 56 -280
WIRE 56 -56 -152 -56
WIRE 312 -56 312 -264
WIRE 312 -56 56 -56
WIRE -376 -40 -376 -56
WIRE -152 -40 -152 -56
WIRE 728 -24 728 -504
WIRE 856 -24 728 -24
WIRE 952 -24 856 -24
WIRE 984 -24 952 -24
WIRE -648 40 -648 8
WIRE -520 40 -520 -280
WIRE -520 40 -648 40
WIRE -424 40 -520 40
WIRE 728 40 728 -24
WIRE 728 40 -104 40
WIRE 856 56 856 40
WIRE -648 72 -648 40
WIRE -376 104 -376 56
WIRE -264 104 -376 104
WIRE -152 104 -152 56
WIRE -152 104 -264 104
WIRE -72 152 -88 152
WIRE -56 152 -72 152
WIRE 520 152 504 152
WIRE 536 152 520 152
WIRE -648 168 -648 152
WIRE -88 168 -88 152
WIRE 504 168 504 152
WIRE -968 232 -984 232
WIRE -88 264 -88 248
WIRE -88 264 -168 264
WIRE 504 264 504 248
WIRE -984 280 -984 232
WIRE -264 280 -264 104
WIRE -88 280 -88 264
WIRE 312 312 312 -56
WIRE 344 312 312 312
WIRE 440 312 424 312
WIRE -168 360 -168 264
WIRE -168 360 -216 360
WIRE -136 360 -168 360
WIRE -984 376 -984 360
WIRE 504 376 504 360
WIRE 504 472 504 456
WIRE 616 472 504 472
WIRE 504 504 504 472
WIRE 728 504 728 40
WIRE 616 552 616 472
WIRE 616 552 568 552
WIRE 664 552 616 552
WIRE 504 632 504 600
WIRE 728 632 728 600
FLAG -984 376 0
FLAG -968 232 Vcc
FLAG 504 632 0
FLAG 728 632 0
FLAG 856 56 0
FLAG 984 56 0
FLAG 520 152 Vcc
FLAG 616 -632 Vcc
FLAG 952 -24 Vout
FLAG 504 -104 0
FLAG -72 152 Vcc
FLAG -264 376 0
FLAG -88 376 0
FLAG -264 -200 Vcc
FLAG -648 168 0
FLAG -680 -104 Vcc
SYMBOL voltage -984 264 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL npn 664 504 R0
SYMATTR InstName Q3
SYMATTR Value BC337-25
SYMBOL npn 568 504 M0
SYMATTR InstName Q4
SYMATTR Value BC337-25
SYMBOL res 488 360 R0
SYMATTR InstName R5
SYMATTR Value 5k
SYMBOL cap 872 40 R180
SYMATTR InstName C3
SYMATTR Value 100n
SYMBOL res 968 -40 R0
SYMATTR InstName R6
SYMATTR Value 22k
SYMBOL pnp 440 360 M180
SYMATTR InstName Q5
SYMATTR Value BC327-25
SYMBOL res 440 296 R90
SYMATTR InstName R7
SYMATTR Value 40k
SYMBOL pnp 664 -504 M180
SYMATTR InstName Q6
SYMATTR Value BC327-25
SYMBOL pnp 568 -504 R180
SYMATTR InstName Q7
SYMATTR Value BC327-25
SYMBOL res 488 -440 R0
SYMATTR InstName R8
SYMATTR Value 5k
SYMBOL npn 440 -312 R0
SYMATTR InstName Q8
SYMATTR Value BC337-25
SYMBOL res 440 -280 R90
SYMATTR InstName R9
SYMATTR Value 40k
SYMBOL res 488 -216 R0
SYMATTR InstName R10
SYMATTR Value 1m
SYMBOL res 488 152 R0
SYMATTR InstName R11
SYMATTR Value 1m
SYMBOL nmos -104 -40 M0
SYMATTR InstName M1
SYMATTR Value BS170
SYMBOL nmos -424 -40 R0
SYMATTR InstName M2
SYMATTR Value BS170
SYMBOL nmos -216 280 M0
SYMATTR InstName M3
SYMATTR Value BS170
SYMBOL nmos -136 280 R0
SYMATTR InstName M4
SYMATTR Value BS170
SYMBOL res -104 152 R0
SYMATTR InstName R1
SYMATTR Value 2k
SYMBOL pmos -328 -72 R180
SYMATTR InstName M5
SYMATTR Value BS250P
SYMBOL pmos -200 -72 M180
SYMATTR InstName M6
SYMATTR Value BS250P
SYMBOL res -664 -88 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res -664 56 R0
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res -216 -296 R90
SYMATTR InstName R4
SYMATTR Value 1k