I am trying to better understand how flip flops work. I am asked:
Desing a three-bit up/down counter using T-ff. It should include a
control input called Up(bar)/Down. If Up(bar)/down = 0, then the
circuit should behave as an up-counter. If Up(bar)/down = 1, then he
circuit should behave as a down-counter.
The solution to the problem is this:
My question is basically how they came to this conclusion. I know from a truth table the behavior of a t flip flop:
Q Q^+ | T
0 0 | 0
0 1 | 1
1 0 | 1
1 1 | 0
I don't understand how to make a T flipflop into a up counter or a down counter respectively.