Week 5: Assignment Solutions
Week 5: Assignment Solutions
1. How many address and data lines will be there for a 16M x 32 memory
system?
a. 24 and 5
b. 20 and 32
c. 24 and 32
d. None of the above
Correct solution is (c).
Since there are 16M words, the number of address lines will be 24, since
224 = 16M. Also since the word size is 32 bits, the number of data lines will
also be 32.
2. What is the function of the chip select line (CS’) in a memory chip?
a. Power supply is applied to the chip when CS’ is activated.
b. The data bus is put in the high impedance state when CS’ is
deactivated.
c. It prevents two or more subsystems from using the memory
simultaneously.
d. None of the above.
Correct answer is (b).
When a memory system consists of a number of memory chips, typically
the data lines of the memory chips are connected together. For example,
all the D0 data lines will be connected, all the D1 data lines will be
connected, and so on. When a number of data output lines are tied
together, exactly one output must be active at a time and all the others
must be in the high impedance state. The chip select signal forces all the
data outputs of a chip to go into the high impedance state if it is
deactivated.
11. Consider a memory system that takes 25 nsec to service the access of a
single 64-bit word. The bandwidth of the processor-memory interface
will be ……………….. Mbytes per second.
Correct answer is 320.
8 bytes of data can be accessed in 25 nsec.
So in 1 second, number of bytes accessed = 8 / 25 x 109 bytes = 320
Mbytes.
12. A RAM chip has a capacity of 1024 words of 8 bits each. The number of 2-
to-4 decoders with enable lines needed to construct a 16K x 16 RAM
system will be …………………..
Correct answer is 5.
To construct a memory system with 16K words using 1024x8 RAM chips,
we have to connect 16 such chips in parallel. The decoder will have to
select one of the 16 chips. To construct a 4x16 decoder, we require 5 2x4
decoders.