GATE Computer ScienceHardGATE CS
A 4-bit left-shifting register uses XNOR feedback: Q0 ← XNOR(Q3, Q2), with Q3 ← Q2, Q2 ← Q1, Q1 ← Q0. Starting at 0000, after how many clocks does the state first return to 0000, and which state is the lock-up state (a state that maps to itself)?
- A. (16, 1111)
- B. (15, 1000)
- C. (15, 1111)
- D. (15, 0000)
Correct answer: C. (15, 1111)
With XOR feedback the lock-up state is 0000; the XNOR version complements the feedback, so the lock-up state becomes 1111 and 0000 lies on the maximal 15-state cycle (taps 4 and 3 are primitive). Starting from 0000 the state returns after 15 clocks.
More Digital Logic questions
- A 4-bit shift-right register Q3 Q2 Q1 Q0 has Q2 ← Q3, Q1 ← Q2, Q0 ← Q1 and Q3 ← NOR(Q3, Q2, Q1). Its state diagram has the single 4-state…
- A 5-bit Johnson (twisted-ring) counter shifts right with Q4 ← NOT Q0 (and Q3 ← Q4, Q2 ← Q3, Q1 ← Q2, Q0 ← Q1) and has no self-correction…
- F(A,B,C,D) = Σm(0, 1, 5, 7, 8, 10, 14, 15). Let P be the number of prime implicants of F and M the number of different minimal…
- Two Boolean functions of three variables are NPN-equivalent if one becomes the other by permuting inputs, complementing some inputs and…
- A Moore machine has states 0 to 7 (start state 0), input alphabet {0, 1} and next-state function δ(s, 0), δ(s, 1): 0:(5,7); 1:(3,2)…
- A cyclic redundancy check uses the generator polynomial x⁴ + x + 1 (bit pattern 10011). The message 110100111011 is followed by four zero…