I am trying to understand this concept of flip flops. Given some Karnaugh Map, all I need to know is how to find the functions of various flip-flop types:
- sr flip-flop (\$s = \text{ ??} \quad r = \text{ ??}\$)
- D flip-flop (\$D = \text{ ??}\$)
- T flip-flop (\$T = \text{ ??}\$)
- JK flip-flop (\$J = \text{ ??} \quad K = \text{ ??}\$)
I believe I know how to solve the sr flip flop but I am clueless about the others. I have created this random Karnaugh Map and solved for sr flip-flop.
If I wanted to explain it to someone I'd probably go with this:
In order to find s and r functions of sr flip flop, first mark all the bold 0
s and bold 1
s.
A cell is bold
if the value inside that cell is different than the number of row that cell is in. (Here we consider only the a
value of the row)
After you marked all the bold 0
s and 1
s, you need to group them.
All bold ones should be put into as large groups as possible. Only the bold ones need to be considered when grouping, however it is best to cover all non-bold ones if possible (as long as you don't introduce extra groups).
Here the result is one green group on the screen that covers all bold ones and as many non-bold ones as possible.
Then, the grouped ones correspond to s
function. You simply calculate the Sum of Products.
--
Now the bit tricky part: do the same with bold zeros, that is group them into as large group as possible.
And now you can find the r
function either as:
- a). Product of Sums, and complement over everything
or
- b). treat the grouped
0
s as1
s (imagine they're1
s) and find the function using SoP, without any extra complementation over everything. The result is the same.
--
So to summarize: for sr flip flop s
is function obtained by grouping bold ones (SoP) and r
is function obtained by grouping bold zeros (PoS) and complementing everything afterwards.
I believe that's correct, Ph.D teacher confirmed that.
--
Now back to my question: can somebody explain to me like I am 5 years old how to find D, T, JK flip-flop functions from some Karnaugh Map?
For example maybe J = bold zeros complemented, K = bold ones. Or something like that.
Thanks~!