How is the word size of RAM and its capacity related to number of addressing bits? A RAM has a capacity of 1M words having the word size of 32 bits and supports byte addressing.
(i) How many data input and output lines does this RAM need? Explain your answer.
(ii) How many address lines will be needed for this RAM?
Answers
Answered by
2
If we want the RAM to be word addressible, then a processor with n address bits, can address 2^n words in the RAM.
RAM has capacity 1 Mega words. = 1024 words = 2^10 words.
Each word size = 32 bits or 4 bytes.
1) data input lines/output lines:
32 as many as the number of bits in a word
2) address lines needed:
since there are 2^10 words total, we need 10 address lines.
RAM has capacity 1 Mega words. = 1024 words = 2^10 words.
Each word size = 32 bits or 4 bytes.
1) data input lines/output lines:
32 as many as the number of bits in a word
2) address lines needed:
since there are 2^10 words total, we need 10 address lines.
Similar questions