* Z:\tmp\asc_dec_bjh7r6w2\058df2f23961_R2RDAC_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
XU4 N013 N005 V+ V- N014 level.3b 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
XU15 N039 N034 V+ V- N040 level.3b 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
R4 N025 N026 1k
R25 N024 N027 1k
R32 N035 N037 1k
R12 N009 N012 2k
R35 N041 N044 1k
R6 N022 N023 1k
R38 N045 N046 1k
R21 N010 N013 1k
R11 N014 N015 1k
R5 N019 N023 2k
R22 N013 N017 1k
M1 V+ NC_01 N006 N006 PMOS
M5 V+ NC_02 N020 N020 PMOS
R7 N015 N019 2k
R2 N028 N029 1k
R33 N037 N039 1k
R23 N017 N021 1k
XU17 N044 N034 V+ V- N045 level.3b 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
XU1 N002 N005 V+ V- N003 level.3b 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
XU13 N035 N034 V+ V- N036 level.3b 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
R37 V- N046 2k
R3 N023 N026 2k
R24 N021 N024 1k
.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 XU4, XU15, XU17, XU1, XU13 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1524 2760
WIRE -1248 16 -1296 16
WIRE -1248 128 -1248 96
WIRE -1088 128 -1248 128
WIRE -768 144 -1024 144
WIRE -656 144 -656 112
WIRE -656 144 -688 144
WIRE -1248 160 -1248 128
WIRE -1152 160 -1152 -224
WIRE -1088 160 -1152 160
WIRE 352 160 256 160
WIRE -656 192 -656 144
WIRE -1248 288 -1248 240
WIRE -1088 288 -1248 288
WIRE -768 304 -1024 304
WIRE -656 304 -656 272
WIRE -656 304 -688 304
WIRE -1248 320 -1248 288
WIRE -1152 320 -1152 160
WIRE -1088 320 -1152 320
WIRE -656 336 -656 304
WIRE -1248 432 -1248 400
WIRE -1088 432 -1248 432
WIRE -768 448 -1024 448
WIRE -656 448 -656 416
WIRE -656 448 -688 448
WIRE -1248 464 -1248 432
WIRE -1152 464 -1152 320
WIRE -1088 464 -1152 464
WIRE -656 496 -656 448
WIRE -1248 592 -1248 544
WIRE -1088 592 -1248 592
WIRE -768 608 -1024 608
WIRE -656 608 -656 576
WIRE -656 608 -688 608
WIRE -1248 624 -1248 592
WIRE -1152 624 -1152 464
WIRE -1088 624 -1152 624
WIRE 352 624 256 624
WIRE -656 656 -656 608
WIRE -1248 736 -1248 704
WIRE -1088 736 -1248 736
WIRE -768 752 -1024 752
WIRE -656 752 -656 736
WIRE -656 752 -688 752
WIRE -1248 768 -1248 736
WIRE -1152 768 -1152 624
WIRE -1088 768 -1152 768
WIRE 352 768 256 768
WIRE -656 800 -656 752
WIRE -1248 896 -1248 848
WIRE -1088 896 -1248 896
WIRE -768 912 -1024 912
WIRE -656 912 -656 880
WIRE -656 912 -688 912
WIRE -1248 928 -1248 896
WIRE -1152 928 -1152 768
WIRE -1088 928 -1152 928
WIRE -656 944 -656 912
WIRE -1248 1040 -1248 1008
WIRE -1088 1040 -1248 1040
WIRE -768 1056 -1024 1056
WIRE -656 1056 -656 1024
WIRE -656 1056 -688 1056
WIRE -1248 1072 -1248 1040
WIRE -1152 1072 -1152 928
WIRE -1088 1072 -1152 1072
WIRE -656 1088 -656 1056
WIRE -1248 1200 -1248 1152
WIRE -1088 1200 -1248 1200
WIRE -768 1216 -1024 1216
WIRE -656 1216 -656 1168
WIRE -656 1216 -688 1216
WIRE -1248 1232 -1248 1200
WIRE -1152 1232 -1152 1072
WIRE -1088 1232 -1152 1232
WIRE -656 1248 -656 1216
WIRE -768 1360 -1024 1360
WIRE -656 1360 -656 1328
WIRE -656 1360 -688 1360
WIRE -576 1360 -656 1360
WIRE -1152 1376 -1152 1232
WIRE -656 1408 -656 1360
WIRE -1248 1648 -1248 1616
WIRE -1088 1648 -1248 1648
WIRE -768 1664 -1024 1664
WIRE -1248 1680 -1248 1648
WIRE -1152 1680 -1152 1536
WIRE -1088 1680 -1152 1680
WIRE -1248 1808 -1248 1760
WIRE -1088 1808 -1248 1808
WIRE -768 1824 -1024 1824
WIRE -1248 1840 -1248 1808
WIRE -1152 1840 -1152 1680
WIRE -1088 1840 -1152 1840
WIRE -1248 1952 -1248 1920
WIRE -1088 1952 -1248 1952
WIRE -768 1968 -1024 1968
WIRE -1248 1984 -1248 1952
WIRE -1152 1984 -1152 1840
WIRE -1088 1984 -1152 1984
WIRE -1248 2112 -1248 2064
WIRE -1088 2112 -1248 2112
WIRE -768 2128 -1024 2128
WIRE -1248 2144 -1248 2112
WIRE -1152 2144 -1152 1984
WIRE -1088 2144 -1152 2144
WIRE -1248 2256 -1248 2224
WIRE -1088 2256 -1248 2256
WIRE -768 2272 -1024 2272
WIRE -656 2272 -656 2240
WIRE -656 2272 -688 2272
WIRE -1248 2288 -1248 2256
WIRE -1152 2288 -1152 2144
WIRE -1088 2288 -1152 2288
WIRE -656 2304 -656 2272
WIRE -1248 2416 -1248 2368
WIRE -1088 2416 -1248 2416
WIRE -768 2432 -1024 2432
WIRE -656 2432 -656 2384
WIRE -656 2432 -688 2432
WIRE -624 2432 -656 2432
WIRE -528 2432 -544 2432
WIRE -1248 2448 -1248 2416
WIRE -1152 2448 -1152 2288
WIRE -1088 2448 -1152 2448
SYMBOL OpAmps\\UniversalOpamp2 -1056 608 M180
SYMATTR InstName U4
SYMATTR SpiceModel level.3b
SYMBOL OpAmps\\UniversalOpamp2 -1056 2128 M180
SYMATTR InstName U15
SYMATTR SpiceModel level.3b
SYMBOL res -784 1072 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res -1264 1056 R0
SYMATTR InstName R25
SYMATTR Value 1k
SYMBOL res -1264 1824 R0
SYMATTR InstName R32
SYMATTR Value 1k
SYMBOL res -672 320 R0
SYMATTR InstName R12
SYMATTR Value 2k
SYMBOL res -1264 2272 R0
SYMATTR InstName R35
SYMATTR Value 1k
SYMBOL res -784 928 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R6
SYMATTR Value 1k
SYMBOL res -784 2448 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R38
SYMATTR Value 1k
SYMBOL res -1264 448 R0
SYMATTR InstName R21
SYMATTR Value 1k
SYMBOL res -784 624 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R11
SYMATTR Value 1k
SYMBOL res -672 784 R0
SYMATTR InstName R5
SYMATTR Value 2k
SYMBOL res -1264 608 R0
SYMATTR InstName R22
SYMATTR Value 1k
SYMBOL pmos 208 64 R0
SYMATTR InstName M1
SYMBOL pmos 208 672 R0
SYMATTR InstName M5
SYMBOL res -672 640 R0
SYMATTR InstName R7
SYMATTR Value 2k
SYMBOL res -784 1232 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res -1264 1968 R0
SYMATTR InstName R33
SYMATTR Value 1k
SYMBOL res -1264 752 R0
SYMATTR InstName R23
SYMATTR Value 1k
SYMBOL OpAmps\\UniversalOpamp2 -1056 2432 M180
SYMATTR InstName U17
SYMATTR SpiceModel level.3b
SYMBOL OpAmps\\UniversalOpamp2 -1056 144 M180
SYMATTR InstName U1
SYMATTR SpiceModel level.3b
SYMBOL OpAmps\\UniversalOpamp2 -1056 1824 M180
SYMATTR InstName U13
SYMATTR SpiceModel level.3b
SYMBOL res -528 2416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R37
SYMATTR Value 2k
SYMBOL res -672 928 R0
SYMATTR InstName R3
SYMATTR Value 2k
SYMBOL res -1264 912 R0
SYMATTR InstName R24
SYMATTR Value 1k
FLAG -1056 176 V+
FLAG -1056 112 V-
FLAG -1056 336 V+
FLAG -1056 272 V-
FLAG -1056 480 V+
FLAG -1056 416 V-
FLAG -1056 640 V+
FLAG -1056 576 V-
FLAG -1056 784 V+
FLAG -1056 720 V-
FLAG 256 64 V+
FLAG 256 224 V+
FLAG 256 528 V+
FLAG 256 672 V+
FLAG 256 832 V+
FLAG -1056 1696 V+
FLAG -1056 1632 V-
FLAG -1056 1856 V+
FLAG -1056 1792 V-
FLAG -1056 2000 V+
FLAG -1056 1936 V-
FLAG -1056 2160 V+
FLAG -1056 2096 V-
FLAG -1056 2304 V+
FLAG -1056 2240 V-
FLAG -1056 2464 V+
FLAG -1056 2400 V-
FLAG -1248 2528 V-
FLAG -528 2432 V-