* SPICE netlist
Q1 N001 Vin+ N005 0 BC337-25
Q2 Vout Vin- N005 0 BC337-25
Q3 N001 N001 Vcc 0 BC327-25
Q4 Vout N001 Vcc 0 BC327-25
V1 Vcc 0 12
R2 Vout 0 100k
Q5 N005 N007 0 0 BC337-25
Q6 N007 N007 0 0 BC337-25
R1 Vcc N007 2k
R3 N003 N002 1k
R4 Vcc N002 10k
R5 N002 0 10k
V3 N004 0 SINE(6 6 1k)
XU2 N002 N004 Vcc 0 N003 OP292 ;pnba In+)In-)V+)V-)OUT
V2 N006 0 SINE(6 6 1k)
R6 Vcc Vin+ 50k
R7 Vin+ 0 50k
R8 Vout Vin+ 1k
R9 Vin- N006 5k
R10 Vo 0 10k
R11 Vcc N010 2k
M1 N010 N010 0 0 BS170
M2 N009 N010 0 0 BS170
M3 Vo Vin_n N009 N009 BS170
M4 N008 Vin_p N009 N009 BS170
M5 N008 N008 Vcc Vcc BS250P
M6 Vo N008 Vcc Vcc BS250P
V4 Vin_n 0 SINE(6 6 1k)
R12 Vcc Vin_p 10k
R13 Vin_p 0 10k
R14 Vo Vin_p 1k
.tran 5m
.inc opamp.sub
.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 2512 2112
WIRE -232 -1040 -552 -1040
WIRE 120 -1040 -152 -1040
WIRE -200 -912 -344 -912
WIRE -40 -912 -200 -912
WIRE 952 -880 936 -880
WIRE 968 -880 952 -880
WIRE -344 -864 -344 -912
WIRE -40 -864 -40 -912
WIRE -728 -848 -760 -848
WIRE -664 -848 -728 -848
WIRE 968 -832 968 -880
WIRE -200 -816 -280 -816
WIRE -104 -816 -200 -816
WIRE 1112 -816 1064 -816
WIRE 1256 -816 1192 -816
WIRE -664 -784 -664 -848
WIRE 1144 -752 1096 -752
WIRE -344 -736 -344 -768
WIRE -200 -736 -200 -816
WIRE -200 -736 -344 -736
WIRE -40 -736 -40 -768
WIRE 120 -736 120 -1040
WIRE 120 -736 -40 -736
WIRE 168 -736 120 -736
WIRE 280 -736 168 -736
WIRE 1096 -736 1096 -752
WIRE -1240 -720 -1256 -720
WIRE -1208 -720 -1240 -720
WIRE 1144 -720 1144 -752
WIRE -344 -704 -344 -736
WIRE -40 -704 -40 -736
WIRE 968 -704 968 -752
WIRE 1064 -704 1064 -816
WIRE 1064 -704 968 -704
WIRE 1112 -704 1064 -704
WIRE 1256 -688 1256 -816
WIRE 1256 -688 1176 -688
WIRE 1112 -672 776 -672
WIRE -664 -656 -664 -704
WIRE -552 -656 -552 -1040
WIRE -552 -656 -664 -656
WIRE -456 -656 -552 -656
WIRE -408 -656 -456 -656
WIRE 72 -656 24 -656
WIRE 184 -656 72 -656
WIRE -1208 -640 -1208 -720
WIRE 280 -640 280 -656
WIRE 776 -640 776 -672
WIRE 968 -640 968 -704
WIRE -664 -608 -664 -656
WIRE -344 -592 -344 -608
WIRE -200 -592 -344 -592
WIRE -40 -592 -40 -608
WIRE -40 -592 -200 -592
WIRE 184 -592 184 -656
WIRE 1144 -592 1144 -656
WIRE 1224 -592 1144 -592
WIRE 1256 -592 1224 -592
WIRE 968 -544 968 -560
WIRE -1208 -528 -1208 -560
WIRE 776 -528 776 -560
WIRE -664 -496 -664 -528
WIRE 24 -496 -8 -496
WIRE 40 -496 24 -496
WIRE 184 -480 184 -512
WIRE -8 -464 -8 -496
WIRE 184 -384 184 -400
WIRE -8 -352 -8 -384
WIRE -8 -352 -104 -352
WIRE -200 -320 -200 -592
WIRE -8 -320 -8 -352
WIRE -104 -272 -104 -352
WIRE -104 -272 -136 -272
WIRE -72 -272 -104 -272
WIRE -200 -192 -200 -224
WIRE -8 -192 -8 -224
WIRE -232 256 -520 256
WIRE 104 256 -152 256
WIRE -200 336 -344 336
WIRE -40 336 -200 336
WIRE -344 384 -344 336
WIRE -40 384 -40 336
WIRE -200 400 -296 400
WIRE -88 400 -200 400
WIRE -680 448 -712 448
WIRE -616 448 -680 448
WIRE -616 512 -616 448
WIRE -40 512 -40 480
WIRE 104 512 104 256
WIRE 104 512 -40 512
WIRE 200 512 104 512
WIRE 216 512 200 512
WIRE -344 528 -344 480
WIRE -200 528 -200 400
WIRE -200 528 -344 528
WIRE -344 560 -344 528
WIRE -40 560 -40 512
WIRE 216 608 216 592
WIRE -616 640 -616 592
WIRE -520 640 -520 256
WIRE -520 640 -616 640
WIRE -456 640 -520 640
WIRE -392 640 -456 640
WIRE 72 640 8 640
WIRE 152 640 72 640
WIRE -200 656 -344 656
WIRE -40 656 -200 656
WIRE 152 656 152 640
WIRE -616 688 -616 640
WIRE 24 752 -8 752
WIRE 40 752 24 752
WIRE 152 768 152 736
WIRE -8 784 -8 752
WIRE -616 800 -616 768
WIRE -8 896 -8 864
WIRE -8 896 -104 896
WIRE -200 928 -200 656
WIRE -8 928 -8 896
WIRE -104 1008 -104 896
WIRE -104 1008 -152 1008
WIRE -56 1008 -104 1008
WIRE -200 1056 -200 1024
WIRE -8 1056 -8 1024
FLAG -1208 -528 0
FLAG -1240 -720 Vcc
FLAG -200 -912 Vcc
FLAG 168 -736 Vout
FLAG 280 -640 0
FLAG -200 -192 0
FLAG -8 -192 0
FLAG 24 -496 Vcc
FLAG 968 -544 0
FLAG 952 -880 Vcc
FLAG 776 -528 0
FLAG 1096 -736 0
FLAG 1224 -592 Vcc
FLAG -456 -656 Vin+
FLAG 72 -656 Vin-
FLAG 184 -384 0
FLAG -664 -496 0
FLAG -728 -848 Vcc
FLAG -200 336 Vcc
FLAG 200 512 Vo
FLAG 216 608 0
FLAG -200 1056 0
FLAG -8 1056 0
FLAG 24 752 Vcc
FLAG -456 640 Vin_p
FLAG 72 640 Vin_n
FLAG 152 768 0
FLAG -616 800 0
FLAG -680 448 Vcc
SYMBOL npn -408 -704 R0
SYMATTR InstName Q1
SYMATTR Value BC337-25
SYMBOL npn 24 -704 M0
SYMATTR InstName Q2
SYMATTR Value BC337-25
SYMBOL pnp -280 -768 R180
SYMATTR InstName Q3
SYMATTR Value BC327-25
SYMBOL pnp -104 -768 M180
SYMATTR InstName Q4
SYMATTR Value BC327-25
SYMBOL voltage -1208 -656 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 264 -752 R0
SYMATTR InstName R2
SYMATTR Value 100k
SYMBOL npn -136 -320 M0
SYMATTR InstName Q5
SYMATTR Value BC337-25
SYMBOL npn -72 -320 R0
SYMATTR InstName Q6
SYMATTR Value BC337-25
SYMBOL res -24 -480 R0
SYMATTR InstName R1
SYMATTR Value 2k
SYMBOL res 1208 -832 R90
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res 952 -848 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res 952 -656 R0
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL voltage 776 -656 R0
SYMATTR InstName V3
SYMATTR Value SINE(6 6 1k)
SYMBOL OpAmps\\OP292 1144 -624 M180
SYMATTR InstName U2
SYMBOL voltage 184 -496 R0
SYMATTR InstName V2
SYMATTR Value SINE(6 6 1k)
SYMBOL res -680 -800 R0
SYMATTR InstName R6
SYMATTR Value 50k
SYMBOL res -680 -624 R0
SYMATTR InstName R7
SYMATTR Value 50k
SYMBOL res -136 -1056 R90
SYMATTR InstName R8
SYMATTR Value 1k
SYMBOL res 168 -608 R0
SYMATTR InstName R9
SYMATTR Value 5k
SYMBOL res 200 496 R0
SYMATTR InstName R10
SYMATTR Value 10k
SYMBOL res -24 768 R0
SYMATTR InstName R11
SYMATTR Value 2k
SYMBOL nmos -56 928 R0
SYMATTR InstName M1
SYMATTR Value BS170
SYMBOL nmos -152 928 M0
SYMATTR InstName M2
SYMATTR Value BS170
SYMBOL nmos 8 560 M0
SYMATTR InstName M3
SYMATTR Value BS170
SYMBOL nmos -392 560 R0
SYMATTR InstName M4
SYMATTR Value BS170
SYMBOL pmos -296 480 R180
SYMATTR InstName M5
SYMATTR Value BS250P
SYMBOL pmos -88 480 M180
SYMATTR InstName M6
SYMATTR Value BS250P
SYMBOL voltage 152 640 R0
SYMATTR InstName V4
SYMATTR Value SINE(6 6 1k)
SYMBOL res -632 496 R0
SYMATTR InstName R12
SYMATTR Value 10k
SYMBOL res -632 672 R0
SYMATTR InstName R13
SYMATTR Value 10k
SYMBOL res -136 240 R90
SYMATTR InstName R14
SYMATTR Value 1k