Question: The CAMERA simulator using 2-way associative cache has 256 bytes (i.e. 28 bytes) of byte-addressable main memory and a cache of 16 blocks, where each

The CAMERA simulator using 2-way associative cache has 256 bytes (i.e. 28 bytes) of byte-addressable main memory and a cache of 16 blocks, where each cache block contains 8 bytes.

a. How many blocks of main memory are there?

b. What is the format of a memory address as seen by the cache, that is, what are the size of the tag, set and word fields?

c. Given a 2-way set associative mapped cache memory in CAMERA and a main memory, the cache memory is empty initially and data is stored in the main memory, CPU sends a request to fetch the data stored at address 0x95 in main memory (i.e. fetch 95). Please fill up one of the cache blocks after CPU executes the fetch request?

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 Databases Questions!