Design a circuit that receives serially the output of the 4-bit ring counter in Exercise 7 and produces an output of 1 if the counter produces an illegal output combination.
Exercise 7
Implement a 4-bit ring counter using JK flip-flops, and show its count sequence.