GATE Computer ScienceHardGATE CS (PYQ pattern)
A ROM looks up the square of a 4-bit unsigned input (0 to 15), whose result has 8 bits. Some output bits are constant or are simply copies of an input bit and need no ROM storage. What is the minimum ROM size in bits for the remaining outputs?
- A. 96
- B. 128
- C. 64
- D. 112
Correct answer: A. 96
Output bit 0 of x² equals input bit 0 and output bit 1 is always 0, so only bits 2 to 7 (6 outputs) need storing: 16 words × 6 bits = 96 bits. The full table would be 16 × 8 = 128 bits.
More Digital Logic questions
- A 13-input AND function is mapped onto 4-input look-up tables (LUT4). What is the minimum number of LUT4s, and the smallest logic depth…
- A product-of-sums circuit realises F(A,B,C,D) = (A' + B)(A + C')(B' + D'). Which is the minimum number of extra sum terms that must be…
- An 8-bit Gray-to-binary converter computes bi = g7 ⊕ g6 ⊕ … ⊕ gi. Built as a ripple chain (bi = b(i+1) ⊕ gi) it uses 7 two-input XOR gates…
- A 4-bit synchronous counter Q3Q2Q1Q0 (Q0 the LSB) built from T flip-flops must add 3 modulo 16 on every clock (0 → 3 → 6 → 9 → … → 13 →…
- A 3-bit synchronous counter Q2Q1Q0 uses T flip-flops with T2 = Q1Q0, T1 = Q0 and T0 = Q2'. Starting from 000, what is the state after 10…
- How many Boolean functions f(a,b,c,d,e) are invariant under the cyclic shift of their inputs, f(a,b,c,d,e) = f(b,c,d,e,a), and are also…