* Z:\tmp\asc_dec_bjh7r6w2\1650d0ac70bb_24counter_flipflop_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
R27 Q4n B4 {Rp}
Q10 Q5n B5n 0 0 2N3904
Q9 Q4 B4 0 0 2N3904
C13 clk16 N003 200p
D14 B4n clk8 1N4148
C12 Q4n B4 {Cf}
Q11 Q5 B5 0 0 2N3904
R36 N005 N004 10k
D20 0 B5n 1N4148
R21 Q3n B3 {Rp}
R8 vcc Q2 {Rt}
R9 vcc Q2n {Rt}
D6 B2n clk2 1N4148
C7 clk4 N002 220p
D8 0 B2n 1N4148
R34 Q5n B5 {Rp}
R30 clk16 0 100k
R32 vcc Q5 {Rt}
R31 Q4n N003 10k
R12 vcc clk2 100k
D12 0 B3n 1N4148
D16 0 B4n 1N4148
R29 vcc clk16 100k
D9 B3 clk4 1N4148
D2 B1n clk1 1N4148
R35 B5n Q5 {Rp}
C11 B4n Q4 {Cf}
Q7 Q3 B3 0 0 2N3904
C1 B1n Q1 {Cf}
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3912 900
WIRE 112 64 112 48
WIRE 208 64 112 64
WIRE 288 64 272 64
WIRE 320 64 304 64
WIRE 480 64 384 64
WIRE 944 64 944 48
WIRE 1040 64 944 64
WIRE 1120 64 1104 64
WIRE 1152 64 1136 64
WIRE 1312 64 1312 48
WIRE 1312 64 1216 64
WIRE 1776 80 1776 64
WIRE 1872 80 1776 80
WIRE 1952 80 1936 80
WIRE 1984 80 1968 80
WIRE 2144 80 2144 64
WIRE 2144 80 2048 80
WIRE 2608 80 2608 64
WIRE 2704 80 2608 80
WIRE 2784 80 2768 80
WIRE 2816 80 2800 80
WIRE 2976 80 2976 64
WIRE 2976 80 2880 80
WIRE 3456 96 3456 80
WIRE 3552 96 3456 96
WIRE 3632 96 3616 96
WIRE 3664 96 3648 96
WIRE 3824 96 3824 80
WIRE 3824 96 3728 96
WIRE 480 112 480 64
WIRE 720 112 480 112
WIRE 1312 128 1312 64
WIRE 1552 128 1312 128
WIRE 2144 128 2144 80
WIRE 2384 128 2144 128
WIRE 112 144 112 64
WIRE 192 144 112 144
WIRE 208 144 192 144
WIRE 288 144 288 64
WIRE 304 144 304 64
WIRE 416 144 384 144
WIRE 480 144 480 112
WIRE 480 144 416 144
WIRE 944 144 944 64
WIRE 1024 144 944 144
WIRE 1040 144 1024 144
WIRE 1120 144 1120 64
WIRE 1136 144 1136 64
WIRE 1248 144 1216 144
WIRE 1312 144 1312 128
WIRE 1312 144 1248 144
WIRE 2976 144 2976 80
WIRE 3232 144 2976 144
WIRE 1776 160 1776 80
WIRE 1856 160 1776 160
WIRE 1872 160 1856 160
WIRE 1952 160 1952 80
WIRE 1968 160 1968 80
WIRE 2080 160 2048 160
WIRE 2144 160 2144 128
WIRE 2144 160 2080 160
WIRE 2608 160 2608 80
WIRE 2688 160 2608 160
WIRE 2704 160 2688 160
WIRE 2784 160 2784 80
WIRE 2800 160 2800 80
WIRE 2912 160 2880 160
WIRE 2976 160 2976 144
WIRE 2976 160 2912 160
WIRE 3456 176 3456 96
WIRE 3536 176 3456 176
WIRE 3552 176 3536 176
WIRE 3632 176 3632 96
WIRE 3648 176 3648 96
WIRE 3760 176 3728 176
WIRE 3824 176 3824 96
WIRE 3824 176 3760 176
WIRE 112 192 112 144
WIRE 480 192 480 144
WIRE 944 192 944 144
WIRE 1312 192 1312 144
WIRE 1776 208 1776 160
WIRE 2144 208 2144 160
WIRE 2608 208 2608 160
WIRE 2976 208 2976 160
WIRE 192 224 176 224
WIRE 240 224 192 224
WIRE 304 224 304 144
WIRE 304 224 240 224
WIRE 720 224 720 112
WIRE 1024 224 1008 224
WIRE 1072 224 1024 224
WIRE 1136 224 1136 144
WIRE 1136 224 1072 224
WIRE 3456 224 3456 176
WIRE 3824 224 3824 176
WIRE 176 240 176 224
WIRE 288 240 288 144
WIRE 352 240 288 240
WIRE 384 240 352 240
WIRE 416 240 384 240
WIRE 1008 240 1008 224
WIRE 1120 240 1120 144
WIRE 1184 240 1120 240
WIRE 1216 240 1184 240
WIRE 1248 240 1216 240
WIRE 1552 240 1552 128
WIRE 1856 240 1840 240
WIRE 1904 240 1856 240
WIRE 1968 240 1968 160
WIRE 1968 240 1904 240
WIRE 2688 240 2672 240
WIRE 2736 240 2688 240
WIRE 2800 240 2800 160
WIRE 2800 240 2736 240
WIRE 1840 256 1840 240
WIRE 1952 256 1952 160
WIRE 2016 256 1952 256
WIRE 2048 256 2016 256
WIRE 2080 256 2048 256
WIRE 2672 256 2672 240
WIRE 2784 256 2784 160
WIRE 2848 256 2784 256
WIRE 2880 256 2848 256
WIRE 2912 256 2880 256
WIRE 3232 256 3232 144
WIRE 3536 256 3520 256
WIRE 3584 256 3536 256
WIRE 3648 256 3648 176
WIRE 3648 256 3584 256
WIRE 3520 272 3520 256
WIRE 3632 272 3632 176
WIRE 3696 272 3632 272
WIRE 3728 272 3696 272
WIRE 3760 272 3728 272
WIRE 176 304 176 240
WIRE 352 304 352 240
WIRE 1008 304 1008 240
WIRE 1184 304 1184 240
WIRE 1840 320 1840 256
WIRE 2016 320 2016 256
WIRE 2672 320 2672 256
WIRE 2848 320 2848 256
WIRE 3520 336 3520 272
WIRE 3696 336 3696 272
WIRE 176 368 -384 368
WIRE 320 368 176 368
WIRE 352 368 320 368
WIRE 720 368 720 304
WIRE 816 368 784 368
WIRE 1008 368 816 368
WIRE 1152 368 1008 368
WIRE 1184 368 1152 368
WIRE 1552 384 1552 320
WIRE 1648 384 1616 384
WIRE 1840 384 1648 384
WIRE 1984 384 1840 384
WIRE 2016 384 1984 384
WIRE 2480 384 2448 384
WIRE 2672 384 2480 384
WIRE 2816 384 2672 384
WIRE 2848 384 2816 384
WIRE 3232 400 3232 336
WIRE 3328 400 3296 400
WIRE 3520 400 3328 400
WIRE 3664 400 3520 400
WIRE 3696 400 3664 400
WIRE 816 464 816 448
WIRE 1648 480 1648 464
WIRE 3328 496 3328 480
WIRE 864 688 832 688
WIRE 960 688 944 688
WIRE 976 688 960 688
WIRE 832 720 832 688
SYMBOL res 2896 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R27
SYMATTR Value {Rp}
SYMBOL npn 3760 224 R0
SYMATTR InstName Q10
SYMATTR Value 2N3904
SYMBOL npn 2672 208 M0
SYMATTR InstName Q9
SYMATTR Value 2N3904
SYMBOL cap 3296 384 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C13
SYMATTR Value 200p
SYMBOL diode 2832 320 R0
SYMATTR InstName D14
SYMATTR Value 1N4148
SYMBOL cap 2880 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C12
SYMATTR Value {Cf}
SYMBOL npn 3520 224 M0
SYMATTR InstName Q11
SYMATTR Value 2N3904
SYMBOL res 960 672 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R36
SYMATTR Value 10k
SYMBOL diode 3648 336 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D20
SYMATTR Value 1N4148
SYMBOL res 2064 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R21
SYMATTR Value {Rp}
SYMBOL res 928 -48 R0
SYMATTR InstName R8
SYMATTR Value {Rt}
SYMBOL res 1296 -48 R0
SYMATTR InstName R9
SYMATTR Value {Rt}
SYMBOL diode 1168 304 R0
SYMATTR InstName D6
SYMATTR Value 1N4148
SYMBOL cap 1616 368 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C7
SYMATTR Value 220p
SYMBOL diode 1136 304 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D8
SYMATTR Value 1N4148
SYMBOL res 3744 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R34
SYMATTR Value {Rp}
SYMBOL res 3312 384 R0
SYMATTR InstName R30
SYMATTR Value 100k
SYMBOL res 3440 -16 R0
SYMATTR InstName R32
SYMATTR Value {Rt}
SYMBOL res 3216 240 R0
SYMATTR InstName R31
SYMATTR Value 10k
SYMBOL res 800 272 R0
SYMATTR InstName R12
SYMATTR Value 100k
SYMBOL diode 1968 320 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D12
SYMATTR Value 1N4148
SYMBOL diode 2800 320 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D16
SYMATTR Value 1N4148
SYMBOL res 3312 304 R0
SYMATTR InstName R29
SYMATTR Value 100k
SYMBOL diode 1824 320 R0
SYMATTR InstName D9
SYMATTR Value 1N4148
SYMBOL diode 336 304 R0
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL res 3648 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R35
SYMATTR Value {Rp}
SYMBOL cap 2768 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C11
SYMATTR Value {Cf}
SYMBOL npn 1840 208 M0
SYMATTR InstName Q7
SYMATTR Value 2N3904
SYMBOL cap 272 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value {Cf}
FLAG 112 -32 vcc
FLAG 480 288 0
FLAG 192 144 Q1
FLAG 416 144 Q1n
FLAG 192 224 B1
FLAG 384 240 B1n
FLAG 320 368 clk1
FLAG 288 304 0
FLAG 240 288 0
FLAG 816 288 vcc
FLAG 816 464 0
FLAG 944 -32 vcc
FLAG 1312 -32 vcc
FLAG 944 288 0
FLAG 1312 288 0
FLAG 1024 144 Q2
FLAG 1248 144 Q2n
FLAG 1024 224 B2
FLAG 1216 240 B2n
FLAG 1152 368 clk2
FLAG 1120 304 0
FLAG 1072 288 0
FLAG 1648 304 vcc
FLAG 1648 480 0
FLAG 2144 -16 vcc
FLAG 1776 304 0
FLAG 2144 304 0
FLAG 1856 160 Q3
FLAG 2080 160 Q3n
FLAG 1856 240 B3
FLAG 2048 256 B3n
FLAG 1984 384 clk4
FLAG 1952 320 0
FLAG 1904 304 0
FLAG 2480 304 vcc
FLAG 2608 -16 vcc
FLAG 2976 -16 vcc
FLAG 2608 304 0
FLAG 2976 304 0
FLAG 2688 160 Q4
FLAG 2912 160 Q4n
FLAG 2688 240 B4
FLAG 2880 256 B4n
FLAG 2816 384 clk8
FLAG 2784 320 0
FLAG 2736 304 0
FLAG 3328 320 vcc
FLAG 3328 496 0
FLAG 3456 0 vcc
FLAG 3824 0 vcc
FLAG 3456 320 0
FLAG 3824 320 0
FLAG 3536 176 Q5
FLAG 3760 176 Q5n
FLAG 3536 256 B5
FLAG 3728 272 B5n
FLAG 3664 400 clk16
FLAG 3632 336 0
FLAG 3584 320 0
FLAG 832 800 0
FLAG 960 752 0