Introduction - If you have any usage issues, please Google them yourself
Design a sequential machine that finds the size of the largest gap between two successive 1s in a X-bit word. Partition the design into a state machine controller and a datapath. The datapath accepts the X-bit word and produces an output word whose value is the binary equivalent of the gap size..