* SPICE netlist
R1 N018 N019 5k
R2 N025 N026 22k
Q1 N003 N024 N025 0 BC547C
Q2 N019 N023 N025 0 BC547C
V1 N024 0 SINE(0 3m 20) AC 1
V2 N023 0 SINE(0 3m 20 0 0 180) AC 1 180
Vhigh1 Vhigh 0 5
Vlow1 Vlow 0 -5
V3 VDD 0 12
V4 VEE 0 -12
XU1 N022 N010 VDD VEE N011 UA741 ;pnba In+)In-)V+)V-)OUT
R3 N010 N003 15k
R4 N022 N019 16k
R5 N022 0 16k
R6 N011 N010 15k
R7 N018 N003 5k
XU2 N016 N012 VDD VEE N004 UA741 ;pnba In+)In-)V+)V-)OUT
R_1 N012 0 50k
R8 N016 N020 100k
R9 N020 NC_01 100k
R10 N004 N012 29.3k
C1 N020 N004 40n
C2 N016 0 40n
XU3 N017 N013 VDD VEE N005 UA741 ;pnba In+)In-)V+)V-)OUT
R_2 N013 0 50k
R11 N017 N021 100k
R12 N021 NC_02 100k
R13 N005 N013 29.3k
C3 N021 N005 40n
C4 N017 0 40n
R14 N033 0 100k
V5 N018 0 5
V6 N026 0 -5
XU4 N008 N006 VDD VEE N001 UA741 ;pnba In+)In-)V+)V-)OUT
R_3 N006 0 50k
R15 N008 N014 100k
R16 N014 NC_03 100k
R17 N001 N006 29.3k
C5 N014 N001 40n
C6 N008 0 40n
XU5 N009 N007 VDD VEE N002 UA741 ;pnba In+)In-)V+)V-)OUT
R_4 N007 0 50k
R18 N009 N015 100k
R19 N015 N001 100k
R20 N002 N007 29.3k
C7 N015 N002 40n
C8 N009 0 40n
R21 N002 0 100k
R23 0 N005 1k
XU6 0 N028 VDD VEE N027 UA741 ;pnba In+)In-)V+)V-)OUT
R22 N028 N032 1.7k
R24 N032 N011 3.01k
R25 N027 N032 3k
C9 0 N032 4
C10 N028 N027 1
R26 0 N027 100k
R27 N004 0 100k
C11 P001 N031 1
R28 N030 N029 160k
XU7 0 N029 VDD VEE N030 UA741 ;pnba In+)In-)V+)V-)OUT
V7 N031 0 PULSE(0 5 0 0 0 2 4) AC 1
C13 NC_04 P001 1
R30 NC_05 N029 160k
.include "D:\EW-Project2\EW_project2\TSMC_180nm.txt"
.include "D:\EW-Project2\EW_project2\UA741.301"
.ac dec 1000 1 10k
;tran 1000ms

* LTspice schematic (.asc)
Version 4
SHEET 1 4352 1184
WIRE 1440 -576 1392 -576
WIRE 1984 -576 1936 -576
WIRE -512 -528 -1344 -528
WIRE 304 -480 256 -480
WIRE 848 -480 800 -480
WIRE 1312 -432 1312 -576
WIRE 1312 -432 1280 -432
WIRE 1328 -432 1312 -432
WIRE 1856 -432 1856 -576
WIRE 1856 -432 1824 -432
WIRE 1872 -432 1856 -432
WIRE 1440 -416 1440 -576
WIRE 1440 -416 1392 -416
WIRE 1536 -416 1440 -416
WIRE 1984 -416 1984 -576
WIRE 1984 -416 1936 -416
WIRE 2176 -416 1984 -416
WIRE 1328 -400 1312 -400
WIRE 1872 -400 1856 -400
WIRE -368 -368 -432 -368
WIRE -192 -368 -288 -368
WIRE 176 -336 176 -480
WIRE 176 -336 144 -336
WIRE 192 -336 176 -336
WIRE 720 -336 720 -480
WIRE 720 -336 688 -336
WIRE 736 -336 720 -336
WIRE 304 -320 304 -480
WIRE 304 -320 256 -320
WIRE 400 -320 304 -320
WIRE 848 -320 848 -480
WIRE 848 -320 800 -320
WIRE 1136 -320 1120 -320
WIRE 1168 -320 1136 -320
WIRE 1280 -320 1248 -320
WIRE 1312 -320 1312 -400
WIRE 1312 -320 1280 -320
WIRE 1536 -320 1536 -416
WIRE 1584 -320 1536 -320
WIRE 1680 -320 1664 -320
WIRE 1712 -320 1680 -320
WIRE 1824 -320 1792 -320
WIRE 1856 -320 1856 -400
WIRE 1856 -320 1824 -320
WIRE 192 -304 176 -304
WIRE 736 -304 720 -304
WIRE 1136 -304 1136 -320
WIRE 1280 -304 1280 -320
WIRE 1680 -304 1680 -320
WIRE 1824 -304 1824 -320
WIRE -1152 -288 -1232 -288
WIRE -1088 -288 -1152 -288
WIRE -672 -272 -960 -272
WIRE -512 -240 -512 -528
WIRE -432 -240 -432 -368
WIRE -368 -240 -432 -240
WIRE -192 -224 -192 -368
WIRE -192 -224 -304 -224
WIRE 0 -224 -16 -224
WIRE 32 -224 0 -224
WIRE 144 -224 112 -224
WIRE 176 -224 176 -304
WIRE 176 -224 144 -224
WIRE 544 -224 528 -224
WIRE 576 -224 544 -224
WIRE 688 -224 656 -224
WIRE 720 -224 720 -304
WIRE 720 -224 688 -224
WIRE -960 -208 -960 -272
WIRE -960 -208 -1088 -208
WIRE -368 -208 -384 -208
WIRE 0 -208 0 -224
WIRE 144 -208 144 -224
WIRE 544 -208 544 -224
WIRE 688 -208 688 -224
WIRE -1344 -192 -1344 -528
WIRE -1232 -192 -1232 -208
WIRE -1232 -192 -1344 -192
WIRE -1088 -192 -1088 -208
WIRE -384 -192 -384 -208
WIRE -384 -192 -432 -192
WIRE -832 -176 -896 -176
WIRE 1136 -176 1136 -240
WIRE 1440 -176 1440 -416
WIRE 1440 -176 1136 -176
WIRE 1680 -176 1680 -240
WIRE 1984 -176 1984 -416
WIRE 1984 -176 1680 -176
WIRE -1296 -144 -1424 -144
WIRE -896 -144 -896 -176
WIRE -896 -144 -1024 -144
WIRE -672 -144 -672 -272
WIRE -512 -144 -672 -144
WIRE -432 -144 -432 -192
WIRE -384 -144 -384 -192
WIRE 0 -80 0 -144
WIRE 304 -80 304 -320
WIRE 304 -80 0 -80
WIRE 544 -80 544 -144
WIRE 848 -80 848 -320
WIRE 848 -80 544 -80
WIRE -1232 -64 -1232 -96
WIRE -1152 -64 -1232 -64
WIRE -1088 -64 -1088 -96
WIRE -1088 -64 -1152 -64
WIRE -1152 -48 -1152 -64
WIRE -1152 80 -1152 32
WIRE -192 80 -192 -224
WIRE -192 80 -240 80
WIRE 272 80 0 80
WIRE -1424 112 -1424 -144
WIRE -832 112 -832 -176
WIRE 64 144 0 144
WIRE 272 144 272 80
WIRE 272 144 128 144
WIRE 1520 160 1456 160
WIRE 1616 160 1600 160
WIRE 1296 272 1232 272
WIRE 1456 272 1456 160
WIRE 1456 272 1440 272
WIRE 1472 272 1456 272
WIRE 1472 288 1472 272
WIRE 1520 288 1472 288
WIRE -240 304 -240 80
WIRE -80 304 -80 80
WIRE -80 304 -160 304
WIRE 0 304 0 144
WIRE 128 304 0 304
WIRE 1616 304 1616 160
WIRE 1616 304 1584 304
WIRE 1712 304 1616 304
WIRE 272 320 272 144
WIRE 272 320 192 320
WIRE 1520 320 1504 320
WIRE 128 336 112 336
WIRE 1504 336 1504 320
WIRE 112 352 112 336
WIRE 528 512 528 480
FLAG -1424 192 0
FLAG -832 192 0
FLAG -1856 -160 0
FLAG -1728 -160 0
FLAG -1856 -240 Vhigh
FLAG -1728 -240 Vlow
FLAG -2176 -160 0
FLAG -2080 -160 0
FLAG -2176 -240 VDD
FLAG -2080 -240 VEE
FLAG -336 -256 VDD
FLAG -336 -192 VEE
FLAG -384 -64 0
FLAG 224 -352 VDD
FLAG 224 -288 VEE
FLAG 64 -336 0
FLAG 144 -144 0
FLAG 768 -352 VDD
FLAG 768 -288 VEE
FLAG 608 -336 0
FLAG 688 -144 0
FLAG 528 592 0
FLAG -1152 -368 0
FLAG -1152 160 0
FLAG 1360 -448 VDD
FLAG 1360 -384 VEE
FLAG 1200 -432 0
FLAG 1280 -240 0
FLAG 1904 -448 VDD
FLAG 1904 -384 VEE
FLAG 1744 -432 0
FLAG 1824 -240 0
FLAG 2176 -336 0
FLAG 928 -320 0
FLAG 160 288 VDD
FLAG 160 352 VEE
FLAG 112 352 0
FLAG 352 320 0
FLAG -80 368 0
FLAG 400 -240 0
FLAG 1552 272 VDD
FLAG 1552 336 VEE
FLAG 1504 336 0
FLAG 1232 352 0
FLAG 1712 384 0
SYMBOL res -1104 -304 R0
SYMATTR InstName R1
SYMATTR Value 5k
SYMBOL res -1168 -64 R0
SYMATTR InstName R2
SYMATTR Value 22k
SYMBOL npn -1296 -192 R0
SYMATTR InstName Q1
SYMATTR Value BC547C
SYMBOL npn -1024 -192 M0
SYMATTR InstName Q2
SYMATTR Value BC547C
SYMBOL voltage -1424 96 R0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value SINE(0 3m 20)
SYMBOL voltage -832 96 R0
SYMATTR Value2 AC 1 180
SYMATTR InstName V2
SYMATTR Value SINE(0 3m 20 0 0 180)
SYMBOL voltage -1856 -256 R0
SYMATTR InstName Vhigh1
SYMATTR Value 5
SYMBOL voltage -1728 -256 R0
SYMATTR InstName Vlow1
SYMATTR Value -5
SYMBOL voltage -2176 -256 R0
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL voltage -2080 -256 R0
SYMATTR InstName V4
SYMATTR Value -12
SYMBOL OpAmps\\opamp2 -336 -288 R0
SYMATTR InstName U1
SYMATTR Value UA741
SYMBOL res -416 -256 R90
SYMATTR InstName R3
SYMATTR Value 15k
SYMBOL res -416 -160 R90
SYMATTR InstName R4
SYMATTR Value 16k
SYMBOL res -400 -160 R0
SYMATTR InstName R5
SYMATTR Value 16k
SYMBOL res -272 -384 R90
SYMATTR InstName R6
SYMATTR Value 15k
SYMBOL res -1248 -304 R0
SYMATTR InstName R7
SYMATTR Value 5k
SYMBOL OpAmps\\opamp2 224 -384 R0
SYMATTR InstName U2
SYMATTR Value UA741
SYMBOL res 160 -352 R90
SYMATTR InstName R_1
SYMATTR Value 50k
SYMBOL res 128 -240 R90
SYMATTR InstName R8
SYMATTR Value 100k
SYMBOL res 0 -240 R90
SYMATTR InstName R9
SYMATTR Value 100k
SYMBOL res 272 -496 R90
SYMATTR InstName R10
SYMATTR Value 29.3k
SYMBOL cap -16 -208 R0
SYMATTR InstName C1
SYMATTR Value 40n
SYMBOL cap 128 -208 R0
SYMATTR InstName C2
SYMATTR Value 40n
SYMBOL OpAmps\\opamp2 768 -384 R0
SYMATTR InstName U3
SYMATTR Value UA741
SYMBOL res 704 -352 R90
SYMATTR InstName R_2
SYMATTR Value 50k
SYMBOL res 672 -240 R90
SYMATTR InstName R11
SYMATTR Value 100k
SYMBOL res 544 -240 R90
SYMATTR InstName R12
SYMATTR Value 100k
SYMBOL res 816 -496 R90
SYMATTR InstName R13
SYMATTR Value 29.3k
SYMBOL cap 528 -208 R0
SYMATTR InstName C3
SYMATTR Value 40n
SYMBOL cap 672 -208 R0
SYMATTR InstName C4
SYMATTR Value 40n
SYMBOL res 512 496 R0
SYMATTR InstName R14
SYMATTR Value 100k
SYMBOL voltage -1152 -272 R180
SYMATTR InstName V5
SYMATTR Value 5
SYMBOL voltage -1152 64 R0
SYMATTR InstName V6
SYMATTR Value -5
SYMBOL OpAmps\\opamp2 1360 -480 R0
SYMATTR InstName U4
SYMATTR Value UA741
SYMBOL res 1296 -448 R90
SYMATTR InstName R_3
SYMATTR Value 50k
SYMBOL res 1264 -336 R90
SYMATTR InstName R15
SYMATTR Value 100k
SYMBOL res 1136 -336 R90
SYMATTR InstName R16
SYMATTR Value 100k
SYMBOL res 1408 -592 R90
SYMATTR InstName R17
SYMATTR Value 29.3k
SYMBOL cap 1120 -304 R0
SYMATTR InstName C5
SYMATTR Value 40n
SYMBOL cap 1264 -304 R0
SYMATTR InstName C6
SYMATTR Value 40n
SYMBOL OpAmps\\opamp2 1904 -480 R0
SYMATTR InstName U5
SYMATTR Value UA741
SYMBOL res 1840 -448 R90
SYMATTR InstName R_4
SYMATTR Value 50k
SYMBOL res 1808 -336 R90
SYMATTR InstName R18
SYMATTR Value 100k
SYMBOL res 1680 -336 R90
SYMATTR InstName R19
SYMATTR Value 100k
SYMBOL res 1952 -592 R90
SYMATTR InstName R20
SYMATTR Value 29.3k
SYMBOL cap 1664 -304 R0
SYMATTR InstName C7
SYMATTR Value 40n
SYMBOL cap 1808 -304 R0
SYMATTR InstName C8
SYMATTR Value 40n
SYMBOL res 2160 -432 R0
SYMATTR InstName R21
SYMATTR Value 100k
SYMBOL res 944 -336 R90
SYMATTR InstName R23
SYMATTR Value 1k
SYMBOL OpAmps\\opamp2 160 256 R0
SYMATTR InstName U6
SYMATTR Value UA741
SYMBOL res 16 288 R90
SYMATTR InstName R22
SYMATTR Value 1.7k
SYMBOL res -144 288 R90
SYMATTR InstName R24
SYMATTR Value 3.01k
SYMBOL res 16 64 R90
SYMATTR InstName R25
SYMATTR Value 3k
SYMBOL cap -64 368 R180
SYMATTR InstName C9
SYMATTR Value 4�
SYMBOL cap 64 160 R270
SYMATTR InstName C10
SYMATTR Value 1�
SYMBOL res 368 304 R90
SYMATTR InstName R26
SYMATTR Value 100k
SYMBOL res 384 -336 R0
SYMATTR InstName R27
SYMATTR Value 100k
SYMBOL cap 1360 256 R90
SYMATTR InstName C11
SYMATTR Value 1�
SYMBOL res 1616 144 R90
SYMATTR InstName R28
SYMATTR Value 160k
SYMBOL OpAmps\\opamp2 1552 240 R0
SYMATTR InstName U7
SYMATTR Value UA741
SYMBOL voltage 1232 256 R0
SYMATTR Value2 AC 1
SYMATTR InstName V7
SYMATTR Value PULSE(0 5 0 0 0 2 4)
SYMBOL cap 1424 256 R90
SYMATTR InstName C13
SYMATTR Value 1�
SYMBOL res 1536 256 R90
SYMATTR InstName R30
SYMATTR Value 160k