* Z:\tmp\asc_dec_bjh7r6w2\0759580bf280_Latch-D_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
M6 N014 R_NAND N019 Vdd4 PMOS l=0.6u w=6u
M12 N024 N025 0 0 NMOS l=0.6u w=3u
M8 N022 R_NAND 0 0 NMOS l=0.6u w=3u
M15 N003 N005 N007 0 NMOS l=0.6u w=3u
V4 N021 0 5v
M3 N004 N006 N008 0 NMOS l=0.6u w=3u
M18 inv_D D N017 N011 NMOS l=0.6u w=3u
VD D 0 PULSE(0 5 0 0 0 20n 40n)
A1 0 R_2 0 N012 0 N013 0 0 AND
V5 N016 N018 5v
V2 N014 0 5v
M9 N021 CLK N023 Vdd3 PMOS l=0.6u w=6u
.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 4144 1592
WIRE -1936 -608 -2016 -608
WIRE -112 -608 -192 -608
WIRE -1888 -528 -1888 -592
WIRE -1760 -528 -1888 -528
WIRE -1632 -528 -1632 -592
WIRE -1632 -528 -1760 -528
WIRE -64 -528 -64 -592
WIRE 64 -528 -64 -528
WIRE 192 -528 192 -592
WIRE 192 -528 64 -528
WIRE -1760 -480 -1760 -528
WIRE -1616 -480 -1760 -480
WIRE 64 -480 64 -528
WIRE 192 -480 64 -480
WIRE -1760 -448 -1760 -480
WIRE 64 -448 64 -480
WIRE -1808 -368 -2016 -368
WIRE 16 -368 -192 -368
WIRE -1760 -304 -1760 -352
WIRE 64 -304 64 -352
WIRE 224 -304 192 -480
WIRE -2848 -112 -2848 -224
WIRE -1616 -96 -1616 -480
WIRE -2752 -64 -2752 -224
WIRE -2752 -64 -2848 -64
WIRE -2896 -32 -2944 -32
WIRE -4608 16 -5056 16
WIRE -2848 16 -2848 -16
WIRE -2784 16 -2848 16
WIRE -2416 16 -2784 16
WIRE -2944 32 -2944 -32
WIRE -2944 32 -3072 32
WIRE -2848 64 -2848 16
WIRE -2752 112 -2848 112
WIRE -4608 144 -4608 16
WIRE -4480 144 -4608 144
WIRE -2944 144 -2944 32
WIRE -2896 144 -2944 144
WIRE -4480 176 -4608 176
WIRE -4240 176 -4416 176
WIRE 64 176 64 144
WIRE 464 176 64 176
WIRE -4240 192 -4336 192
WIRE -4640 208 -4720 208
WIRE -2640 224 -2640 -224
WIRE 464 224 464 176
WIRE -4640 240 -4640 208
WIRE -4608 240 -4608 176
WIRE -4608 240 -4640 240
WIRE 464 240 464 224
WIRE 64 272 64 176
WIRE 64 272 -64 272
WIRE 192 272 64 272
WIRE -4608 320 -4608 240
WIRE 192 352 192 272
WIRE 464 352 464 304
WIRE -4000 368 -4336 192
WIRE -2848 416 -2848 160
WIRE -2752 416 -2752 112
WIRE -2640 416 -2640 304
WIRE 320 432 320 400
WIRE 320 432 240 432
WIRE 464 432 320 432
WIRE 64 512 -64 512
WIRE 192 512 192 448
WIRE 192 512 64 512
WIRE 64 560 64 512
WIRE 208 560 64 560
WIRE 64 592 64 560
WIRE 16 672 -192 672
WIRE -1680 720 -1680 688
WIRE -1280 720 -1680 720
WIRE -3072 736 -3072 32
WIRE -2416 736 -3072 736
WIRE 64 736 64 688
WIRE 208 736 208 560
WIRE 896 736 208 736
WIRE -1280 768 -1280 720
WIRE -1280 784 -1280 768
WIRE -1680 816 -1680 720
WIRE -1680 816 -1808 816
WIRE -1552 816 -1680 816
WIRE 320 816 320 432
WIRE 320 816 112 816
WIRE -3072 848 -3072 736
WIRE -1808 896 -1808 816
WIRE -1280 896 -1280 848
WIRE 64 896 64 832
WIRE -3072 976 -3072 928
WIRE -1936 976 -1936 944
WIRE -1936 976 -2096 976
WIRE -1856 976 -1936 976
WIRE -1424 976 -1424 944
WIRE -1808 1056 -1808 992
WIRE -1680 1056 -1808 1056
WIRE -1552 1056 -1680 1056
WIRE -1680 1104 -1680 1056
WIRE -1520 1104 -1680 1104
WIRE -1680 1136 -1680 1104
WIRE -1936 1216 -1936 976
WIRE -1728 1216 -1936 1216
WIRE -1680 1280 -1680 1232
WIRE -1424 1360 -1632 1360
WIRE -1680 1440 -1680 1376
WIRE -1520 1456 -1520 1104
WIRE -1104 1456 -1520 1456
SYMBOL pmos4 240 352 M0
WINDOW 0 53 9 Left 2
WINDOW 3 55 83 Left 2
SYMATTR InstName M6
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 -1632 1280 M0
WINDOW 0 54 10 Left 2
WINDOW 3 56 81 Left 2
SYMATTR InstName M12
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 112 736 M0
WINDOW 0 54 10 Left 2
WINDOW 3 56 81 Left 2
SYMATTR InstName M8
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 -1808 -448 R0
WINDOW 0 60 11 Left 2
WINDOW 3 56 78 Left 2
SYMATTR InstName M15
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage -1280 752 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 5v
SYMBOL nmos4 16 -448 R0
WINDOW 0 60 11 Left 2
WINDOW 3 56 78 Left 2
SYMATTR InstName M3
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 -2896 64 R0
SYMATTR InstName M18
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage -3072 832 R0
WINDOW 3 -71 63 Right 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 5 0 0 0 20n 40n)
SYMATTR InstName VD
SYMBOL Digital\\and -4448 96 R0
SYMATTR InstName A1
SYMBOL voltage -2640 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 5v
SYMBOL voltage 464 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5v
SYMBOL pmos4 -1856 896 R0
WINDOW 0 53 12 Left 2
WINDOW 3 52 83 Left 2
SYMATTR InstName M9
SYMATTR Value2 l=0.6u w=6u
FLAG -64 -640 Vdd
FLAG 192 -640 Vdd
FLAG 64 -400 0
FLAG 64 -256 0
FLAG 64 896 0
FLAG 192 400 Vdd4
FLAG 320 400 R_NAND
FLAG 464 352 0
FLAG 64 640 0
FLAG 64 784 0
FLAG -1680 1440 0
FLAG -1808 944 Vdd3
FLAG -1936 944 CLK
FLAG -1424 944 S
FLAG -1280 896 0
FLAG -1680 1184 0
FLAG -1680 1328 0
FLAG -3072 976 0
FLAG -1888 -640 Vdd2
FLAG -1632 -640 Vdd2
FLAG -1760 -400 0
FLAG -1760 -256 0
FLAG -4608 16 R_2
FLAG -2784 16 inv_D
FLAG -3072 736 D