2) Counters
a) Design a two-bit counter of value AB which cycles through thefollowing repeating pattern, using each of the following ?ip-?ops.Clearly show your design with all the necessary connections.
AB : 00 ?? 10 ?? 01 ?? 00 ?? 10···
i) two D-FFs ii) two T-FFs iii) two JK-FFs
b) Design a three-bit counter of value ABC which cycles through thefollowing repeating pattern, using each of the following ?ip-?ops.Clearly show your design with all the necessary connections.
ABC : 001 ?? 100 ?? 011 ?? 010 ?? 001 ?? 100···
i) three D-FFs ii) three T-FFs iii) three JK-FFs