* Z:\tmp\asc_dec_bjh7r6w2\0759580bf280_Latch-D_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
V3 CLK_2 0 PULSE(0 1 0 0 0 10n 20n)
M2 N002 Q_BAR N003 Vdd PMOS l=0.6u w=6u
VCLOCK N008 0 PULSE(0 1 10n 0 0 10n 20n)
V1 N002 0 5v
A2 0 CLK_2 0 S_2 0 N010 0 0 AND
M10 N011 S N013 Vdd3 PMOS l=0.6u w=6u
M17 N004 N005 inv_D N004 PMOS l=0.6u w=6u
A5 S_2 0 0 0 0 R_2 0 0 BUF
V7 N001 0 5v
M11 N013 N014 N015 0 NMOS l=0.6u w=3u
.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 -1360 -864 -1760 -864
WIRE 64 -864 64 -896
WIRE 464 -864 64 -864
WIRE -1360 -816 -1360 -864
WIRE 464 -816 464 -864
WIRE -1360 -800 -1360 -816
WIRE 464 -800 464 -816
WIRE 64 -768 64 -864
WIRE 64 -768 -64 -768
WIRE 192 -768 64 -768
WIRE -1360 -688 -1360 -736
WIRE 192 -688 192 -768
WIRE 464 -688 464 -736
WIRE -1504 -608 -1504 -640
WIRE 320 -608 320 -640
WIRE 320 -608 240 -608
WIRE 1184 -608 320 -608
WIRE 64 -528 -64 -528
WIRE 192 -528 192 -592
WIRE 192 -528 64 -528
WIRE 64 -480 64 -528
WIRE -2752 -224 -2848 -224
WIRE -2640 -224 -2752 -224
WIRE 320 -224 320 -608
WIRE -2848 -112 -2848 -224
WIRE -2752 -64 -2752 -224
WIRE -2752 -64 -2848 -64
WIRE -2896 -32 -2944 -32
WIRE -5120 16 -5216 16
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 -4608 144 -4608 16
WIRE -4480 144 -4608 144
WIRE -2944 144 -2944 32
WIRE -4480 176 -4608 176
WIRE -4240 176 -4416 176
WIRE -4240 192 -4336 192
WIRE -4720 208 -4720 192
WIRE -4640 208 -4720 208
WIRE -4720 224 -4720 208
WIRE -1888 224 -2096 224
WIRE -4640 240 -4640 208
WIRE -4608 240 -4608 176
WIRE -4608 240 -4640 240
WIRE -1888 304 -1888 224
WIRE -4720 320 -4720 304
WIRE -4608 320 -4608 240
WIRE -4480 320 -4608 320
WIRE -1888 320 -1888 304
WIRE -4336 336 -4000 192
WIRE -4240 336 -4336 336
WIRE -4480 352 -4608 352
WIRE -4240 352 -4416 352
WIRE -4000 368 -4336 192
WIRE -5216 400 -5216 16
WIRE -4608 400 -4608 352
WIRE -4608 400 -5216 400
WIRE -1888 448 -1888 384
WIRE -1680 720 -1680 688
WIRE -1280 720 -1680 720
WIRE -3072 736 -3072 32
WIRE -1680 816 -1680 720
WIRE -1680 816 -1808 816
WIRE -1552 816 -1680 816
WIRE -1552 896 -1552 816
WIRE -1856 976 -1936 976
WIRE -1424 976 -1424 944
WIRE -1424 976 -1504 976
WIRE -1280 976 -1424 976
WIRE -1808 1056 -1808 992
WIRE -1680 1056 -1808 1056
WIRE -1552 1056 -1552 992
WIRE -1552 1056 -1680 1056
WIRE -1680 1104 -1680 1056
WIRE -1520 1104 -1680 1104
WIRE -1680 1136 -1680 1104
WIRE -1728 1216 -1936 1216
WIRE -1680 1280 -1680 1232
WIRE -1424 1360 -1424 976
SYMBOL voltage -4720 208 R0
WINDOW 3 -384 57 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 1 0 0 0 10n 20n)
SYMATTR InstName V3
SYMBOL pmos4 240 -688 M0
WINDOW 0 53 9 Left 2
WINDOW 3 55 83 Left 2
SYMATTR InstName M2
SYMATTR Value2 l=0.6u w=6u
SYMBOL voltage -1888 288 M0
WINDOW 3 -361 53 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 1 10n 0 0 10n 20n)
SYMATTR InstName CLOCK
SYMBOL voltage 464 -832 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5v
SYMBOL Digital\\and -4448 272 R0
SYMATTR InstName A2
SYMBOL pmos4 -1504 896 M0
WINDOW 0 53 9 Left 2
WINDOW 3 55 83 Left 2
SYMATTR InstName M10
SYMATTR Value2 l=0.6u w=6u
SYMBOL pmos4 -2896 -112 R0
SYMATTR InstName M17
SYMATTR Value2 l=0.6u w=6u
SYMBOL Digital\\inv -5120 -48 R0
SYMATTR InstName A5
SYMBOL voltage -1360 -832 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V7
SYMATTR Value 5v
SYMBOL nmos4 -1728 1136 R0
WINDOW 0 60 11 Left 2
WINDOW 3 56 78 Left 2
SYMATTR InstName M11
SYMATTR Value2 l=0.6u w=3u
FLAG 192 -640 Vdd
FLAG 320 -640 Q_BAR
FLAG 464 -688 0
FLAG -1808 944 Vdd3
FLAG -1552 944 Vdd3
FLAG -1424 944 S
FLAG -1680 1184 0
FLAG -1680 1328 0
FLAG -1888 448 0
FLAG -1504 -640 R
FLAG -1360 -688 0
FLAG -4720 320 0
FLAG -4720 192 CLK_2
FLAG -4608 16 R_2
FLAG -4608 400 S_2
FLAG -2784 16 inv_D