GATE / CS ARCHIVE

GATE CSE 2017 SET 2 / QUESTION 42

GATE CSE 2017 Set 2 Q42

Digital Logic · Counters & Timing · Full GATE CSE 2017 Set 2 paper

GATE 2017 Set 2, Q42 2 marks · MCQ
Report issue

Counters & Timing

Question 42, GATE 2017: A two-bit saturating up-counter has next states 00→01,01→10,10→11,11→11. It uses synchronous T flip-flops for bits Q1,Q0. Choose (T1,T0). A:(Q1Q0,¬Q1¬Q0). B:(¬Q1Q0,¬Q1+¬Q0). C:(Q1+Q0,¬Q1+¬Q0). D:(¬Q1Q0,Q1+Q0).
Tap to enlarge
Your answer
Answer & solution

Official answer: B

1. A T flip-flop holds its state when T=0 and toggles when T=1. Thus its required input is T=Q XOR Qnext; compute it separately for each bit.

2. For current states 00,01,10,11, the high-bit toggle requirements are 0,1,0,0. Only state 01 toggles Q1, giving T1=¬Q1·Q0. The low-bit requirements are 1,1,1,0, since Q0 changes on every transition except the saturated 11→11.

3. Therefore T0=¬(Q1Q0)=¬Q1+¬Q0. This pair is B. In particular the final state must hold rather than wrap to 00, so both T inputs must be zero at 11.

Original paper, page 16 · Answer key