Question
The next state table of a 2-bit saturating up-counter is given below.
| 0 | 0 | 0 | 1 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 |
The counter is built as a synchronous sequential circuit using T flip-flops. The expressions for and are
Official answer and solution
- Official answer
- B
- From
- Official GATE 2017 answer key
Solution
Construct the excitation table for the T flip-flops from the given next-state table using , then derive the Boolean expressions for and .
For a T flip-flop, the excitation equation is .
Compute and for each row of the next state table:
| 0 | 0 | 0 | 1 | ||
| 0 | 1 | 1 | 0 | ||
| 1 | 0 | 1 | 1 | ||
| 1 | 1 | 1 | 1 |
Find minimal sum-of-products expressions:
- For : only when and . Thus:
- For : for minterms 0, 1, 2 (all except ). By De Morgan's Law:
The resulting expressions are and , which corresponds to option B.
B
Using D flip-flop excitation () instead of T flip-flop excitation ().
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2017 Computer Science and Information Technology (CS) Session 2
- Question
- 42 of 65, printed as CS Q.42
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.