GATE / CS ARCHIVE

GATE CSE 2001 / QUESTION 2.12

Three-bit feedback shift-register sequence

Digital Logic · Flip-Flops, Registers & Sequential Circuits · Full GATE CSE 2001 paper

GATE 2001, Q2.12 2 marks · MCQ
Report issue

Flip-Flops, Registers & Sequential Circuits

Question 2.12, GATE 2001: A synchronous three-bit register starts Q0=1,Q1=Q2=0. Wiring gives D0=Q1 XOR Q2,D1=Q0,D2=Q1. State number is 4Q2+2Q1+Q0. Choose cycle A 1,3,4,6,7,5,2; B 1,2,5,3,7,6,4; C 1,2,7,3,5,6,4; D 1,6,5,7,2,3,4.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Step 1: Read the wiring as Q0_next=Q1 XOR Q2, Q1_next=Q0, Q2_next=Q1, all using the old state. The displayed numeric state is 4Q2+2Q1+Q0.

Step 2: Starting 001, successive triples are 010,101,011,111,110,100, then 001 again. For example 010 gives new Q0=1 XOR 0=1,new Q1=0,new Q2=1, hence 101.

Thus the decimal cycle is 1,2,5,3,7,6,4, option B. Computing updates in place rather than simultaneously would produce a different, incorrect sequence.

Original paper, page 5