Question discussion

A ROM is used to implement a 4-bit binary adder that adds two 4-bit numbers and a carry-in, and produces a 4-bit sum and a carry-out. What…

2355Medium DSSSB TGT Computer Science 0 replies 1 views
0

A ROM is used to implement a 4-bit binary adder that adds two 4-bit numbers and a carry-in, and produces a 4-bit sum and a carry-out. What is the size of the ROM in bits?

  • A5,120 bits
  • B1,024 bits
  • C512 bits
  • D2,560 bits
Correct answer: D

Explanation

The adder has 4 + 4 + 1 = 9 inputs and 5 outputs, so the ROM needs 2⁹ = 512 words of 5 bits each = 2,560 bits.

Discussion 0

Nobody has replied yet. Start the discussion!