Question: 2. (30pts) Consider a machine with a byte addressable main memory of 212 bytes and block size 4 bytes. Assume that a direct map cache

 2. (30pts) Consider a machine with a byte addressable main memory

2. (30pts) Consider a machine with a byte addressable main memory of 212 bytes and block size 4 bytes. Assume that a direct map cache consisting of 32 4-byte lines is used with this machine. a. How a 12bit memory address is divided into tag, line number and byte number? b. Into what line will be stored bytes with each of the following addresses? 0001 0001 1011 1011 0011 0100 1101 0001 1101 1010 1010 1010 3. (20pts). A computer with a 32-bit wide data bus uses 2M x 4bit dynamic RAM memory chip. What is the smallest memory (in bytes) that this computer can have? 4. (15pts) CPU has Level 1 cache and Level 2 cache with access time 1 nsec and 2 nsec, respectively. The Main Memory access is 5 nsec. If 80% of the access are Level 1 cache hits and 60% are Level 2 hits, what is the average access time

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!