* Z:\tmp\asc_dec_bjh7r6w2\1650d0ac70bb_24counter_flipflop_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R10 Q2n B2 {Rp}
R28 B4n Q4 {Rp}
Q5 Q2 B2 0 0 2N3904
C2 Q1n B1 {Cf}
D19 0 B5 1N4148
V1 vcc 0 12
D17 B5 clk16 1N4148
C4 B2n Q2 {Cf}
R13 clk2 0 100k
D15 0 B4 1N4148
Q8 Q4n B4n 0 0 2N3904
R17 N005 0 100k
R11 B2n Q2 {Rp}
C3 clk1 N002 1n
Q3 B1n P001 0 0 2N3904
D13 B4 clk8 1N4148
R3 Q1n B1 {Rp}
D3 B2 clk2 1N4148
R33 vcc Q5n {Rt}
Q1 Q1n B1n 0 0 2N3904
Q2 Q1 B1 0 0 2N3904
R5 P001 N006 10k
R4 B1n Q1 {Rp}
C8 B3n Q3 {Cf}
V3 N006 0 PULSE(0 12 1m 10u 10u 1m)
R1 vcc Q1 {Rt}
V2 N002 0 PULSE(12 0 5m 1u 1u 50u 5m)
R2 vcc Q1n {Rt}
D5 0 B1n 1N4148
.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 480 48
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 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 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 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 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 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 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 -480 368 -592 368
WIRE -384 368 -416 368
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 2480 384 2448 384
WIRE 2672 384 2480 384
WIRE 2816 384 2672 384
WIRE 2848 384 2816 384
WIRE 3328 400 3296 400
WIRE 3520 400 3328 400
WIRE 3664 400 3520 400
WIRE 3696 400 3664 400
WIRE -384 464 -384 448
WIRE 816 464 816 448
WIRE 1648 480 1648 464
WIRE 2480 480 2480 464
WIRE 3328 496 3328 480
WIRE 400 752 400 736
WIRE 256 800 192 800
SYMBOL res 1232 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value {Rp}
SYMBOL res 2800 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R28
SYMATTR Value {Rp}
SYMBOL npn 1008 192 M0
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL cap 384 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value {Cf}
SYMBOL diode 3600 320 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D19
SYMATTR Value 1N4148
SYMBOL voltage -608 16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL diode 3504 336 R0
SYMATTR InstName D17
SYMATTR Value 1N4148
SYMBOL cap 1104 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value {Cf}
SYMBOL res 800 352 R0
SYMATTR InstName R13
SYMATTR Value 100k
SYMBOL diode 2752 304 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D15
SYMATTR Value 1N4148
SYMBOL npn 2912 208 R0
SYMATTR InstName Q8
SYMATTR Value 2N3904
SYMBOL res 1632 368 R0
SYMATTR InstName R17
SYMATTR Value 100k
SYMBOL res 1136 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R11
SYMATTR Value {Rp}
SYMBOL cap -416 352 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 1n
SYMBOL npn 336 752 R0
SYMATTR InstName Q3
SYMATTR Value 2N3904
SYMBOL diode 2656 320 R0
SYMATTR InstName D13
SYMATTR Value 1N4148
SYMBOL res 400 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value {Rp}
SYMBOL diode 992 304 R0
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res 3808 -16 R0
SYMATTR InstName R33
SYMATTR Value {Rt}
SYMBOL npn 416 192 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 176 192 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res 352 784 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL res 304 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value {Rp}
SYMBOL cap 1936 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C8
SYMATTR Value {Cf}
SYMBOL voltage 192 784 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(0 12 1m 10u 10u 1m)
SYMBOL res 96 -48 R0
SYMATTR InstName R1
SYMATTR Value {Rt}
SYMBOL voltage -592 352 R0
WINDOW 3 -417 51 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(12 0 5m 1u 1u 50u 5m)
SYMBOL res 464 -48 R0
SYMATTR InstName R2
SYMATTR Value {Rt}
SYMBOL diode 304 304 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D5
SYMATTR Value 1N4148
FLAG -608 112 0
FLAG -608 32 vcc
FLAG 112 -32 vcc
FLAG 480 -32 vcc
FLAG 112 288 0
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 400 848 0
FLAG 192 880 0
FLAG -592 448 0
FLAG 288 304 0
FLAG 240 288 0
FLAG -384 288 vcc
FLAG -384 464 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 1776 -16 vcc
FLAG 1776 304 0
FLAG 1856 160 Q3
FLAG 2080 160 Q3n
FLAG 1856 240 B3
FLAG 2048 256 B3n
FLAG 2480 304 vcc
FLAG 2480 480 0
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 3824 0 vcc
FLAG 3456 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 400 736 B1n