V2: Input protection diodes
Observation: Upon the de-assertion of input pulses > 5V the P5V0 drops
to zero for ~1 us.
This in turn is generating a reset pulse on the board through IC13.
Solution: Add decoupling capacitor to the P5V0.
At a first attempt a 100 nF was added in parallel to D1 and the problem
was solved.