Sample signal_in on each rising edge. Assert pulse for one cycle when the sampled value changes from zero to one.