Cod Ass 4
Cod Ass 4
Assignment #4
1. [CO4] How we can overcome the speed mismatch between CPU and Main Memory?
2. [CO4] What do you mean by write-through and write-back techniques?
3. [CO4] What are the different types of ROM?
4. [CO4] Differentiate between Static RAM and Dynamic RAM.
5. [CO4] Differentiate between Static EEROM and EPROM.
1. [CO4] A cache memory that has a hit rate of 0.8 has an access latency 10ns and miss penalty
100ns.An optimization is done on the cache to reduce the miss rate. However, the optimization results
in an increase of cache access latency to whereas the miss penalty is not affected. The minimum hit
rate (rounded off to two decimal places) needed after the optimization such that it should not increase
the average memory access time is _______________.
2. [CO4] A digital computer has a memory unit of 64K *16 and a cache memory of 1K words. The
cache uses direct mapping with a block size of four words.
a.How many bits are there in the tag,index,block and word fields of the address formats?
b.How many bits are there in each word of cache, and how are they dividend into function?
Include a valid bit.
c.How many blocks can the cache accommodate?
3. [CO4] A two –way set associative cache memory uses block of 4 words. The cache can accommodate a total
of 2048 words from main memory. The main memory size is 128k* 32.
(ii)What is the size of cache memory and number of address bits required to define a block of main memory?