* Z:\tmp\asc_dec_bjh7r6w2\19897196e105_11_envelope_final_SNR_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
M6 N019 N002 N023 0 NMOS_VTL l=50n w=150n
V3 vdd 0 1
M27 comp_out N038 0 0 NMOS_VTL l=50n w=300n
M2 N033 N027 N039 0 NMOS_VTL l=50n w=150n
I3 N037 0 20n
M25 N031 N034 N035 N031 PMOS_VTL l=150n w=1u
C6 0 vd_m8 {CL}
C30 0 vd_m4 {CL}
M29 vdd N026 N031 vdd PMOS_VTL l=150n w=1u m=3
C13 N006 N005 {Cdec}
C19 N004 N016 {Cdec}
V1 vgb 0 {Vgb}
C3 N030 N029 {Cdec}
M16 vd_m16 N004 N008 0 NMOS_VTL l=50n w=150n
C22 N020 0 {CL}
C14 N003 N015 {Cdec}
R7 N018 N014 {Rval}
C25 N025 N024 {Cdec}
M17 N025 N014 vd_m16 0 NMOS_VTL l=50n w=150n
I4 N026 0 15n
M26 N031 out N038 N031 PMOS_VTL l=150n w=1u
M4 vd_m4 N027 N030 0 NMOS_VTL l=50n w=150n
R1 N027 vgb {Rval}
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4216 680
WIRE -1840 -1728 -1904 -1728
WIRE -1712 -1728 -1776 -1728
WIRE -80 -1728 -144 -1728
WIRE 48 -1728 -16 -1728
WIRE -1712 -1712 -1712 -1728
WIRE -1904 -1648 -1904 -1728
WIRE -144 -1648 -144 -1728
WIRE -1952 -1568 -2032 -1568
WIRE -1072 -1568 -1152 -1568
WIRE -192 -1568 -272 -1568
WIRE -1904 -1488 -1904 -1552
WIRE -1312 -1488 -1488 -1488
WIRE -1024 -1488 -1248 -1488
WIRE -432 -1488 -608 -1488
WIRE -144 -1488 -144 -1552
WIRE -144 -1488 -368 -1488
WIRE -1904 -1440 -1904 -1488
WIRE -144 -1440 -144 -1488
WIRE 736 -1440 736 -1488
WIRE -1952 -1360 -1968 -1360
WIRE -1072 -1360 -1088 -1360
WIRE -192 -1360 -208 -1360
WIRE 688 -1360 672 -1360
WIRE -2032 -1312 -2032 -1568
WIRE -2032 -1312 -2128 -1312
WIRE -1312 -1312 -1488 -1312
WIRE -1152 -1312 -1152 -1568
WIRE -1152 -1312 -1248 -1312
WIRE -432 -1312 -608 -1312
WIRE -272 -1312 -272 -1568
WIRE -272 -1312 -368 -1312
WIRE 448 -1312 272 -1312
WIRE 608 -1312 608 -1568
WIRE 608 -1312 512 -1312
WIRE -1904 -1296 -1904 -1344
WIRE -1760 -1296 -1904 -1296
WIRE 736 -1296 736 -1344
WIRE 880 -1296 736 -1296
WIRE -1760 -1280 -1760 -1296
WIRE 880 -1280 880 -1296
WIRE -1760 -1264 -1760 -1280
WIRE 880 -1264 880 -1280
WIRE -1904 -1248 -1904 -1296
WIRE 736 -1248 736 -1296
WIRE -2032 -1200 -2032 -1312
WIRE -2032 -1200 -2128 -1200
WIRE -1392 -1200 -1552 -1200
WIRE -1328 -1200 -1392 -1200
WIRE -1152 -1200 -1152 -1312
WIRE -1152 -1200 -1248 -1200
WIRE -512 -1200 -672 -1200
WIRE -448 -1200 -512 -1200
WIRE -272 -1200 -272 -1312
WIRE -272 -1200 -368 -1200
WIRE 368 -1200 208 -1200
WIRE 432 -1200 368 -1200
WIRE 608 -1200 608 -1312
WIRE 608 -1200 512 -1200
WIRE -2032 -1168 -2032 -1200
WIRE -1952 -1168 -2032 -1168
WIRE -1152 -1168 -1152 -1200
WIRE -1072 -1168 -1152 -1168
WIRE -272 -1168 -272 -1200
WIRE -192 -1168 -272 -1168
WIRE 608 -1168 608 -1200
WIRE 688 -1168 608 -1168
WIRE -1904 -1104 -1904 -1152
WIRE -1904 -1104 -2128 -1104
WIRE 448 -1104 272 -1104
WIRE 736 -1104 736 -1152
WIRE 736 -1104 512 -1104
WIRE -1904 -1056 -1904 -1104
WIRE 736 -1056 736 -1104
WIRE -1968 -976 -1968 -1360
WIRE -1392 -976 -1392 -1200
WIRE -1088 -976 -1088 -1360
WIRE -512 -976 -512 -1200
WIRE -208 -976 -208 -1360
WIRE 368 -976 368 -1200
WIRE 672 -976 672 -1360
WIRE 672 -976 368 -976
WIRE 688 -976 672 -976
WIRE 736 -880 736 -960
WIRE 256 -576 192 -576
WIRE 384 -576 320 -576
WIRE 384 -560 384 -576
WIRE -2848 -528 -3264 -528
WIRE 192 -496 192 -576
WIRE 144 -416 64 -416
WIRE -3552 -400 -3552 -432
WIRE -3552 -400 -3648 -400
WIRE -3040 -400 -3040 -432
WIRE -2944 -400 -3040 -400
WIRE -3648 -352 -3648 -400
WIRE -3552 -352 -3648 -352
WIRE -2944 -352 -2944 -400
WIRE -2944 -352 -3040 -352
WIRE -96 -336 -272 -336
WIRE 192 -336 192 -400
WIRE 192 -336 -32 -336
WIRE -3456 -320 -3504 -320
WIRE -3264 -320 -3264 -528
WIRE -3264 -320 -3456 -320
WIRE -3088 -320 -3264 -320
WIRE -2848 -320 -2848 -528
WIRE -2624 -320 -2848 -320
WIRE 192 -288 192 -336
WIRE -3552 -256 -3552 -304
WIRE -3456 -256 -3456 -320
WIRE -3456 -256 -3552 -256
WIRE -3552 -224 -3552 -256
WIRE -3040 -224 -3040 -304
WIRE -3040 -224 -3184 -224
WIRE -2896 -224 -3040 -224
WIRE 144 -208 128 -208
WIRE -3184 -192 -3184 -224
WIRE -3120 -192 -3184 -192
WIRE -2896 -192 -2896 -224
WIRE -2896 -192 -2960 -192
WIRE -2576 -192 -2576 -304
WIRE -2480 -192 -2576 -192
WIRE -3184 -160 -3184 -192
WIRE -2896 -160 -2896 -192
WIRE -272 -160 -272 -336
WIRE -96 -160 -272 -160
WIRE 64 -160 64 -416
WIRE 64 -160 -32 -160
WIRE 192 -144 192 -192
WIRE 336 -144 192 -144
WIRE -3552 -128 -3552 -144
WIRE 336 -128 336 -144
WIRE -3120 -112 -3120 -192
WIRE -3120 -112 -3184 -112
WIRE -2960 -112 -2960 -192
WIRE -2896 -112 -2960 -112
WIRE -1600 -112 -1600 -144
WIRE 336 -112 336 -128
WIRE 192 -96 192 -144
WIRE -3232 -80 -3344 -80
WIRE -2768 -80 -2848 -80
WIRE -3344 -64 -3344 -80
WIRE -2576 -64 -2576 -192
WIRE -176 -48 -352 -48
WIRE -112 -48 -176 -48
WIRE 64 -48 64 -160
WIRE 64 -48 -32 -48
WIRE -352 -32 -352 -48
WIRE 64 -16 64 -48
WIRE 144 -16 64 -16
WIRE -3184 0 -3184 -64
WIRE -3056 0 -3184 0
WIRE -1600 0 -1632 0
WIRE -1568 0 -1600 0
WIRE -1424 0 -1424 -224
WIRE -1424 0 -1488 0
WIRE -2896 16 -2896 -64
WIRE -2624 16 -2896 16
WIRE -1424 32 -1424 0
WIRE -1600 48 -1600 0
WIRE -272 48 -272 -160
WIRE -96 48 -272 48
WIRE 192 48 192 0
WIRE 192 48 -32 48
WIRE -3184 64 -3184 0
WIRE -2896 64 -2896 16
WIRE -352 64 -352 48
WIRE -2576 80 -2576 32
WIRE 192 96 192 48
WIRE -3056 144 -3056 0
WIRE -1600 144 -1600 112
WIRE -1424 144 -1424 112
WIRE -176 176 -176 -48
WIRE 128 176 128 -208
WIRE -272 208 -272 48
SYMBOL nmos4 -1952 -1248 R0
WINDOW 3 56 72 Left 1
SYMATTR Value NMOS_VTL
SYMATTR InstName M6
SYMATTR Value2 l=50n w=150n
SYMBOL voltage -3952 -448 R0
SYMATTR InstName V3
SYMATTR Value 1
SYMBOL nmos4 -2624 -64 R0
WINDOW 3 56 72 Left 1
SYMATTR Value NMOS_VTL
SYMATTR InstName M27
SYMATTR Value2 l=50n w=300n
SYMBOL nmos4 144 -96 R0
WINDOW 3 56 72 Left 1
SYMATTR Value NMOS_VTL
SYMATTR InstName M2
SYMATTR Value2 l=50n w=150n
SYMBOL current -1424 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I3
SYMATTR Value 20n
SYMBOL pmos4 -3232 -160 R0
WINDOW 3 56 72 Left 1
SYMATTR Value PMOS_VTL
SYMATTR InstName M25
SYMATTR Value2 l=150n w=1u
SYMBOL cap -1776 -1744 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C6
SYMATTR Value {CL}
SYMBOL cap 320 -592 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C30
SYMATTR Value {CL}
SYMBOL pmos4 -3088 -400 R0
WINDOW 3 56 72 Left 1
SYMATTR Value PMOS_VTL
SYMATTR InstName M29
SYMATTR Value2 l=150n w=1u m=3
SYMBOL cap -1248 -1504 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C13
SYMATTR Value {Cdec}
SYMBOL cap -368 -1328 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C19
SYMATTR Value {Cdec}
SYMBOL voltage -352 -48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -114 53 Left 2
SYMATTR Value {Vgb}
SYMATTR InstName V1
SYMBOL cap -32 -352 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value {Cdec}
SYMBOL nmos4 -192 -1648 R0
WINDOW 3 56 72 Left 1
SYMATTR Value NMOS_VTL
SYMATTR InstName M16
SYMATTR Value2 l=50n w=150n
SYMBOL cap 864 -1280 R0
WINDOW 3 39 43 Left 2
SYMATTR Value {CL}
SYMATTR InstName C22
SYMBOL cap -1248 -1328 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C14
SYMATTR Value {Cdec}
SYMBOL res 528 -1216 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value {Rval}
SYMBOL cap 512 -1120 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C25
SYMATTR Value {Cdec}
SYMBOL nmos4 688 -1056 R0
WINDOW 3 56 72 Left 1
SYMATTR Value NMOS_VTL
SYMATTR InstName M17
SYMATTR Value2 l=50n w=150n
SYMBOL current -3552 -224 R0
WINDOW 0 -70 9 Left 2
WINDOW 3 -80 39 Left 2
SYMATTR InstName I4
SYMATTR Value 15n
SYMBOL pmos4 -2848 -160 M0
WINDOW 3 56 72 Left 1
SYMATTR Value PMOS_VTL
SYMATTR InstName M26
SYMATTR Value2 l=150n w=1u
SYMBOL nmos4 144 -496 R0
WINDOW 3 56 72 Left 1
SYMATTR Value NMOS_VTL
SYMATTR InstName M4
SYMATTR Value2 l=50n w=150n
SYMBOL res -16 -64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {Rval}
FLAG 192 -448 0
FLAG 192 -240 0
FLAG 192 -48 0
FLAG 384 -560 0
FLAG 336 -64 0
FLAG -352 64 0
FLAG -1904 -1600 0
FLAG -1904 -1392 0
FLAG -1904 -1200 0
FLAG -1712 -1712 0
FLAG -1760 -1216 0
FLAG -1904 -1728 vd_m8
FLAG -352 -48 vgb
FLAG -144 -1600 0
FLAG -144 -1728 vd_m16
FLAG 736 -1392 0
FLAG 736 -1200 0
FLAG 736 -1008 0
FLAG 880 -1216 0
FLAG 736 -880 vd_m16
FLAG 192 -576 vd_m4
FLAG -3952 -352 0
FLAG -3952 -432 vdd
FLAG -1424 144 0
FLAG -1600 144 0
FLAG -3344 16 0
FLAG -2768 -80 out
FLAG -1600 -112 0
FLAG -2576 -16 0
FLAG -3040 -432 vdd
FLAG -3552 -128 0
FLAG -2576 80 0
FLAG -2480 -192 comp_out