* Z:\tmp\asc_dec_bjh7r6w2\0049f7ce53fc_delay_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
Q8 N061 N064 N066 0 2N3904
R31 N062 N061 100
Q7 N012 N011 N010 0 2N3906
R44 NC_01 N029 100
R2 N004 N018 500
C6 N002 N007 50p
Q30 OUT_simple N020 V_REF2 0 2N3904
Q18 N041 N037 N034 0 2N3906
D11 N020 OUT_simple BAT54
Q6 N031 N032 N039 0 2N3904
R60 N046 N052 100
R57 N037 N036 1
Q5 N026 N016 N011 0 2N3906
C2 OUT N008 50p
Q1 N018 N016 N024 0 2N3904
Q28 N067 N059 N058 0 2N3906
Q33 N001 N003 N006 0 2N3904
R25 VCC N055 0.01
R14 N034 N044 500
R10 N031 N038 520
R34 N013 N020 500
R23 N055 N056 220
R43 N025 N028 250
R4 N004 N011 500
Q13 N049 N033 N032 0 2N3906
R5 N004 N010 100
R59 N052 N054 100
D9 N065 OUTd1 BAT54
R3 VCC N004 0.01
R29 N057 N058 220
Q11 N051 N042 N038 0 2N3906
R1 N024 N027 500
V_BIT0 IN 0 PULSE(0 {VCC} 0 {rise} {rise} {1/freq/2-rise} {1/freq}) AC 5
R32 N026 N027 500
R49 N014 N023 10k
R53 N015 N017 500
R7 VCC N034 0.01
R13 N039 N043 220
.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.1
SHEET 1 14868 10612
WIRE 5280 -48 5280 -128
WIRE 5280 -48 5184 -48
WIRE -288 80 -304 80
WIRE -272 80 -288 80
WIRE -144 80 -160 80
WIRE -128 80 -144 80
WIRE 5456 96 5456 -128
WIRE 5184 144 5120 144
WIRE 5280 144 5280 -48
WIRE 5280 144 5248 144
WIRE 5280 192 5280 144
WIRE -304 208 -304 80
WIRE -160 208 -160 80
WIRE 5040 240 5040 32
WIRE 5120 240 5120 144
WIRE 5120 240 5040 240
WIRE 5216 240 5120 240
WIRE 5040 304 5040 240
WIRE 2512 416 2448 416
WIRE 2896 416 2592 416
WIRE 3056 416 2896 416
WIRE 3568 416 3056 416
WIRE 3056 432 3056 416
WIRE 5040 432 5040 384
WIRE 5280 432 5280 288
WIRE 5456 432 5456 160
WIRE 2896 448 2896 416
WIRE 3568 464 3568 416
WIRE -304 480 -304 272
WIRE -160 480 -160 272
WIRE 3568 576 3568 544
WIRE 3056 624 3056 512
WIRE 3408 624 3056 624
WIRE 3504 624 3408 624
WIRE 3408 720 3408 624
WIRE 3472 720 3408 720
WIRE 3568 720 3568 672
WIRE 3568 720 3536 720
WIRE 4688 720 4480 720
WIRE 4864 720 4688 720
WIRE 5024 720 4864 720
WIRE 5664 720 5600 720
WIRE 5792 720 5744 720
WIRE 5952 720 5792 720
WIRE 6544 720 5952 720
WIRE 7104 720 7056 720
WIRE 7264 720 7104 720
WIRE 7856 720 7264 720
WIRE 4688 768 4688 720
WIRE 5952 768 5952 720
WIRE 7264 768 7264 720
WIRE 3056 784 3056 624
WIRE 5792 800 5792 720
WIRE 7104 800 7104 720
WIRE 2992 832 2752 832
WIRE 4864 848 4864 720
WIRE 5024 848 5024 720
WIRE 3568 912 3568 720
WIRE 5280 912 5280 848
WIRE 5376 912 5280 912
WIRE 5456 912 5376 912
WIRE 7264 928 7264 848
WIRE 2896 976 2896 528
WIRE 7104 976 7104 880
WIRE 5184 992 5120 992
WIRE 5280 992 5280 912
WIRE 5280 992 5248 992
WIRE 2752 1024 2752 832
WIRE 2752 1024 2560 1024
WIRE 2832 1024 2752 1024
WIRE 5280 1040 5280 992
WIRE 4688 1088 4688 848
WIRE 5120 1088 5120 992
WIRE 5120 1088 4688 1088
WIRE 5216 1088 5120 1088
WIRE 5952 1088 5952 848
WIRE 4688 1184 4688 1088
WIRE 5104 1184 5024 1184
WIRE 5184 1184 5104 1184
WIRE 5280 1184 5280 1136
WIRE 5280 1184 5184 1184
WIRE 4624 1232 4448 1232
WIRE 5792 1232 5792 880
WIRE 2896 1280 2896 1072
WIRE 3408 1280 2896 1280
WIRE 4688 1328 4688 1280
WIRE 4864 1328 4864 928
WIRE 4864 1328 4688 1328
WIRE 2896 1344 2896 1280
WIRE 3056 1344 3056 880
WIRE 4688 1344 4688 1328
WIRE 5184 1360 5184 1184
WIRE 2896 1472 2896 1424
WIRE 2896 1472 2640 1472
WIRE 3056 1472 3056 1424
WIRE 3056 1472 2896 1472
WIRE 3568 1472 3056 1472
WIRE 4688 1616 4688 1424
WIRE 5024 1616 5024 1424
WIRE 5184 1616 5184 1424
WIRE 2448 1744 2208 1744
WIRE 2736 1744 2448 1744
WIRE 2896 1744 2736 1744
WIRE 2448 1776 2448 1744
WIRE 2736 1856 2736 1744
WIRE 2208 1904 2208 1856
WIRE 2672 1904 2208 1904
WIRE 2208 1952 2208 1904
WIRE 2208 1952 2080 1952
WIRE 2208 1984 2208 1952
WIRE 2144 2032 1904 2032
WIRE 5680 2144 5616 2144
WIRE 5968 2144 5760 2144
WIRE 6144 2144 5968 2144
WIRE 6304 2144 6144 2144
WIRE 6560 2144 6304 2144
WIRE 6800 2144 6560 2144
WIRE 7136 2144 6800 2144
WIRE 2080 2160 2080 1952
WIRE 5968 2192 5968 2144
WIRE 6560 2192 6560 2144
WIRE 2016 2208 1904 2208
WIRE 6144 2272 6144 2144
WIRE 7136 2288 7136 2144
WIRE 2896 2304 2896 1744
WIRE 6560 2336 6560 2272
WIRE 6624 2336 6560 2336
WIRE 7072 2336 6704 2336
WIRE 2448 2352 2448 1856
WIRE 2832 2352 2448 2352
WIRE 2448 2384 2448 2352
WIRE 2448 2384 2320 2384
WIRE 2448 2416 2448 2384
WIRE 6560 2416 6560 2336
WIRE 6560 2416 6528 2416
WIRE 2736 2432 2736 1952
WIRE 2896 2432 2896 2400
WIRE 2896 2432 2736 2432
WIRE 7040 2432 6976 2432
WIRE 7136 2432 7136 2384
WIRE 7136 2432 7104 2432
WIRE 2896 2448 2896 2432
WIRE 2384 2464 1904 2464
WIRE 6560 2464 6560 2416
WIRE 3088 2512 3024 2512
WIRE 5968 2512 5968 2272
WIRE 7136 2560 7136 2432
WIRE 7312 2560 7136 2560
WIRE 2320 2592 2320 2384
WIRE 6800 2592 6800 2144
WIRE 2896 2608 2896 2528
WIRE 3024 2608 3024 2512
WIRE 3024 2608 2896 2608
WIRE 3120 2608 3024 2608
WIRE 2256 2640 1904 2640
WIRE 2896 2672 2896 2608
WIRE 6800 2736 6800 2688
WIRE 7136 2736 7136 2560
WIRE 6144 2752 6144 2352
WIRE 2080 2800 2080 2256
WIRE 2208 2800 2208 2080
WIRE 2320 2800 2320 2688
WIRE 2448 2800 2448 2512
WIRE 6800 2864 6800 2816
WIRE 6848 2864 6800 2864
WIRE 6960 2864 6912 2864
WIRE 6800 2912 6800 2864
WIRE 6800 3040 6800 2992
WIRE 6800 3040 6480 3040
WIRE 7024 3040 6800 3040
WIRE 2384 3456 2320 3456
WIRE 2768 3456 2464 3456
WIRE 2928 3456 2768 3456
WIRE 3440 3456 2928 3456
WIRE 2928 3472 2928 3456
WIRE 2928 3664 2928 3552
WIRE 4320 3664 4320 3552
WIRE 4672 3664 4320 3664
WIRE 4320 3696 4320 3664
WIRE 4320 3824 4320 3776
WIRE 4256 3872 4016 3872
WIRE 2768 4016 2768 3456
WIRE 4160 4016 4160 3456
WIRE 3600 4064 3440 4064
WIRE 3792 4064 3680 4064
WIRE 4016 4064 3792 4064
WIRE 4096 4064 4016 4064
WIRE 4832 4112 4832 3760
WIRE 4928 4112 4832 4112
WIRE 4992 4112 4928 4112
WIRE 4160 4160 4160 4112
WIRE 3344 4224 3280 4224
WIRE 3440 4224 3440 4064
WIRE 3440 4224 3408 4224
WIRE 3792 4224 3792 4064
WIRE 4736 4224 4672 4224
WIRE 4832 4224 4832 4112
WIRE 4832 4224 4800 4224
WIRE 3440 4272 3440 4224
WIRE 4832 4272 4832 4224
WIRE 3280 4320 3280 4224
WIRE 3280 4320 2768 4320
WIRE 3376 4320 3280 4320
WIRE 4672 4320 4672 4224
WIRE 4672 4320 4160 4320
WIRE 4768 4320 4672 4320
WIRE 3440 4512 3440 4368
WIRE 4320 4512 4320 3920
WIRE 4832 4512 4832 4368
SYMBOL npn 3376 4272 R0
SYMATTR InstName Q8
SYMATTR Value 2N3904
SYMBOL res 3696 4048 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R31
SYMATTR Value 100
SYMBOL pnp 3504 672 M180
SYMATTR InstName Q7
SYMATTR Value 2N3906
SYMBOL res 5008 1328 R0
SYMATTR InstName R44
SYMATTR Value 100
SYMBOL res 2880 432 R0
SYMATTR InstName R2
SYMATTR Value 500
SYMBOL cap 5440 96 R0
SYMATTR InstName C6
SYMATTR Value 50p
SYMBOL npn 5216 1040 R0
SYMATTR InstName Q30
SYMATTR Value 2N3904
SYMBOL pnp 7072 2384 M180
SYMATTR InstName Q18
SYMATTR Value 2N3906
SYMBOL schottky 5184 1008 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D11
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL npn 2672 1856 R0
SYMATTR InstName Q6
SYMATTR Value 2N3904
SYMBOL res 6784 2720 R0
SYMATTR InstName R60
SYMATTR Value 100
SYMBOL res 6720 2320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R57
SYMATTR Value 1
SYMBOL pnp 2992 880 M180
SYMATTR InstName Q5
SYMATTR Value 2N3906
SYMBOL cap -320 208 R0
SYMATTR InstName C2
SYMATTR Value 50p
SYMBOL npn 2832 976 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL pnp 4256 3920 M180
SYMATTR InstName Q28
SYMATTR Value 2N3906
SYMBOL npn 5216 192 R0
SYMATTR InstName Q33
SYMATTR Value 2N3904
SYMBOL res 2368 3440 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R25
SYMATTR Value 0.01
SYMBOL res 5952 2176 R0
SYMATTR InstName R14
SYMATTR Value 500
SYMBOL res 2432 1760 R0
SYMATTR InstName R10
SYMATTR Value 520
SYMBOL res 4672 752 R0
SYMATTR InstName R34
SYMATTR Value 500
SYMBOL res 2912 3456 R0
SYMATTR InstName R23
SYMATTR Value 220
SYMBOL res 4672 1328 R0
SYMATTR InstName R43
SYMATTR Value 250
SYMBOL res 3040 416 R0
SYMATTR InstName R4
SYMATTR Value 500
SYMBOL pnp 2144 2080 M180
SYMATTR InstName Q13
SYMATTR Value 2N3906
SYMBOL res 3552 448 R0
SYMATTR InstName R5
SYMATTR Value 100
SYMBOL res 6784 2896 R0
SYMATTR InstName R59
SYMATTR Value 100
SYMBOL schottky 4736 4240 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D9
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 2496 400 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 0.01
SYMBOL res 4304 3680 R0
SYMATTR InstName R29
SYMATTR Value 220
SYMBOL pnp 2384 2512 M180
SYMATTR InstName Q11
SYMATTR Value 2N3906
SYMBOL res 2880 1328 R0
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 144 880 R90
WINDOW 123 -77 30 VRight 2
WINDOW 39 0 0 Left 0
WINDOW 0 -51 28 VRight 2
WINDOW 3 46 -379 VRight 2
SYMATTR Value2 AC 5
SYMATTR InstName V_BIT0
SYMATTR Value PULSE(0 {VCC} 0 {rise} {rise} {1/freq/2-rise} {1/freq})
SYMBOL res 3040 1328 R0
SYMATTR InstName R32
SYMATTR Value 500
SYMBOL res 5776 784 R0
SYMATTR InstName R49
SYMATTR Value 10k
SYMBOL res 7248 752 R0
SYMATTR InstName R53
SYMATTR Value 500
SYMBOL res 5664 2128 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 0.01
SYMBOL res 2880 2432 R0
SYMATTR InstName R13
SYMATTR Value 220
FLAG 128 880 IN
FLAG 48 880 0
FLAG -288 80 OUT
FLAG -144 80 OUT_NN
FLAG 2448 416 VCC
FLAG 2320 3456 VCC
FLAG 4928 4112 OUTd1
FLAG 5376 912 OUT_simple
FLAG 5600 720 VCC
FLAG 5616 2144 VCC
FLAG 5104 1184 V_REF2