Question: Q 1 ) For a direct - mapped cache design with a 3 2 - bit address, the following bits of the address are used

Q1) For a direct-mapped cache design with a 32-bit address, the following bits of the address are used to access the cache: Tag Index Offset 31-109-54-0 a) What is the cache block size (in words b) How many entries does the cache have? c) Starting from power on, the following byte-addressed cache references are recorded (addresses are in decimal): 0,4,16,132,232,160,1024,30,140,3100,180,2180 c.1) How many blocks are replaced? c.2) What is the hit ratio?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!