* Z:\tmp\asc_dec_bjh7r6w2\03a1398296db_Latch-JK_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
V4 N007 0 5v
M20 N016 N017 NC_01 0 NMOS l=0.6u w=3u
M15 N005 N008 N012 0 NMOS l=0.6u w=3u
V2 N019 0 5v
M26 N032 N033 0 0 NMOS l=0.6u w=3u
M17 N007 Q_BAR N014 Vdd_45 PMOS l=0.6u w=6u
M3 N006 N009 N013 0 NMOS l=0.6u w=3u
M25 N029 N031 N032 0 NMOS l=0.6u w=3u
VK_2 K2 0 PULSE(0 1 0 0 0 30n 60n)
M5 N019 Q N022 Vdd4 PMOS l=0.6u w=6u
M27 N025 N026 and_K N025 PMOS l=0.6u w=6u
M22 and_J N014 N018 N015 NMOS l=0.6u w=3u
A6 0 K2 0 N021 0 0 N020 0 AND
M7 N022 Q N024 0 NMOS l=0.6u w=3u
V5 N001 0 5v
V11 N025 N034 5v
.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 3092 2708
WIRE 240 -672 16 -672
WIRE 240 -624 240 -672
WIRE 240 -608 240 -624
WIRE 240 -496 240 -544
WIRE 144 -464 16 -464
WIRE 144 -384 144 -464
WIRE -160 -304 -240 -304
WIRE 1664 -304 1584 -304
WIRE -112 -224 -112 -288
WIRE 16 -224 -112 -224
WIRE 144 -224 144 -288
WIRE 144 -224 16 -224
WIRE 1712 -224 1712 -288
WIRE 1840 -224 1712 -224
WIRE 1968 -224 1968 -288
WIRE 1968 -224 1840 -224
WIRE -1520 -176 -1520 -208
WIRE -1120 -176 -1520 -176
WIRE 16 -176 16 -224
WIRE 160 -176 16 -176
WIRE 1840 -176 1840 -224
WIRE 1968 -176 1840 -176
WIRE 16 -144 16 -176
WIRE 1840 -144 1840 -176
WIRE -1120 -128 -1120 -176
WIRE -1120 -112 -1120 -128
WIRE -1520 -80 -1520 -176
WIRE -1520 -80 -1648 -80
WIRE -1392 -80 -1520 -80
WIRE -32 -64 -240 -64
WIRE 1792 -64 1584 -64
WIRE -864 -48 -864 -160
WIRE -1648 0 -1648 -80
WIRE -1120 0 -1120 -48
WIRE -768 0 -768 -160
WIRE -768 0 -864 0
WIRE 16 0 16 -48
WIRE 1840 0 1840 -48
WIRE 2000 0 1968 -176
WIRE -960 32 -1200 32
WIRE -912 32 -960 32
WIRE -1776 80 -1776 48
WIRE -1776 80 -2384 80
WIRE -1696 80 -1776 80
WIRE -1264 80 -1264 32
WIRE -864 80 -864 48
WIRE -800 80 -864 80
WIRE -400 80 -800 80
WIRE -864 128 -864 80
WIRE -1648 160 -1648 96
WIRE -1520 160 -1648 160
WIRE -1392 160 -1520 160
WIRE -768 176 -864 176
WIRE -960 208 -960 32
WIRE -912 208 -960 208
WIRE 160 208 160 -176
WIRE -1520 224 -1520 160
WIRE -1200 224 -1200 32
WIRE -1200 224 -1520 224
WIRE -1520 240 -1520 224
WIRE -1776 320 -1776 80
WIRE -1568 320 -1776 320
WIRE -1520 384 -1520 336
WIRE -1264 464 -1472 464
WIRE -864 480 -864 224
WIRE -768 480 -768 176
WIRE 1840 480 1840 448
WIRE 2240 480 1840 480
WIRE 2240 528 2240 480
WIRE 2240 544 2240 528
WIRE 1840 576 1840 480
WIRE 1840 576 1712 576
WIRE 1968 576 1840 576
WIRE 1712 656 1712 576
WIRE 2240 656 2240 608
WIRE 1584 736 1584 704
WIRE 1584 736 1424 736
WIRE 1664 736 1584 736
WIRE 2096 736 2096 704
WIRE -6144 784 -6368 784
WIRE -5856 784 -6080 784
WIRE -6144 816 -6800 816
WIRE 1712 816 1712 752
WIRE 1840 816 1712 816
WIRE 1968 816 1968 752
WIRE 1968 816 1840 816
WIRE -6368 864 -6368 784
WIRE 1840 864 1840 816
WIRE 1984 864 1840 864
WIRE 1840 896 1840 864
WIRE -6240 912 -6240 320
WIRE -4928 912 -6240 912
WIRE -6368 976 -6368 944
WIRE 1584 976 1584 736
WIRE 1792 976 1584 976
WIRE 1840 1040 1840 992
WIRE 1984 1040 1984 864
WIRE 2672 1040 1984 1040
WIRE -768 1776 -864 1776
WIRE -656 1776 -768 1776
WIRE -864 1888 -864 1776
WIRE -768 1936 -768 1776
WIRE -768 1936 -864 1936
WIRE -960 1968 -1200 1968
WIRE -912 1968 -960 1968
WIRE -1696 2016 -1776 2016
WIRE -1088 2016 -1264 2016
WIRE -864 2016 -864 1984
WIRE -800 2016 -864 2016
WIRE -400 2016 -800 2016
WIRE -864 2064 -864 2016
WIRE -1648 2096 -1648 2032
WIRE -1520 2096 -1648 2096
WIRE -1392 2096 -1392 2032
WIRE -1392 2096 -1520 2096
WIRE -1088 2112 -1088 2016
WIRE -768 2112 -864 2112
WIRE -960 2144 -960 1968
WIRE -1520 2160 -1520 2096
WIRE -1200 2160 -1520 2160
WIRE -1520 2176 -1520 2160
WIRE -656 2224 -656 1776
WIRE -1568 2256 -1776 2256
WIRE -1520 2320 -1520 2272
WIRE -1264 2400 -1472 2400
WIRE -768 2416 -768 2112
WIRE -656 2416 -656 2304
WIRE -1520 2480 -1520 2416
SYMBOL voltage -1120 -144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 5v
SYMBOL nmos4 -1472 384 M0
WINDOW 0 54 10 Left 2
WINDOW 3 56 81 Left 2
SYMATTR InstName M20
SYMATTR Value2 l=0.6u w=3u
SYMBOL nmos4 -32 -144 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 2240 512 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5v
SYMBOL nmos4 -1472 2320 M0
WINDOW 0 54 10 Left 2
WINDOW 3 56 81 Left 2
SYMATTR InstName M26
SYMATTR Value2 l=0.6u w=3u
SYMBOL pmos4 -1696 0 R0
WINDOW 0 53 12 Left 2
WINDOW 3 52 83 Left 2
SYMATTR InstName M17
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 1792 -144 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 -1568 2176 R0
WINDOW 0 60 11 Left 2
WINDOW 3 56 78 Left 2
SYMATTR InstName M25
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage -6368 848 R0
WINDOW 3 -360 52 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VK_2
SYMATTR Value PULSE(0 1 0 0 0 30n 60n)
SYMBOL pmos4 1664 656 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 -912 1888 R0
SYMATTR InstName M27
SYMATTR Value2 l=0.6u w=6u
SYMBOL nmos4 -912 128 R0
SYMATTR InstName M22
SYMATTR Value2 l=0.6u w=3u
SYMBOL Digital\\and -6112 736 R0
SYMATTR InstName A6
SYMBOL nmos4 1792 896 R0
WINDOW 0 60 11 Left 2
WINDOW 3 56 78 Left 2
SYMATTR InstName M7
SYMATTR Value2 l=0.6u w=3u
SYMBOL voltage 240 -640 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 5v
SYMBOL voltage -656 2208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V11
SYMATTR Value 5v
FLAG 1712 -336 Vdd
FLAG 1968 -336 Vdd
FLAG 1840 -96 0
FLAG 1840 48 0
FLAG 1712 704 Vdd4
FLAG 1968 704 Vdd4
FLAG 1584 704 Q
FLAG 2096 704 R_NAND
FLAG 2240 656 0
FLAG 1840 944 0
FLAG 1840 1088 0
FLAG -112 -336 Vdd2
FLAG 144 -336 Vdd2
FLAG 240 -496 0
FLAG 16 -96 0
FLAG 16 48 0
FLAG -6368 976 0
FLAG -6368 784 K2
FLAG -1648 48 Vdd_45
FLAG -1776 48 Q_BAR
FLAG -1264 32 J
FLAG -1120 0 0
FLAG -1520 288 0
FLAG -1520 432 0
FLAG -800 80 and_J
FLAG -1520 2480 0
FLAG -1648 1984 Vdd65
FLAG -1392 1984 Vdd65
FLAG -1520 2224 0
FLAG -1520 2368 0
FLAG -800 2016 and_K