* Z:\tmp\asc_dec_bjh7r6w2\0759580bf280_Latch-D_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
A3 0 0 N008 N010 0 N011 0 0 AND td=1n
M16 N005 R 0 0 NMOS l=0.6u w=3u
M4 N006 N007 0 0 NMOS l=0.6u w=3u
M5 N009 Q N013 Vdd4 PMOS l=0.6u w=6u
M13 N001 CLK N003 Vdd2 PMOS l=0.6u w=6u
VD_2 D_2 0 PULSE(0 1 0 0 0 20n 40n)
A4 0 N011 N012 0 0 N010 0 0 AND td=1n
M1 N002 S_NAND N004 Vdd PMOS l=0.6u w=6u
M14 N001 R N003 Vdd2 PMOS l=0.6u w=6u
M7 N013 Q N014 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 -1760 -864 -1760 -896
WIRE -1360 -864 -1760 -864
WIRE 64 -864 64 -896
WIRE 464 -864 64 -864
WIRE -1760 -768 -1760 -864
WIRE -1760 -768 -1888 -768
WIRE -1632 -768 -1760 -768
WIRE 64 -768 64 -864
WIRE 64 -768 -64 -768
WIRE 192 -768 64 -768
WIRE -1888 -688 -1888 -768
WIRE -1632 -688 -1632 -768
WIRE -64 -688 -64 -768
WIRE -2016 -608 -2016 -640
WIRE -2016 -608 -2096 -608
WIRE -1936 -608 -2016 -608
WIRE -1504 -608 -1504 -640
WIRE -1504 -608 -1584 -608
WIRE -1360 -608 -1504 -608
WIRE -192 -608 -192 -640
WIRE -192 -608 -320 -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 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 -2016 -368 -2016 -608
WIRE -1808 -368 -2016 -368
WIRE -192 -368 -192 -608
WIRE 16 -368 -192 -368
WIRE -1760 -304 -1760 -352
WIRE 64 -304 64 -352
WIRE 224 -304 192 -480
WIRE 896 -304 224 -304
WIRE -1504 -224 -1504 -608
WIRE -1504 -224 -1712 -224
WIRE 320 -224 112 -224
WIRE -1760 -144 -1760 -208
WIRE 64 -144 64 -208
WIRE -1616 -96 -1616 -480
WIRE -4240 176 -4416 176
WIRE 64 176 64 144
WIRE 464 176 64 176
WIRE -4240 192 -4336 192
WIRE -4000 192 -4176 192
WIRE -2096 224 -2096 -608
WIRE 64 272 64 176
WIRE 64 272 -64 272
WIRE 192 272 64 272
WIRE -4336 336 -4000 192
WIRE -4240 336 -4336 336
WIRE -4240 352 -4416 352
WIRE -64 352 -64 272
WIRE -4000 368 -4336 192
WIRE -4000 368 -4176 368
WIRE -5216 400 -5216 16
WIRE -5216 400 -5408 400
WIRE -4608 400 -5216 400
WIRE -192 432 -192 400
WIRE -192 432 -352 432
WIRE -112 432 -192 432
WIRE -5408 480 -5408 400
WIRE -64 512 -64 448
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 -5408 592 -5408 560
WIRE 64 592 64 560
WIRE -192 672 -192 432
WIRE 16 672 -192 672
WIRE 64 736 64 688
WIRE 208 736 208 560
WIRE 896 736 208 736
SYMBOL Digital\\and -4208 112 R0
WINDOW 3 56 58 Left 2
SYMATTR Value td=1n
SYMATTR InstName A3
SYMBOL nmos4 -1712 -304 M0
WINDOW 0 54 10 Left 2
WINDOW 3 56 81 Left 2
SYMATTR InstName M16
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 112 -304 M0
WINDOW 0 54 10 Left 2
WINDOW 3 56 81 Left 2
SYMATTR InstName M4
SYMATTR Value2 l=0.6u w=3u
SYMBOL pmos4 -112 352 R0
WINDOW 0 53 12 Left 2
WINDOW 3 52 83 Left 2
SYMATTR InstName M5
SYMATTR Value2 l=0.6u w=6u
SYMBOL pmos4 -1936 -688 R0
WINDOW 0 53 12 Left 2
WINDOW 3 52 83 Left 2
SYMATTR InstName M13
SYMATTR Value2 l=0.6u w=6u
SYMBOL voltage -5408 464 R0
WINDOW 3 -383 48 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 1 0 0 0 20n 40n)
SYMATTR InstName VD_2
SYMBOL Digital\\and -4208 288 R0
WINDOW 3 49 105 Left 2
SYMATTR Value td=1n
SYMATTR InstName A4
SYMBOL pmos4 -112 -688 R0
WINDOW 0 53 12 Left 2
WINDOW 3 52 83 Left 2
SYMATTR InstName M1
SYMATTR Value2 l=0.6u w=6u
SYMBOL pmos4 -1584 -688 M0
WINDOW 0 53 9 Left 2
WINDOW 3 55 83 Left 2
SYMATTR InstName M14
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 16 592 R0
WINDOW 0 60 11 Left 2
WINDOW 3 56 78 Left 2
SYMATTR InstName M7
SYMATTR Value2 l=0.6u w=3u
FLAG 64 -144 0
FLAG -64 -640 Vdd
FLAG -192 -640 S_NAND
FLAG 64 -400 0
FLAG 64 -256 0
FLAG -64 400 Vdd4
FLAG 192 400 Vdd4
FLAG -192 400 Q
FLAG 64 640 0
FLAG 64 784 0
FLAG -1760 -144 0
FLAG -1888 -640 Vdd2
FLAG -1632 -640 Vdd2
FLAG -2016 -640 CLK
FLAG -1504 -640 R
FLAG -1760 -400 0
FLAG -1760 -256 0
FLAG -5408 592 0
FLAG -5408 400 D_2