* Z:\tmp\asc_dec_bjh7r6w2\108d011b69c9_xor_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
VIN2 B N014 PULSE(0 5 0 10n 10n 190n 400n 5)
M1 N008 B N015 N015 2N7002
M15 N024 B N026 N026 2N7002
VCC1 VCC 0 5
M31 N004 N003 N009 N009 2N7002
M21 N024 B VCC VCC BSS84
M14 N003 N005 N011 N011 2N7002
M27 N031 N027 VCC VCC BSS84
M30 N030 N029 VG VG BSS84
M26 N032 N029 N033 N033 2N7002
M35 O2 N004 N018 N018 2N7002
M29 N030 N029 N034 N034 2N7002
M33 N012 N007 N017 N017 2N7002
R5 VCC N003 100
M9 N001 N002 N016 N016 2N7002
M24 N023 N020 VG VG BSS84
M34 N017 N021 N025 N025 2N7002
M19 N022 B 0 0 2N7002
.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 -64 0 -112 0
WIRE -16 0 -64 0
WIRE 1040 64 1040 48
WIRE 1360 64 1040 64
WIRE -112 80 -112 0
WIRE 384 144 384 -32
WIRE 1296 144 384 144
WIRE 960 160 960 -32
WIRE 1456 160 960 160
WIRE 3072 160 3072 144
WIRE 3360 160 3072 160
WIRE 960 176 960 160
WIRE 960 176 784 176
WIRE 3072 192 3072 160
WIRE 1040 208 1040 64
WIRE 3504 240 3504 160
WIRE 3984 240 3504 240
WIRE 3024 272 2768 272
WIRE 704 288 704 -32
WIRE 704 288 240 288
WIRE 736 288 704 288
WIRE 960 288 960 176
WIRE 992 288 960 288
WIRE 3216 304 2768 304
WIRE 3504 320 3504 240
WIRE 608 336 608 80
WIRE 4128 368 4128 160
WIRE 4272 368 4128 368
WIRE 4400 368 4272 368
WIRE 3360 400 3360 160
WIRE 3456 400 3360 400
WIRE 144 416 80 416
WIRE 192 416 144 416
WIRE 384 416 384 144
WIRE 384 416 192 416
WIRE 560 416 384 416
WIRE 3504 464 3504 416
WIRE 4128 496 4128 368
WIRE -112 528 -112 288
WIRE 80 528 80 416
WIRE 3072 576 3072 288
WIRE 3984 576 3984 240
WIRE 4080 576 3984 576
WIRE 3824 608 3824 160
WIRE 3984 608 3824 608
WIRE 3824 656 3824 608
WIRE -112 720 -112 608
WIRE 80 720 80 608
WIRE 608 720 608 432
WIRE 1040 720 1040 304
WIRE 3216 736 3216 304
WIRE 3776 736 3216 736
WIRE 3824 800 3824 752
WIRE 4128 800 4128 592
WIRE 544 880 368 880
WIRE 720 880 688 880
WIRE 976 880 944 880
WIRE 3776 880 3216 880
WIRE 3984 880 3984 608
WIRE 2768 896 2768 768
WIRE 3024 896 2768 896
WIRE 2768 944 2768 896
WIRE 3344 944 2768 944
WIRE 1024 976 1024 960
WIRE 1344 976 1024 976
WIRE 592 992 592 960
WIRE 1392 992 592 992
WIRE 2768 1008 2768 944
WIRE 368 1056 368 880
WIRE 1280 1056 368 1056
WIRE 944 1072 944 880
WIRE 1440 1072 944 1072
WIRE 944 1088 944 1072
WIRE 944 1088 768 1088
WIRE 2624 1088 2512 1088
WIRE 2720 1088 2624 1088
WIRE 1024 1120 1024 976
WIRE 688 1200 688 880
WIRE 688 1200 240 1200
WIRE 720 1200 688 1200
WIRE 944 1200 944 1088
WIRE 2768 1200 2768 1104
WIRE 3824 1200 3824 896
WIRE 592 1248 592 992
WIRE 192 1328 192 416
WIRE 368 1328 368 1056
WIRE 368 1328 192 1328
WIRE 544 1328 368 1328
WIRE 592 1632 592 1344
WIRE 544 1824 368 1824
WIRE 720 1824 688 1824
WIRE 976 1824 944 1824
WIRE 1024 1920 1024 1904
WIRE 1344 1920 1024 1920
WIRE 592 1936 592 1904
WIRE 1392 1936 592 1936
WIRE 368 2000 368 1824
WIRE 1280 2000 368 2000
WIRE 944 2016 944 1824
WIRE 1440 2016 944 2016
WIRE 944 2032 944 2016
WIRE 944 2032 768 2032
WIRE 1024 2064 1024 1920
WIRE 1440 2064 1440 2016
WIRE 1696 2064 1440 2064
WIRE 1696 2112 1696 2064
WIRE 688 2144 688 1824
WIRE 944 2144 944 2032
WIRE 976 2144 944 2144
WIRE 1616 2160 1280 2160
WIRE 1840 2160 1712 2160
WIRE 592 2192 592 1936
WIRE 368 2272 368 2000
WIRE 1024 2576 1024 2160
SYMBOL voltage 80 512 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName IN2
SYMATTR Value PULSE(0 5 0 10n 10n 190n 400n 5)
SYMBOL nmos 560 336 R0
SYMATTR InstName M1
SYMATTR Value 2N7002
SYMBOL nmos 544 1248 R0
SYMATTR InstName M15
SYMATTR Value 2N7002
SYMBOL voltage -112 64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VCC1
SYMATTR Value 5
SYMBOL nmos 3456 320 R0
SYMATTR InstName M31
SYMATTR Value 2N7002
SYMBOL pmos 544 960 M180
SYMATTR InstName M21
SYMATTR Value BSS84
SYMBOL nmos 3024 192 R0
SYMATTR InstName M14
SYMATTR Value 2N7002
SYMBOL pmos 544 1904 M180
SYMATTR InstName M27
SYMATTR Value BSS84
SYMBOL pmos 976 1904 M180
SYMATTR InstName M30
SYMATTR Value BSS84
SYMBOL nmos 1616 2112 M90
SYMATTR InstName M26
SYMATTR Value 2N7002
SYMBOL nmos 4080 496 R0
SYMATTR InstName M35
SYMATTR Value 2N7002
SYMBOL nmos 976 2064 R0
SYMATTR InstName M29
SYMATTR Value 2N7002
SYMBOL nmos 3776 656 R0
SYMATTR InstName M33
SYMATTR Value 2N7002
SYMBOL res 3056 48 R0
SYMATTR InstName R5
SYMATTR Value 100
SYMBOL nmos 992 208 R0
SYMATTR InstName M9
SYMATTR Value 2N7002
SYMBOL pmos 976 960 M180
SYMATTR InstName M24
SYMATTR Value BSS84
SYMBOL nmos 3776 800 R0
SYMATTR InstName M34
SYMATTR Value 2N7002
SYMBOL nmos 2720 1008 R0
SYMATTR InstName M19
SYMATTR Value 2N7002
FLAG -112 160 0
FLAG -64 0 VCC
FLAG 592 864 VCC
FLAG 1024 864 VG
FLAG 592 1808 VCC
FLAG 1024 1808 VG
FLAG 144 416 B
FLAG 3072 64 VCC
FLAG 2768 1200 0
FLAG 2624 1088 B
FLAG 4272 368 O2