Assume you have an instruction cache miss rate of 4 and a


1. Assume 32 bit memory addresses, which are word addresses. You have a direct-mapped cache with a block sizeof 4 words, and a size of 32 blocks. How many bits will the index, block offset, and tag be? How many total bits are required for the cache, including the data?

2. Assume 32 bit memory addresses, which are word addresses. You have a 4-way cache with a block size of 2 words,and a size of 16 blocks. How many bits will the index, block offset, and tag be? How many total bits are required for the cache, including the data?

3. Assume you have an instruction cache miss rate of 4%, and a data cache miss rate of 2%. The miss penalty is 100 cycles. You have a program that is 25% load-store instructions, with a base CPI of 1. What will its CPI be including cache misses?

Solution Preview :

Prepared by a verified Expert
Business Management: Assume you have an instruction cache miss rate of 4 and a
Reference No:- TGS01692672

Now Priced at $15 (50% Discount)

Recommended (90%)

Rated (4.3/5)