GATE Computer ScienceHardGATE CS (PYQ pattern)
In a 4-bit carry-lookahead unit each carry C1, C2, C3, C4 is produced by its own flat two-level AND-OR circuit from g0..g3, p0..p3 and C0 (no sharing; a lone g_i feeds the OR directly). What is the total number of gate inputs (AND inputs plus OR inputs) over the four carries?
- A. 40
- B. 50
- C. 30
- D. 44
Correct answer: D. 44
C_i = g(i−1) + p(i−1)g(i−2) + … + p(i−1)…p0·C0 has i AND gates with fan-ins 2, 3, …, i + 1 and an OR of fan-in i + 1. C1: 2 + 2 = 4; C2: (2 + 3) + 3 = 8; C3: 9 + 4 = 13; C4: 14 + 5 = 19. Total 44.
More Digital Logic questions
- A full subtractor (A − B − Bin, giving difference D and borrow-out Bout) is to be built from one full adder (inputs x, y, z; outputs sum S…
- In a 4-bit ripple-carry adder with no carry-in, for how many of the 256 operand pairs (A, B) is the carry generated at stage 0 (A0 = B0 =…
- The IEEE 754 single-precision patterns 0x00600000 and 0x00200000 are added in single precision. What is the bit pattern of the result?
- The IEEE 754 single-precision pattern 0xC2F60000 represents −123.0. What is the single-precision bit pattern of −123 × 2⁻¹³⁵?
- In C with IEEE 754 single-precision float, let x = 16777216.0f (2²⁴). What are the values of (x + 1.0f) + 1.0f and x + (1.0f + 1.0f)?
- How many IEEE 754 single-precision numbers x satisfy 1 ≤ x < 1000?