* Z:\tmp\asc_dec_bjh7r6w2\0e6f85ddbacd_Four_Quadrant_Log_Antilog_Multiplier_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
XU4 0 N006 vcc vee N008 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
XU11 0 N002 vcc vee N003 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
Q4 N013 N014 N012 0 NPN
R22 N018 N015 10k
M2 N024 N021 N019 N019 PMOS
XU1 0 N004 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
M5 N028 v1neg N030 N030 NMOS
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
R14 0 N025 1k
R6 addout N005 10k
V3 N016 0 -1
M9 N029 N028 N027 N027 PMOS
R10 N019 N020 2k
M12 N029 N028 N032 N032 NMOS
M7 N027 v2neg N026 N026 PMOS
R2 N009 N010 1k
Q2 N009 N009 logout2 0 NPN
XU6 0 v2 vcc 0 v2neg LT1017 ;pnba In+)In-)V+)V-)OUT
Q3 addout addout N006 0 NPN
M1 N024 N021 0 0 NMOS
.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
* Library below included based on ModelFile attribute of instance XU6 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1017.asy)
.lib LT1017.sub
* Library below included based on ModelFile attribute of instance XU4, XU11, XU1, XU8 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2128 1748
WIRE -1360 -960 -1360 -1152
WIRE -1520 -864 -1520 -912
WIRE -1680 -848 -1776 -848
WIRE -1552 -848 -1680 -848
WIRE 208 -848 208 -1008
WIRE -1360 -832 -1360 -896
WIRE -1360 -832 -1488 -832
WIRE 0 -832 0 -944
WIRE 0 -832 -96 -832
WIRE -1584 -816 -1600 -816
WIRE -1552 -816 -1584 -816
WIRE -1584 -784 -1584 -816
WIRE 112 -768 112 -816
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 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 112 -624 112 -704
WIRE 176 -624 112 -624
WIRE 1584 -608 1584 -624
WIRE -1680 -544 -1680 -848
WIRE -1360 -544 -1360 -672
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 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 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 1504 -448 1504 -496
WIRE 0 -416 0 -496
WIRE 112 -416 112 -432
WIRE 112 -416 0 -416
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 112 -256 112 -304
WIRE 0 -240 0 -320
WIRE 80 -240 0 -240
WIRE 208 -224 208 -336
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 112 -112 112 -192
WIRE 176 -112 112 -112
WIRE 576 -48 576 -64
WIRE 848 -48 576 -48
WIRE -1744 -32 -1744 -304
WIRE -1744 -32 -1936 -32
WIRE 704 -32 704 -112
WIRE 672 -16 480 -16
WIRE -1744 0 -1744 -32
WIRE -1648 0 -1744 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 736 0
WIRE 672 16 608 16
WIRE 176 64 176 0
WIRE -1936 80 -1936 48
WIRE -1936 80 -2176 80
WIRE -1936 96 -1936 80
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 576 352 576 288
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 736 560 736 384
WIRE 736 560 576 560
WIRE 528 576 448 576
WIRE 1344 592 1344 528
WIRE 1424 720 1424 688
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 -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 -448 848 -512 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 1216 1008 1216 976
WIRE -288 1040 -288 976
WIRE -336 1056 -608 1056
WIRE -288 1168 -288 1136
WIRE -288 1168 -480 1168
WIRE -176 1168 -288 1168
WIRE 240 1168 -176 1168
WIRE -976 1200 -976 1088
WIRE -848 1200 -976 1200
WIRE -608 1200 -608 1056
WIRE -608 1200 -848 1200
WIRE -176 1232 -176 1168
WIRE -848 1264 -848 1200
WIRE -848 1264 -976 1264
WIRE -736 1264 -848 1264
WIRE -480 1264 -480 1168
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 -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 -1632 1616 -1632 1552
SYMBOL OpAmps\\UniversalOpAmp2 1584 -512 R0
SYMATTR InstName U4
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 -1520 -832 R0
SYMATTR InstName U11
SYMBOL npn 624 -64 M270
SYMATTR InstName Q4
SYMBOL res -1920 64 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R22
SYMATTR Value 10k
SYMBOL pmos 528 656 M180
SYMATTR InstName M2
SYMBOL OpAmps\\UniversalOpAmp2 112 -736 R0
SYMATTR InstName U1
SYMBOL nmos -1024 1264 R0
SYMATTR InstName M5
SYMBOL OpAmps\\UniversalOpAmp2 1424 752 M180
SYMATTR InstName U8
SYMBOL res 1232 992 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R14
SYMATTR Value 1k
SYMBOL res 896 -720 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 10k
SYMBOL voltage 176 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value -1
SYMBOL pmos -336 1136 M180
SYMATTR InstName M9
SYMBOL res 544 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 2k
SYMBOL nmos -528 1264 R0
SYMATTR InstName M12
SYMBOL pmos -448 928 M180
SYMATTR InstName M7
SYMBOL res -80 -336 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL npn 64 -432 R270
SYMATTR InstName Q2
SYMBOL Comparators\\LT1017 -1632 1520 R0
SYMATTR InstName U6
SYMBOL npn 1248 -432 R270
SYMATTR InstName Q3
SYMBOL nmos 528 784 R0
SYMATTR InstName M1
FLAG 16 -704 0
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 1504 -448 0
FLAG 1584 -608 vcc
FLAG 1584 -368 vee
FLAG 208 -848 logout1
FLAG 208 -336 logout2
FLAG 1104 -496 addout
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 -1776 1584 0
FLAG -1776 1504 v2
FLAG 576 928 0
FLAG 1424 688 vee
FLAG 1424 832 vcc
FLAG 1216 1008 0
FLAG 1728 752 product
FLAG -1456 1520 v2neg
FLAG -1088 1344 v1neg
FLAG -640 1408 v2neg
FLAG -512 848 v2neg
FLAG -1584 -784 0
FLAG -1520 -912 vcc
FLAG -1520 -736 vee
FLAG -1936 224 0