If there are m input lines and n output lines for a decoder that is used to uniquely address a byte addressable 1 KB RAM, then the minimum value of m+n is ________.

Correct Answer:

1034

Solution:

For a decoder with n-input lines, it has 2n output lines.

Given: 1 KB (1024 bytes) of Byte addressable RAM {Note: Output = 1K address}

i.e. output = 2n = 1024 = 210

Then: n = 10, m = 210

Here, n → inputs, m → outputs

∴ Value of (m+n) = 1024 + 10 = 1034