Understood. Thank you.This is why you should explain in detail what you want.
In this case there was only a sketch with four pulses and a second pulse with duration of four clocks and you have asked how to implement it, naturally you got an answer for exactly that.
So take your time when you ask questions and write what you want, no one can guess what your actual need.
Yes, I have drawn a better picture and description. What I was trying to express is that the width of the output pulse should stretch from the first rising edge to the last falling edge as I have shown on the picture. I'm sorry for not presenting this in a better way :/Sometimes all details are important. :grin: