Three turtles are racing against each other. A motion detector is responsible to send a pulse through a wire when each one of them reaches the finish line. At the end of each track, there is a LED light. Design a synchronous system that lights only the LED at the winner track.

You have a clock signal (CLK) which can be used as an input to your system and you can assume its pulse width is half of the pulse width which is generated by the motion detector.

Thanks for your blog, nice to read. Do not stop.