Use JK-FFs to build a binary 2-bit counter that can count forwards and backwards in a loop. If the input x is high, the counter moves forward and loops. If the input x is low, the counter moves backwards and loops.
2. Build a binary counter that counts 0, 1, 3, 4, 5, 7 then continues to loop back to 0. Use T FFs
3. Build a circuit that detects a 101 in a string of bits. If 101 is detected, the output Z should be HIGH. otherwise, the output Z will be low. There are two types. Overlapping or non overlapping. Overlapping means there are multiple 101 overlapping each other in the string of bits. Build they non overlapping version. Some examples are given below.
10100101
1010101001101 (This one shows an overlapping case. The bolded numbers are the non overlapping case for this example.)
Link To Circuit Built In Class (used TFFs)