GATE Computer ScienceVery hardGATE CS
A 5-bit Galois LFSR for the polynomial x⁵ + x² + 1 shifts right on each clock; whenever the bit shifted out (the LSB) was 1, the shifted value is XORed with 10100. Starting from 00001, what is the state after 100 clocks?
- A. 10001
- B. 01110
- C. 11100
- D. 01011
Correct answer: C. 11100
The sequence is maximal-length with period 31, so after 100 clocks the state equals the state after 100 mod 31 = 7 clocks, 11100. The neighbouring answers are the states after 99, 101 and 98 clocks.
More Digital Logic questions
- A synchronous 3-bit counter has next-state equations D2 = Q1 ⊕ Q0, D1 = Q2 and D0 = Q1' (state Q2 Q1 Q0). Let c be the number of states in…
- A ring of 6 combinational blocks with delays 4, 7, 3, 5, 2 and 6 ns has 3 registers that may be repositioned anywhere on the ring by…
- A transparent-high D latch and a rising-edge D flip-flop both receive the same D signal and clock. The clock is high during 0–10, 20–30…
- What is the Excess-3 code of the decimal number 592?
- What is the 8-bit two's complement representation of −45?
- What is the minimum number of flip-flops needed to build a synchronous counter that counts through 37 distinct states?