* Z:\tmp\asc_dec_bjh7r6w2\04b8296a625a_4046_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
C2 7 6 2.2n
V1 14 0 PULSE(0 5 0 10n 10n 5u 10u)
B2 4 0 V=ddt(V(6,7))>0 ? 5 : 0 Tripdt=0.007u Tripdv=0.007m
B3 0 N003 I=I(R2)*90
A3 N001 N002 0 0 0 15 0 0 SRFLOP Vhigh={Vhigh2} ref={ref2}
S4 0 6 6 0 SW
R3 4 0 1G
C1 7 6 10p
A2 0 14 0 3 0 0 2 0 XOR Vhigh={Vhigh1}
A5 3 0 0 0 0 N002 0 0 BUF Vhigh={Vhigh2} ref={ref2} Td={Td2}
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4564 1120
WIRE 144 -672 112 -672
WIRE 240 -672 224 -672
WIRE 496 -544 480 -544
WIRE 576 -528 560 -528
WIRE 576 -512 576 -528
WIRE 592 -512 576 -512
WIRE 496 -480 480 -480
WIRE 592 -464 560 -464
WIRE 768 -464 704 -464
WIRE 576 -352 560 -352
WIRE 768 -352 640 -352
WIRE 576 -320 544 -320
WIRE 912 -272 768 -272
WIRE 0 -256 -16 -256
WIRE 96 -256 80 -256
WIRE 112 -256 96 -256
WIRE 208 -256 192 -256
WIRE 384 -240 384 -640
WIRE 608 -240 384 -240
WIRE 768 -224 768 -272
WIRE 768 -224 736 -224
WIRE 784 -224 768 -224
WIRE 352 -208 352 -640
WIRE 592 -208 352 -208
WIRE 608 -208 592 -208
WIRE 96 -176 96 -256
WIRE 96 -176 -48 -176
WIRE 240 -176 96 -176
WIRE -48 -160 -48 -176
WIRE 240 -160 240 -176
WIRE 592 -112 592 -208
WIRE 864 -112 592 -112
WIRE -48 -64 -48 -80
WIRE 64 -64 -48 -64
WIRE 240 -64 240 -80
WIRE 240 -64 128 -64
WIRE 864 -64 592 -64
WIRE 32 -48 -48 -64
WIRE 160 -48 240 -64
WIRE -48 -32 -48 -64
WIRE 240 -32 240 -64
WIRE 592 0 592 -64
WIRE 640 0 592 0
WIRE 768 0 640 0
WIRE 592 16 592 0
WIRE -96 48 -96 32
WIRE -48 48 -96 48
WIRE 96 48 -48 48
WIRE 240 48 96 48
WIRE 288 48 288 32
WIRE 288 48 240 48
WIRE 96 64 96 48
WIRE 640 96 640 80
WIRE 32 304 32 -48
WIRE 64 304 32 304
WIRE 160 304 160 -48
WIRE 160 304 128 304
WIRE 32 320 32 304
WIRE 160 320 160 304
SYMBOL cap 128 288 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C2
SYMATTR Value 2.2n
SYMBOL voltage 240 -672 M270
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 48 47 VRight 0
SYMATTR Value PULSE(0 5 0 10n 10n 5u 10u)
SYMATTR InstName V1
SYMBOL bv 592 0 M0
WINDOW 3 24 104 Invisible 0
SYMATTR Value V=ddt(V(6,7))>0 ? 5 : 0
SYMATTR InstName B2
SYMATTR Value2 Tripdt=0.007u Tripdv=0.007m
SYMBOL bi2 112 -256 M90
WINDOW 3 32 40 VTop 0
WINDOW 0 -32 40 VBottom 0
SYMATTR Value I=I(R2)*90
SYMATTR InstName B3
SYMBOL Digital\\srflop 640 -560 R0
WINDOW 3 -40 28 Invisible 0
SYMATTR Value Vhigh={Vhigh2} ref={ref2}
SYMATTR InstName A3
SYMBOL sw -48 64 M180
SYMATTR InstName S4
SYMBOL res 624 -16 R0
SYMATTR InstName R3
SYMATTR Value 1G
SYMBOL cap 128 -80 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C1
SYMATTR Value 10p
SYMBOL Digital\\xor 624 -400 R0
WINDOW 3 0 0 Invisible 0
SYMATTR Value Vhigh={Vhigh1}
SYMATTR InstName A2
SYMBOL Digital\\buf 496 -544 R0
WINDOW 3 8 120 Invisible 0
SYMATTR Value Vhigh={Vhigh2} ref={ref2}
SYMATTR InstName A5
SYMATTR SpiceLine Td={Td2}
FLAG 96 64 0
FLAG 32 320 6
FLAG 160 320 7
FLAG 288 -96 0
FLAG -96 -96 0
FLAG 288 -16 7
FLAG -96 -16 6
FLAG 288 -144 6
FLAG -16 -256 0
FLAG 768 0 4
FLAG 592 96 0
FLAG 640 96 0
FLAG 208 -256 0
FLAG 384 -640 14
FLAG 352 -640 3
FLAG 112 -672 0
FLAG 240 -672 14
FLAG 560 -352 14
FLAG 544 -320 3
FLAG 768 -352 2
FLAG 480 -544 14
FLAG 480 -480 3
FLAG 768 -464 15
FLAG 784 -224 13