

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Computer Architecture CSC 520 Cache Problems 1.Assume you have 128 blocks of cache memory, into which block or blocks of cache could main memory block 151 possibly be placed ( assume cache and memory blocks are numbered from zero ) if cache is: a. direct mapped b. fully associative c. 4-way set associative d. 8-way set associative e. Can you explain the three cache miss types? 2.Assume the instruction execution cycle on your machine could be divided into the following functions which require the amount of time indicated : IF….12ns, ID…..5ns, EX…..12 ns, Mem 15 ns, WB 4 ns. Assume pipeline overhead is 1ns. What would be the cycle time on the unpipelined machine? What would be the cycle time on the pipelined machine? What would be the (ideal) speedup due to pipelining? 3.What is Amdahl’s Law?