* Z:\tmp\asc_dec_bjh7r6w2\0e6f85ddbacd_Four_Quadrant_Log_Antilog_Multiplier_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
XU12 N007 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
D3 N011 N018 D
R24 N009 N012 10k
M6 N034 v2neg N036 N036 NMOS
R8 N017 N014 10k
R7 N013 N016 1k
XU13 0 N015 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
M8 N032 v1neg N031 N031 PMOS
D2 N005 N007 D
D4 N018 N019 D
R19 N003 N002 10k
R20 N011 N010 10k
R17 N008 N004 10k
XU9 N028 N026 vcc vee N026 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 N012 vcc vee N009 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 N037 v2neg N038 N038 NMOS
M3 N034 v2neg N033 N033 PMOS
D1 N001 N005 D
XU10 0 v1 vcc 0 v1neg LT1017 ;pnba In+)In-)V+)V-)OUT
R9 N023 N022 1k
R12 negprod N027 1k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.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 XU10 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1017.asy)
.lib LT1017.sub
* Library below included based on ModelFile attribute of instance XU12, XU13, XU9, XU14 (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 -1152 -1520 -1152
WIRE -1264 -1152 -1360 -1152
WIRE -1136 -1152 -1184 -1152
WIRE -992 -1152 -1136 -1152
WIRE -848 -1152 -912 -1152
WIRE -1360 -960 -1360 -1152
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 -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 -1552 -816 -1584 -816
WIRE -1072 -816 -1136 -816
WIRE -1968 -768 -1968 -800
WIRE -1968 -768 -2208 -768
WIRE -1968 -752 -1968 -768
WIRE -1040 -752 -1040 -800
WIRE -1520 -736 -1520 -800
WIRE -1360 -736 -1360 -832
WIRE -1968 -624 -1968 -672
WIRE -1360 -544 -1360 -672
WIRE -1360 -544 -1520 -544
WIRE -1136 -544 -1136 -816
WIRE -1136 -544 -1360 -544
WIRE -176 -320 -688 -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 528 -128 432 -128
WIRE 848 -128 624 -128
WIRE -1328 -112 -1328 -304
WIRE 576 -48 576 -64
WIRE 848 -48 848 -128
WIRE 848 -48 576 -48
WIRE -1488 -16 -1488 -64
WIRE -1008 -16 -1008 -64
WIRE 672 -16 480 -16
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 -1008 96 -1008 48
WIRE -1488 112 -1488 48
WIRE -1328 112 -1328 16
WIRE 608 112 608 16
WIRE 736 272 528 272
WIRE 640 288 576 288
WIRE -1648 304 -1648 0
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 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 1344 592 1344 528
WIRE 1072 608 832 608
WIRE 928 672 896 672
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 864 752 576 752
WIRE 1600 752 1456 752
WIRE 1392 768 1376 768
WIRE 896 816 896 768
WIRE 944 816 896 816
WIRE -288 832 -288 704
WIRE -288 832 -400 832
WIRE -176 832 -288 832
WIRE 1376 832 1376 768
WIRE -48 848 -128 848
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 -288 1040 -288 976
WIRE -1632 1168 -1632 1088
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 -1632 1296 -1632 1232
WIRE -80 1312 -128 1312
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 -80 1504 -128 1504
WIRE -848 1600 -848 1360
WIRE -192 1600 -480 1600
WIRE -176 1600 -176 1520
WIRE -176 1600 -192 1600
WIRE -192 1728 -192 1600
SYMBOL OpAmps\\UniversalOpAmp2 -1040 -832 R0
SYMATTR InstName U12
SYMBOL diode -1344 -112 R0
SYMATTR InstName D3
SYMBOL res -864 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R24
SYMATTR Value 10k
SYMBOL nmos -688 1264 M0
SYMATTR InstName M6
SYMBOL res 992 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 10k
SYMBOL res 432 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 1k
SYMBOL OpAmps\\UniversalOpAmp2 -1488 16 R0
SYMATTR InstName U13
SYMBOL pmos -128 928 R180
SYMATTR InstName M8
SYMBOL diode -1376 -736 R0
SYMATTR InstName D2
SYMBOL diode -1344 112 R0
SYMATTR InstName D4
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 -1472 -320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R20
SYMATTR Value 10k
SYMBOL res -1952 -784 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R17
SYMATTR Value 10k
SYMBOL OpAmps\\UniversalOpAmp2 896 736 R0
SYMATTR InstName U9
SYMBOL OpAmps\\UniversalOpAmp2 -1008 16 R0
SYMATTR InstName U14
SYMBOL nmos -128 1424 M0
SYMATTR InstName M11
SYMBOL pmos -1024 1088 M180
SYMATTR InstName M3
SYMBOL diode -1376 -960 R0
SYMATTR InstName D1
SYMBOL Comparators\\LT1017 -1632 1200 R0
SYMATTR InstName U10
SYMBOL res 400 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 1k
SYMBOL res 1328 576 R0
SYMATTR InstName R12
SYMATTR Value 1k
FLAG 608 112 0
FLAG 480 432 0
FLAG 1440 528 negprod
FLAG 1424 688 vee
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 -80 1312 v1neg
FLAG -48 848 v1neg
FLAG -1136 1008 v2neg
FLAG -640 1408 v2neg
FLAG -80 1504 v2neg
FLAG -1968 -624 0
FLAG -1520 -912 vcc
FLAG -1520 -736 vee
FLAG -1040 -912 vcc
FLAG -1040 -752 vee
FLAG -1552 64 0
FLAG -1488 -64 vcc
FLAG -1488 112 vee
FLAG -1008 -64 vcc
FLAG -1008 96 vee