GATE Computer ScienceHardGATE CS (PYQ pattern)
A 3-bit register Q2Q1Q0 is clocked synchronously with D2 = Q1, D1 = Q0 and D0 = (Q2 + Q1)' (NOR). Starting at 000 it follows a repeating cycle. Which statement is correct?
- A. It cycles through 5 states, and the unused states 101 and 111 are lock-up states
- B. It cycles through 6 states and is self-starting within 1 clock
- C. It cycles through 5 states, and every unused state reaches that cycle within 2 clocks
- D. It cycles through 5 states, and every unused state reaches that cycle within 1 clock
Correct answer: C. It cycles through 5 states, and every unused state reaches that cycle within 2 clocks
From 000 the cycle is 000 → 001 → 011 → 110 → 100 → 000. The unused states go 010 → 100, 111 → 110 and 101 → 010 → 100, so the worst case needs 2 clocks and none is a lock-up.
More Digital Logic questions
- A Moore machine has states A to H, start state A and one input X. Each row lists: state, next state for X=0, next state for X=1, output. A…
- A Moore machine outputs 1 exactly when the last four serial input bits are 0101 or 1010 (overlapping allowed) and 0 otherwise, including…
- A circuit receives a BCD digit ABCD (A is the MSB; inputs 1010 to 1111 never occur and may be treated as don't-cares) and outputs F = 1…
- F(A,B,C,D) = 1 when exactly two or exactly three of the four inputs are 1. How many literals does its minimal sum-of-products contain…
- A 2-bit × 2-bit unsigned multiplier has inputs A1A0 and B1B0 and outputs P3P2P1P0. Each output is realised separately by its own minimal…
- A BCD-to-excess-3 converter has inputs A B C D (BCD digit 0-9, codes 10-15 are don't-cares) and outputs w x y z (excess-3 code, w the…