* Z:\home\khalils\Downloads\files\data\raw_asc\0e6f85ddbacd_Four_Quadrant_Log_Antilog_Multiplier.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU6, XU10 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1017.asy)
* Library below included based on ModelFile attribute of instance XU1, XU2, XU3, XU4, XU5, XU7, XU8, XU9, XU11, XU12, XU13, XU14 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
V1 vcc 0 15
R21 N019 N012 10k
R5 negprod N009 1k
V5 v2 0 -2
XU7 0 N020 vcc vee twiceprod level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M8 N026 v1neg vcc vcc PMOS
M9 N021 N028 N026 N026 PMOS
D1 N002 N006 D
R20 N013 N012 10k
R14 0 N025 1k
R4 N008 logout2 10k
R16 N007 N001 10k
R24 N011 N014 10k
D3 N013 N018 D
R12 negprod N023 1k
Q3 addout addout N009 0 NPN
M12 N021 N028 0 0 NMOS
XU6 0 v2 vcc 0 v2neg LT1017 ;pnba In+)In-)V+)V-)OUT
R8 N008 N016 10k
M2 N024 N021 twiceprod twiceprod PMOS
R23 N014 N013 10k
R11 N023 N022 1k
R10 twiceprod N020 2k
XU4 0 N009 vcc vee negprod level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
XU8 N023 N025 vcc vee product level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M1 N024 N021 0 0 NMOS
XU5 0 N015 vcc vee N016 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
XU14 N019 N014 vcc vee N011 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R17 v1 N001 10k
D4 N018 N019 D
R15 N002 N001 10k
V2 vee 0 -15
R6 addout N008 10k
R7 N015 N017 1k
XU3 0 N008 vcc vee addout level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R13 product N025 1k
V4 v1 0 1
Q4 N016 N016 N015 0 NPN
M10 N021 v1neg N029 N029 NMOS
M4 N027 v1neg vcc vcc PMOS
XU2 0 N010 vcc vee logout2 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M3 N028 v2neg N027 N027 PMOS
D2 N006 N007 D
R1 N005 N004 1k
XU12 N007 N003 vcc vee N004 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R3 N008 logout1 10k
XU1 0 N005 vcc vee logout1 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M11 N029 v2neg 0 0 NMOS
M7 N026 v2neg vcc vcc PMOS
XU13 0 N012 vcc vee N018 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
Q2 N010 N010 logout2 0 NPN
XU11 0 N001 vcc vee N006 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M5 N028 v1neg 0 0 NMOS
R18 N003 N002 10k
V3 N017 0 -1
R19 N004 N003 10k
Q1 N005 N005 logout1 0 NPN
XU10 0 v1 vcc 0 v1neg LT1017 ;pnba In+)In-)V+)V-)OUT
R22 v2 N012 10k
XU9 N024 N022 vcc vee N022 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M6 N028 v2neg 0 0 NMOS
R2 N010 N011 1k
R9 N020 negprod 1k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 5m
.lib LT1017.sub
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2128 1748
WIRE 1392 -1312 1344 -1312
WIRE 1520 -1312 1472 -1312
WIRE 1344 -1232 1344 -1312
WIRE 1472 -1232 1472 -1312
WIRE -1600 -1152 -1776 -1152
WIRE -1360 -1152 -1520 -1152
WIRE -1264 -1152 -1360 -1152
WIRE -1136 -1152 -1184 -1152
WIRE -992 -1152 -1136 -1152
WIRE -848 -1152 -912 -1152
WIRE 1344 -1104 1344 -1152
WIRE 1472 -1104 1472 -1152
WIRE 64 -1008 0 -1008
WIRE 208 -1008 160 -1008
WIRE -1360 -960 -1360 -1152
WIRE 0 -944 0 -1008
WIRE 112 -944 0 -944
WIRE -1776 -880 -1776 -1152
WIRE -1776 -880 -1968 -880
WIRE -1520 -864 -1520 -912
WIRE -1040 -864 -1040 -912
WIRE -1776 -848 -1776 -880
WIRE -1680 -848 -1776 -848
WIRE -1552 -848 -1680 -848
WIRE -1136 -848 -1136 -1152
WIRE -1072 -848 -1136 -848
WIRE 208 -848 208 -1008
WIRE -1360 -832 -1360 -896
WIRE -1360 -832 -1488 -832
WIRE -848 -832 -848 -1152
WIRE -848 -832 -1008 -832
WIRE -176 -832 -848 -832
WIRE 0 -832 0 -944
WIRE 0 -832 -96 -832
WIRE -1584 -816 -1600 -816
WIRE -1552 -816 -1584 -816
WIRE -1072 -816 -1136 -816
WIRE -1584 -784 -1584 -816
WIRE -1968 -768 -1968 -800
WIRE -1968 -768 -2208 -768
WIRE 112 -768 112 -816
WIRE -1968 -752 -1968 -768
WIRE -1040 -752 -1040 -800
WIRE 0 -752 0 -832
WIRE 80 -752 0 -752
WIRE -1520 -736 -1520 -800
WIRE -1360 -736 -1360 -832
WIRE 208 -736 208 -848
WIRE 208 -736 144 -736
WIRE 288 -736 208 -736
WIRE 544 -736 368 -736
WIRE 80 -720 16 -720
WIRE 16 -704 16 -720
WIRE 800 -704 656 -704
WIRE 976 -704 880 -704
WIRE 1648 -656 1504 -656
WIRE -1968 -624 -1968 -672
WIRE 112 -624 112 -704
WIRE 176 -624 112 -624
WIRE 1584 -608 1584 -624
WIRE -1680 -544 -1680 -848
WIRE -1600 -544 -1680 -544
WIRE -1360 -544 -1360 -672
WIRE -1360 -544 -1520 -544
WIRE -1136 -544 -1136 -816
WIRE -1136 -544 -1360 -544
WIRE 1584 -544 1584 -608
WIRE 832 -528 832 -592
WIRE 1504 -528 1504 -656
WIRE 1504 -528 1344 -528
WIRE 1552 -528 1504 -528
WIRE 544 -512 544 -736
WIRE 640 -512 544 -512
WIRE 656 -512 656 -704
WIRE 656 -512 640 -512
WIRE 800 -512 656 -512
WIRE 1728 -512 1728 -656
WIRE 1728 -512 1616 -512
WIRE 2016 -512 1728 -512
WIRE 64 -496 0 -496
WIRE 208 -496 160 -496
WIRE 976 -496 976 -704
WIRE 976 -496 864 -496
WIRE 1104 -496 976 -496
WIRE 1184 -496 1104 -496
WIRE 1248 -496 1184 -496
WIRE 1344 -496 1344 -528
WIRE 1552 -496 1504 -496
WIRE 800 -480 736 -480
WIRE 1504 -448 1504 -496
WIRE 736 -432 736 -480
WIRE 0 -416 0 -496
WIRE 112 -416 112 -432
WIRE 112 -416 0 -416
WIRE 832 -400 832 -464
WIRE 864 -400 832 -400
WIRE 1184 -384 1184 -496
WIRE 1296 -384 1296 -432
WIRE 1296 -384 1184 -384
WIRE 1584 -368 1584 -480
WIRE 208 -336 208 -496
WIRE -176 -320 -688 -320
WIRE 0 -320 0 -416
WIRE 0 -320 -96 -320
WIRE 640 -320 640 -512
WIRE 1008 -320 640 -320
WIRE -1568 -304 -1744 -304
WIRE -1328 -304 -1488 -304
WIRE -1232 -304 -1328 -304
WIRE -1104 -304 -1152 -304
WIRE -960 -304 -1104 -304
WIRE -816 -304 -880 -304
WIRE 112 -256 112 -304
WIRE 0 -240 0 -320
WIRE 80 -240 0 -240
WIRE 208 -224 208 -336
WIRE 208 -224 144 -224
WIRE 288 -224 208 -224
WIRE 544 -224 544 -512
WIRE 544 -224 368 -224
WIRE 80 -208 16 -208
WIRE 16 -192 16 -208
WIRE 528 -128 432 -128
WIRE 848 -128 624 -128
WIRE -1328 -112 -1328 -304
WIRE 112 -112 112 -192
WIRE 176 -112 112 -112
WIRE 576 -48 576 -64
WIRE 848 -48 848 -128
WIRE 848 -48 576 -48
WIRE -1744 -32 -1744 -304
WIRE -1744 -32 -1936 -32
WIRE 704 -32 704 -112
WIRE -1488 -16 -1488 -64
WIRE -1008 -16 -1008 -64
WIRE 672 -16 480 -16
WIRE -1744 0 -1744 -32
WIRE -1648 0 -1744 0
WIRE -1520 0 -1648 0
WIRE -1104 0 -1104 -304
WIRE -1040 0 -1104 0
WIRE 336 0 176 0
WIRE 432 0 432 -128
WIRE 432 0 416 0
WIRE 480 0 480 -16
WIRE 480 0 432 0
WIRE 848 0 848 -48
WIRE 848 0 736 0
WIRE 896 0 848 0
WIRE 1008 0 1008 -320
WIRE 1008 0 976 0
WIRE -1328 16 -1328 -48
WIRE -1328 16 -1456 16
WIRE -816 16 -816 -304
WIRE -816 16 -976 16
WIRE -688 16 -688 -320
WIRE -688 16 -816 16
WIRE 672 16 608 16
WIRE -1552 32 -1568 32
WIRE -1520 32 -1552 32
WIRE -1040 32 -1104 32
WIRE -1552 64 -1552 32
WIRE 176 64 176 0
WIRE -1936 80 -1936 48
WIRE -1936 80 -2176 80
WIRE -1936 96 -1936 80
WIRE -1008 96 -1008 48
WIRE -1488 112 -1488 48
WIRE -1328 112 -1328 16
WIRE 608 112 608 16
WIRE 704 144 704 32
WIRE 176 208 176 144
WIRE -1936 224 -1936 176
WIRE 736 272 528 272
WIRE 640 288 576 288
WIRE -1648 304 -1648 0
WIRE -1568 304 -1648 304
WIRE -1328 304 -1328 176
WIRE -1328 304 -1488 304
WIRE -1104 304 -1104 32
WIRE -1104 304 -1328 304
WIRE 576 352 576 288
WIRE 304 368 128 368
WIRE 448 368 448 272
WIRE 448 368 384 368
WIRE 544 368 448 368
WIRE 736 384 736 272
WIRE 736 384 608 384
WIRE 848 384 736 384
WIRE 544 400 480 400
WIRE 480 432 480 400
WIRE 576 464 576 416
WIRE 640 464 576 464
WIRE 1440 528 1344 528
WIRE 736 560 736 384
WIRE 736 560 576 560
WIRE 528 576 448 576
WIRE -464 592 -560 592
WIRE 1344 592 1344 528
WIRE 1072 608 832 608
WIRE 928 672 896 672
WIRE -560 704 -560 592
WIRE -560 704 -976 704
WIRE -288 704 -560 704
WIRE 896 704 896 672
WIRE 832 720 832 608
WIRE 864 720 832 720
WIRE 1424 720 1424 688
WIRE 1072 736 1072 608
WIRE 1072 736 928 736
WIRE 1216 736 1072 736
WIRE 1344 736 1344 672
WIRE 1344 736 1296 736
WIRE 1392 736 1344 736
WIRE 448 752 448 576
WIRE 448 752 240 752
WIRE 576 752 576 656
WIRE 864 752 576 752
WIRE 1600 752 1456 752
WIRE 1728 752 1600 752
WIRE 1392 768 1376 768
WIRE 576 784 576 752
WIRE 896 816 896 768
WIRE 944 816 896 816
WIRE -976 832 -976 704
WIRE -288 832 -288 704
WIRE -288 832 -400 832
WIRE -176 832 -288 832
WIRE 1376 832 1376 768
WIRE 1376 832 1216 832
WIRE 1424 832 1424 784
WIRE -1024 848 -1136 848
WIRE -448 848 -512 848
WIRE -48 848 -128 848
WIRE 448 864 448 752
WIRE 528 864 448 864
WIRE 1216 896 1216 832
WIRE 1376 896 1376 832
WIRE 1488 896 1376 896
WIRE 1600 896 1600 752
WIRE 1600 896 1568 896
WIRE 576 928 576 880
WIRE -400 976 -400 928
WIRE -288 976 -400 976
WIRE -176 976 -176 928
WIRE -176 976 -288 976
WIRE -976 992 -976 928
WIRE -1024 1008 -1136 1008
WIRE 1216 1008 1216 976
WIRE -288 1040 -288 976
WIRE -336 1056 -608 1056
WIRE -1632 1168 -1632 1088
WIRE -288 1168 -288 1136
WIRE -288 1168 -480 1168
WIRE -176 1168 -288 1168
WIRE 240 1168 240 752
WIRE 240 1168 -176 1168
WIRE -1664 1184 -1776 1184
WIRE -1456 1200 -1600 1200
WIRE -976 1200 -976 1088
WIRE -848 1200 -976 1200
WIRE -608 1200 -608 1056
WIRE -608 1200 -848 1200
WIRE -1664 1216 -1776 1216
WIRE -176 1232 -176 1168
WIRE -1776 1264 -1776 1216
WIRE -848 1264 -848 1200
WIRE -848 1264 -976 1264
WIRE -736 1264 -848 1264
WIRE -480 1264 -480 1168
WIRE -1632 1296 -1632 1232
WIRE -80 1312 -128 1312
WIRE -1024 1344 -1088 1344
WIRE -608 1344 -608 1200
WIRE -528 1344 -608 1344
WIRE -848 1360 -976 1360
WIRE -736 1360 -848 1360
WIRE -688 1408 -688 1344
WIRE -640 1408 -688 1408
WIRE -176 1424 -176 1328
WIRE -1632 1488 -1632 1408
WIRE -1664 1504 -1776 1504
WIRE -80 1504 -128 1504
WIRE -1456 1520 -1600 1520
WIRE -1664 1536 -1776 1536
WIRE -1776 1584 -1776 1536
WIRE -848 1600 -848 1360
WIRE -480 1600 -480 1360
WIRE -480 1600 -848 1600
WIRE -192 1600 -480 1600
WIRE -176 1600 -176 1520
WIRE -176 1600 -192 1600
WIRE -1632 1616 -1632 1552
WIRE -192 1728 -192 1600
SYMBOL nmos -688 1264 M0
SYMATTR InstName M6
SYMBOL Comparators\\LT1017 -1632 1520 R0
SYMATTR InstName U6
SYMBOL nmos -528 1264 R0
SYMATTR InstName M12
SYMBOL pmos -336 1136 M180
SYMATTR InstName M9
SYMBOL res -1952 -784 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R17
SYMATTR Value 10k
SYMBOL res -1920 64 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R22
SYMATTR Value 10k
SYMBOL res 1744 -672 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL pmos -1024 1088 M180
SYMATTR InstName M3
SYMBOL res 400 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 1k
SYMBOL pmos -448 928 M180
SYMATTR InstName M7
SYMBOL res 432 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 1k
SYMBOL res -80 -848 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res -1472 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R20
SYMATTR Value 10k
SYMBOL voltage -1936 80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value -2
SYMBOL diode -1376 -736 R0
SYMATTR InstName D2
SYMBOL nmos 528 784 R0
SYMATTR InstName M1
SYMBOL OpAmps\\UniversalOpAmp2 112 -736 R0
SYMATTR InstName U1
SYMBOL voltage 1472 -1248 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res 1584 880 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R13
SYMATTR Value 1k
SYMBOL OpAmps\\UniversalOpAmp2 -1008 16 R0
SYMATTR InstName U14
SYMBOL res -896 -1168 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R19
SYMATTR Value 10k
SYMBOL res 896 -720 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL res -1136 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R23
SYMATTR Value 10k
SYMBOL diode -1344 112 R0
SYMATTR InstName D4
SYMBOL nmos -128 1424 M0
SYMATTR InstName M11
SYMBOL Comparators\\LT1017 -1632 1200 R0
SYMATTR InstName U10
SYMBOL voltage 176 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value -1
SYMBOL npn 64 -944 R270
SYMATTR InstName Q1
SYMBOL OpAmps\\UniversalOpAmp2 -1040 -832 R0
SYMATTR InstName U12
SYMBOL res 384 -752 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL voltage -1968 -768 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 1
SYMBOL OpAmps\\UniversalOpAmp2 1424 752 M180
SYMATTR InstName U8
SYMBOL res 384 -240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL OpAmps\\UniversalOpAmp2 832 -496 R0
SYMATTR InstName U3
SYMBOL res -1504 -1168 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R15
SYMATTR Value 10k
SYMBOL pmos -128 928 R180
SYMATTR InstName M8
SYMBOL nmos -128 1232 M0
SYMATTR InstName M10
SYMBOL res -864 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R24
SYMATTR Value 10k
SYMBOL res -1168 -1168 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R18
SYMATTR Value 10k
SYMBOL OpAmps\\UniversalOpAmp2 -1520 -832 R0
SYMATTR InstName U11
SYMBOL diode -1376 -960 R0
SYMATTR InstName D1
SYMBOL pmos -1024 928 M180
SYMATTR InstName M4
SYMBOL OpAmps\\UniversalOpAmp2 576 384 R0
SYMATTR InstName U7
SYMBOL OpAmps\\UniversalOpAmp2 1584 -512 R0
SYMATTR InstName U4
SYMBOL diode -1344 -112 R0
SYMATTR InstName D3
SYMBOL OpAmps\\UniversalOpAmp2 896 736 R0
SYMATTR InstName U9
SYMBOL OpAmps\\UniversalOpAmp2 704 0 R0
SYMATTR InstName U5
SYMBOL OpAmps\\UniversalOpAmp2 112 -224 R0
SYMATTR InstName U2
SYMBOL voltage 1344 -1248 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res -1504 -560 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R16
SYMATTR Value 10k
SYMBOL nmos -1024 1264 R0
SYMATTR InstName M5
SYMBOL npn 64 -432 R270
SYMATTR InstName Q2
SYMBOL npn 624 -64 M270
SYMATTR InstName Q4
SYMBOL res -80 -336 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res 1328 576 R0
SYMATTR InstName R12
SYMATTR Value 1k
SYMBOL res 544 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 2k
SYMBOL res 1232 992 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R14
SYMATTR Value 1k
SYMBOL npn 1248 -432 R270
SYMATTR InstName Q3
SYMBOL pmos 528 656 M180
SYMATTR InstName M2
SYMBOL res 992 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 10k
SYMBOL OpAmps\\UniversalOpAmp2 -1488 16 R0
SYMATTR InstName U13
SYMBOL res -1472 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R21
SYMATTR Value 10k
SYMBOL res 1312 720 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R11
SYMATTR Value 1k
FLAG 16 -704 0
FLAG 1344 -1104 0
FLAG 1472 -1104 0
FLAG 1392 -1312 vcc
FLAG 1520 -1312 vee
FLAG 112 -816 vcc
FLAG 176 -624 vee
FLAG 16 -192 0
FLAG 112 -304 vcc
FLAG 176 -112 vee
FLAG 832 -592 vcc
FLAG 864 -400 vee
FLAG 1504 -448 0
FLAG 1584 -608 vcc
FLAG 1584 -368 vee
FLAG 2016 -512 negprod
FLAG 208 -848 logout1
FLAG 208 -336 logout2
FLAG 1104 -496 addout
FLAG 736 -432 0
FLAG 704 -112 vcc
FLAG 704 144 vee
FLAG 608 112 0
FLAG 176 208 0
FLAG -1632 1616 0
FLAG -1632 1408 vcc
FLAG 640 464 vee
FLAG 640 288 vcc
FLAG 480 432 0
FLAG 128 368 negprod
FLAG -1776 1584 0
FLAG -1776 1504 v2
FLAG 848 384 twiceprod
FLAG 576 928 0
FLAG 1440 528 negprod
FLAG 1424 688 vee
FLAG 1424 832 vcc
FLAG 1216 1008 0
FLAG 1728 752 product
FLAG 928 672 vcc
FLAG 944 816 vee
FLAG -1632 1296 0
FLAG -1632 1088 vcc
FLAG -1776 1264 0
FLAG -1776 1184 v1
FLAG -1456 1200 v1neg
FLAG -1456 1520 v2neg
FLAG -1136 848 v1neg
FLAG -1088 1344 v1neg
FLAG -80 1312 v1neg
FLAG -48 848 v1neg
FLAG -1136 1008 v2neg
FLAG -640 1408 v2neg
FLAG -512 848 v2neg
FLAG -80 1504 v2neg
FLAG -464 592 vcc
FLAG -192 1728 0
FLAG -1968 -624 0
FLAG -1584 -784 0
FLAG -1520 -912 vcc
FLAG -1520 -736 vee
FLAG -1040 -912 vcc
FLAG -1040 -752 vee
FLAG -2208 -768 v1
FLAG -1936 224 0
FLAG -1552 64 0
FLAG -1488 -64 vcc
FLAG -1488 112 vee
FLAG -1008 -64 vcc
FLAG -1008 96 vee
FLAG -2176 80 v2
TEXT 1904 -64 Left 2 !.tran 5m