* Z:\home\khalils\Downloads\files\data\raw_asc\4af23cbe9d5d_improved.asc
* Generated by LTspice 26.0.1 for Windows.
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
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.include "D:\EW-Project2\EW_project2\TSMC_180nm.txt"
.include "D:\EW-Project2\EW_project2\UA741.301"
* .tran 500m
.ac dec 1000 1 10k
;tran 1000ms
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3360 680
WIRE 2544 -944 2496 -944
WIRE 3088 -944 3040 -944
WIRE 592 -896 -240 -896
WIRE 1408 -848 1360 -848
WIRE 1952 -848 1904 -848
WIRE 2416 -800 2416 -944
WIRE 2416 -800 2384 -800
WIRE 2432 -800 2416 -800
WIRE 2960 -800 2960 -944
WIRE 2960 -800 2928 -800
WIRE 2976 -800 2960 -800
WIRE 2544 -784 2544 -944
WIRE 2544 -784 2496 -784
WIRE 2640 -784 2544 -784
WIRE 3088 -784 3088 -944
WIRE 3088 -784 3040 -784
WIRE 3280 -784 3088 -784
WIRE 2432 -768 2416 -768
WIRE 2976 -768 2960 -768
WIRE 736 -736 672 -736
WIRE 912 -736 816 -736
WIRE 1280 -704 1280 -848
WIRE 1280 -704 1248 -704
WIRE 1296 -704 1280 -704
WIRE 1824 -704 1824 -848
WIRE 1824 -704 1792 -704
WIRE 1840 -704 1824 -704
WIRE 1408 -688 1408 -848
WIRE 1408 -688 1360 -688
WIRE 1504 -688 1408 -688
WIRE 1952 -688 1952 -848
WIRE 1952 -688 1904 -688
WIRE 2240 -688 2224 -688
WIRE 2272 -688 2240 -688
WIRE 2384 -688 2352 -688
WIRE 2416 -688 2416 -768
WIRE 2416 -688 2384 -688
WIRE 2640 -688 2640 -784
WIRE 2688 -688 2640 -688
WIRE 2784 -688 2768 -688
WIRE 2816 -688 2784 -688
WIRE 2928 -688 2896 -688
WIRE 2960 -688 2960 -768
WIRE 2960 -688 2928 -688
WIRE 1296 -672 1280 -672
WIRE 1840 -672 1824 -672
WIRE 2240 -672 2240 -688
WIRE 2384 -672 2384 -688
WIRE 2784 -672 2784 -688
WIRE 2928 -672 2928 -688
WIRE -48 -656 -128 -656
WIRE 16 -656 -48 -656
WIRE 432 -640 144 -640
WIRE 592 -608 592 -896
WIRE 672 -608 672 -736
WIRE 736 -608 672 -608
WIRE 912 -592 912 -736
WIRE 912 -592 800 -592
WIRE 1104 -592 1088 -592
WIRE 1136 -592 1104 -592
WIRE 1248 -592 1216 -592
WIRE 1280 -592 1280 -672
WIRE 1280 -592 1248 -592
WIRE 1648 -592 1632 -592
WIRE 1680 -592 1648 -592
WIRE 1792 -592 1760 -592
WIRE 1824 -592 1824 -672
WIRE 1824 -592 1792 -592
WIRE 144 -576 144 -640
WIRE 144 -576 16 -576
WIRE 736 -576 720 -576
WIRE 1104 -576 1104 -592
WIRE 1248 -576 1248 -592
WIRE 1648 -576 1648 -592
WIRE 1792 -576 1792 -592
WIRE -240 -560 -240 -896
WIRE -128 -560 -128 -576
WIRE -128 -560 -240 -560
WIRE 16 -560 16 -576
WIRE 720 -560 720 -576
WIRE 720 -560 672 -560
WIRE 272 -544 208 -544
WIRE 2240 -544 2240 -608
WIRE 2544 -544 2544 -784
WIRE 2544 -544 2240 -544
WIRE 2784 -544 2784 -608
WIRE 3088 -544 3088 -784
WIRE 3088 -544 2784 -544
WIRE -192 -512 -320 -512
WIRE 208 -512 208 -544
WIRE 208 -512 80 -512
WIRE 432 -512 432 -640
WIRE 592 -512 432 -512
WIRE 672 -512 672 -560
WIRE 720 -512 720 -560
WIRE 1104 -448 1104 -512
WIRE 1408 -448 1408 -688
WIRE 1408 -448 1104 -448
WIRE 1648 -448 1648 -512
WIRE 1952 -448 1952 -688
WIRE 1952 -448 1648 -448
WIRE -128 -432 -128 -464
WIRE -48 -432 -128 -432
WIRE 16 -432 16 -464
WIRE 16 -432 -48 -432
WIRE -48 -416 -48 -432
WIRE -48 -288 -48 -336
WIRE 912 -288 912 -592
WIRE 912 -288 864 -288
WIRE 1376 -288 1104 -288
WIRE -320 -256 -320 -512
WIRE 272 -256 272 -544
WIRE 1168 -224 1104 -224
WIRE 1376 -224 1376 -288
WIRE 1376 -224 1232 -224
WIRE 2624 -208 2560 -208
WIRE 2720 -208 2704 -208
WIRE 2400 -96 2336 -96
WIRE 2560 -96 2560 -208
WIRE 2560 -96 2544 -96
WIRE 2576 -96 2560 -96
WIRE 2576 -80 2576 -96
WIRE 2624 -80 2576 -80
WIRE 864 -64 864 -288
WIRE 1024 -64 1024 -288
WIRE 1024 -64 944 -64
WIRE 1104 -64 1104 -224
WIRE 1232 -64 1104 -64
WIRE 2720 -64 2720 -208
WIRE 2720 -64 2688 -64
WIRE 2816 -64 2720 -64
WIRE 1376 -48 1376 -224
WIRE 1376 -48 1296 -48
WIRE 2624 -48 2608 -48
WIRE 1232 -32 1216 -32
WIRE 2608 -32 2608 -48
WIRE 1216 -16 1216 -32
WIRE 1632 144 1632 112
FLAG -320 -176 0
FLAG 272 -176 0
FLAG -752 -528 0
FLAG -624 -528 0
FLAG -752 -608 Vhigh
FLAG -624 -608 Vlow
FLAG -1072 -528 0
FLAG -976 -528 0
FLAG -1072 -608 VDD
FLAG -976 -608 VEE
FLAG 768 -624 VDD
FLAG 768 -560 VEE
FLAG 720 -432 0
FLAG 1328 -720 VDD
FLAG 1328 -656 VEE
FLAG 1168 -704 0
FLAG 1248 -512 0
FLAG 1872 -720 VDD
FLAG 1872 -656 VEE
FLAG 1712 -704 0
FLAG 1792 -512 0
FLAG 1632 224 0
FLAG -48 -736 0
FLAG -48 -208 0
FLAG 2464 -816 VDD
FLAG 2464 -752 VEE
FLAG 2304 -800 0
FLAG 2384 -608 0
FLAG 3008 -816 VDD
FLAG 3008 -752 VEE
FLAG 2848 -800 0
FLAG 2928 -608 0
FLAG 3280 -704 0
FLAG 2032 -688 0
FLAG 1264 -80 VDD
FLAG 1264 -16 VEE
FLAG 1216 -16 0
FLAG 1456 -48 0
FLAG 1024 0 0
FLAG 1504 -608 0
FLAG 2656 -96 VDD
FLAG 2656 -32 VEE
FLAG 2608 -32 0
FLAG 2336 -16 0
FLAG 2816 16 0
SYMBOL res 0 -672 R0
SYMATTR InstName R1
SYMATTR Value 5k
SYMBOL res -64 -432 R0
SYMATTR InstName R2
SYMATTR Value 22k
SYMBOL npn -192 -560 R0
SYMATTR InstName Q1
SYMATTR Value BC547C
SYMBOL npn 80 -560 M0
SYMATTR InstName Q2
SYMATTR Value BC547C
SYMBOL voltage -320 -272 R0
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value SINE(0 3m 20)
SYMBOL voltage 272 -272 R0
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1 180
SYMATTR InstName V2
SYMATTR Value SINE(0 3m 20 0 0 180)
SYMBOL voltage -752 -624 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vhigh1
SYMATTR Value 5
SYMBOL voltage -624 -624 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vlow1
SYMATTR Value -5
SYMBOL voltage -1072 -624 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL voltage -976 -624 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value -12
SYMBOL OpAmps\\opamp2 768 -656 R0
SYMATTR InstName U1
SYMATTR Value UA741
SYMBOL res 688 -624 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 15k
SYMBOL res 688 -528 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 16k
SYMBOL res 704 -528 R0
SYMATTR InstName R5
SYMATTR Value 16k
SYMBOL res 832 -752 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 15k
SYMBOL res -144 -672 R0
SYMATTR InstName R7
SYMATTR Value 5k
SYMBOL OpAmps\\opamp2 1328 -752 R0
SYMATTR InstName U2
SYMATTR Value UA741
SYMBOL res 1264 -720 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R_1
SYMATTR Value 50k
SYMBOL res 1232 -608 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 100k
SYMBOL res 1104 -608 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 100k
SYMBOL res 1376 -864 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 29.3k
SYMBOL cap 1088 -576 R0
SYMATTR InstName C1
SYMATTR Value 40n
SYMBOL cap 1232 -576 R0
SYMATTR InstName C2
SYMATTR Value 40n
SYMBOL OpAmps\\opamp2 1872 -752 R0
SYMATTR InstName U3
SYMATTR Value UA741
SYMBOL res 1808 -720 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R_2
SYMATTR Value 50k
SYMBOL res 1776 -608 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R11
SYMATTR Value 100k
SYMBOL res 1648 -608 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R12
SYMATTR Value 100k
SYMBOL res 1920 -864 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R13
SYMATTR Value 29.3k
SYMBOL cap 1632 -576 R0
SYMATTR InstName C3
SYMATTR Value 40n
SYMBOL cap 1776 -576 R0
SYMATTR InstName C4
SYMATTR Value 40n
SYMBOL res 1616 128 R0
SYMATTR InstName R14
SYMATTR Value 100k
SYMBOL voltage -48 -640 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 5
SYMBOL voltage -48 -304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value -5
SYMBOL OpAmps\\opamp2 2464 -848 R0
SYMATTR InstName U4
SYMATTR Value UA741
SYMBOL res 2400 -816 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R_3
SYMATTR Value 50k
SYMBOL res 2368 -704 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R15
SYMATTR Value 100k
SYMBOL res 2240 -704 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R16
SYMATTR Value 100k
SYMBOL res 2512 -960 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R17
SYMATTR Value 29.3k
SYMBOL cap 2224 -672 R0
SYMATTR InstName C5
SYMATTR Value 40n
SYMBOL cap 2368 -672 R0
SYMATTR InstName C6
SYMATTR Value 40n
SYMBOL OpAmps\\opamp2 3008 -848 R0
SYMATTR InstName U5
SYMATTR Value UA741
SYMBOL res 2944 -816 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R_4
SYMATTR Value 50k
SYMBOL res 2912 -704 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R18
SYMATTR Value 100k
SYMBOL res 2784 -704 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R19
SYMATTR Value 100k
SYMBOL res 3056 -960 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R20
SYMATTR Value 29.3k
SYMBOL cap 2768 -672 R0
SYMATTR InstName C7
SYMATTR Value 40n
SYMBOL cap 2912 -672 R0
SYMATTR InstName C8
SYMATTR Value 40n
SYMBOL res 3264 -800 R0
SYMATTR InstName R21
SYMATTR Value 100k
SYMBOL res 2048 -704 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R23
SYMATTR Value 1k
SYMBOL OpAmps\\opamp2 1264 -112 R0
SYMATTR InstName U6
SYMATTR Value UA741
SYMBOL res 1120 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R22
SYMATTR Value 1.7k
SYMBOL res 960 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R24
SYMATTR Value 3.01k
SYMBOL res 1120 -304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R25
SYMATTR Value 3k
SYMBOL cap 1040 0 R180
WINDOW 0 24 56 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C9
SYMATTR Value 4�
SYMBOL cap 1168 -208 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C10
SYMATTR Value 1�
SYMBOL res 1472 -64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R26
SYMATTR Value 100k
SYMBOL res 1488 -704 R0
SYMATTR InstName R27
SYMATTR Value 100k
SYMBOL cap 2464 -112 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C11
SYMATTR Value 1�
SYMBOL res 2720 -224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R28
SYMATTR Value 160k
SYMBOL OpAmps\\opamp2 2656 -128 R0
SYMATTR InstName U7
SYMATTR Value UA741
SYMBOL voltage 2336 -112 R0
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V7
SYMATTR Value PULSE(0 5 0 0 0 2 4)
SYMBOL cap 2528 -112 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C13
SYMATTR Value 1�
SYMBOL res 2640 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R30
SYMATTR Value 160k
TEXT -1328 -368 Left 2 !.include "D:\\EW-Project2\\EW_project2\\TSMC_180nm.txt"
TEXT -1328 -320 Left 2 !.include "D:\\EW-Project2\\EW_project2\\UA741.301"
TEXT -1328 -152 Left 2 ;.tran 500m
TEXT 928 -392 Left 2 !.ac dec 1000 1 10k
TEXT 2160 -224 Left 2 !;tran 1000ms