* Z:\tmp\asc_dec_bjh7r6w2\108d011b69c9_xor_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
R2 VCC N005 100
R8 VCC N004 100
R1 N037 N038 100k
M22 N021 N017 VG VG BSS84
M36 N015 N009 N024 N024 2N7002
M12 N035 N036 N040 N040 2N7002
VIN1 N008 N010 PULSE(0 5 0 10n 10n 90n 200n 10)
M25 N030 N029 N031 N031 2N7002
M2 N003 N006 N012 N012 2N7002
M23 N019 N021 N028 N028 2N7002
R6 VCC N018 100
M18 N026 N021 N025 N025 2N7002
M11 N032 N033 N039 N039 2N7002
M20 N014 N018 N023 N023 2N7002
R4 N022 N027 100k
R9 VCC N009 100
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 4404 2596
WIRE 608 80 608 48
WIRE 1408 80 608 80
WIRE 3360 160 3072 160
WIRE 784 176 784 48
WIRE 960 176 784 176
WIRE 784 208 784 176
WIRE 3504 240 3504 160
WIRE 3984 240 3504 240
WIRE 2768 272 2768 144
WIRE 704 288 704 -32
WIRE 704 288 240 288
WIRE 736 288 704 288
WIRE 3504 320 3504 240
WIRE 608 336 608 80
WIRE 3360 400 3360 160
WIRE 144 416 80 416
WIRE -112 528 -112 288
WIRE 80 528 80 416
WIRE 2768 576 2768 480
WIRE 3984 576 3984 240
WIRE 3824 608 3824 160
WIRE 3984 608 3824 608
WIRE -112 720 -112 608
WIRE 80 720 80 608
WIRE 784 720 784 304
WIRE 3216 736 3216 304
WIRE 3776 736 3216 736
WIRE 3072 784 3072 768
WIRE 3216 784 3072 784
WIRE 4128 800 4128 592
WIRE 3072 816 3072 784
WIRE 544 880 368 880
WIRE 720 880 688 880
WIRE 3216 880 3216 784
WIRE 3776 880 3216 880
WIRE 3984 880 3984 608
WIRE 4080 880 3984 880
WIRE 2768 896 2768 768
WIRE 3024 896 2768 896
WIRE 1024 976 1024 960
WIRE 1344 976 1344 848
WIRE 1344 976 1024 976
WIRE 592 992 592 960
WIRE 1392 992 1392 960
WIRE 1392 992 592 992
WIRE 944 1072 944 880
WIRE 1440 1072 944 1072
WIRE 768 1088 768 960
WIRE 944 1088 944 1072
WIRE 944 1088 768 1088
WIRE 768 1120 768 1088
WIRE 1024 1120 1024 976
WIRE 1440 1168 1440 1072
WIRE 688 1200 688 880
WIRE 944 1200 944 1088
WIRE 976 1200 944 1200
WIRE 1952 1200 1952 960
WIRE 3072 1200 3072 912
WIRE 4128 1200 4128 896
WIRE 1424 1216 1280 1216
WIRE 1840 1216 1840 960
WIRE 1840 1216 1520 1216
WIRE 592 1248 592 992
WIRE 1952 1616 1952 1280
WIRE 1024 1632 1024 1216
WIRE 1712 1792 1344 1792
WIRE 1712 1856 1712 1792
WIRE 1632 1904 1392 1904
WIRE 1840 1904 1728 1904
WIRE 592 1936 592 1904
WIRE 1392 1936 592 1936
WIRE 368 2000 368 1824
WIRE 1280 2000 368 2000
WIRE 1440 2016 944 2016
WIRE 768 2032 768 1904
WIRE 944 2032 768 2032
WIRE 768 2064 768 2032
WIRE 1440 2064 1440 2016
WIRE 688 2144 688 1824
WIRE 688 2144 240 2144
WIRE 720 2144 688 2144
WIRE 1952 2144 1952 1904
WIRE 1840 2160 1840 1904
WIRE 1840 2160 1712 2160
WIRE 592 2192 592 1936
WIRE 368 2272 368 2000
WIRE 368 2272 192 2272
WIRE 544 2272 368 2272
WIRE 1952 2560 1952 2224
WIRE 592 2576 592 2288
WIRE 768 2576 768 2160
SYMBOL res 2752 48 R0
SYMATTR InstName R2
SYMATTR Value 100
SYMBOL res 3488 64 R0
SYMATTR InstName R8
SYMATTR Value 100
SYMBOL res 1936 2128 R0
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL pmos 720 960 M180
SYMATTR InstName M22
SYMATTR Value BSS84
SYMBOL nmos 4080 800 R0
SYMATTR InstName M36
SYMATTR Value 2N7002
SYMBOL nmos 720 2064 R0
SYMATTR InstName M12
SYMATTR Value 2N7002
SYMBOL voltage -112 512 R0
WINDOW 3 -54 -166 VRight 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 5 0 10n 10n 90n 200n 10)
SYMATTR InstName IN1
SYMBOL nmos 1632 1856 M90
SYMATTR InstName M25
SYMATTR Value 2N7002
SYMBOL nmos 736 208 R0
SYMATTR InstName M2
SYMATTR Value 2N7002
SYMBOL nmos 976 1120 R0
SYMATTR InstName M23
SYMATTR Value 2N7002
SYMBOL res 2752 672 R0
SYMATTR InstName R6
SYMATTR Value 100
SYMBOL nmos 1520 1168 R90
SYMATTR InstName M18
SYMATTR Value 2N7002
SYMBOL nmos 544 2192 R0
SYMATTR InstName M11
SYMATTR Value 2N7002
SYMBOL nmos 3024 816 R0
SYMATTR InstName M20
SYMATTR Value 2N7002
SYMBOL res 1936 1184 R0
SYMATTR InstName R4
SYMATTR Value 100k
SYMBOL res 3808 64 R0
SYMATTR InstName R9
SYMATTR Value 100
FLAG 592 864 VCC
FLAG 768 864 VG
FLAG 2768 64 VCC
FLAG 2768 576 0
FLAG 2768 688 VCC
FLAG 3072 688 VCC
FLAG 3504 80 VCC
FLAG 3824 80 VCC