Implementation of impulse signal generator.