Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A computer system uses a 16-bit memory addresses. It has a 64-byte cache and 4 words in each block and 1 byte in each word.

image text in transcribedimage text in transcribedimage text in transcribed

A computer system uses a 16-bit memory addresses. It has a 64-byte cache and 4 words in each block and 1 byte in each word. The current state of the caches are shown in the following figure and All the values are shown in hexadecimal. [9M] a. Direct mapped: Valid Tag B3 BO (00) BI (01) B2 (10) (11) 34 56 E2 EF 16 09 16 B3 A1 1A Line/block No. in decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 31 FF 34 EA 92 1 0 1 0 1 1 1 0 0 1 1 0 1 1 1A 16 56 FE 03 OD 23 67 90 C2 9 24 67 01 23 02 89 03 01 04 0 14 15 34 AF BC 94 Fill the following table based on the direct mapping Hit or Miss? Data Retumed Read one byte 0x369 Read one byte 0x936 Read one byte 0x963 6. Fully Associative Valid Tag BO (00) BI (01) B2 (10) B3 (11) 208 56 E2 EF 16 63 16 B3 A1 IA 73 FF 34 EA 92 Set No. in decimal 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 1 0 0 1 1 0 1 1 0 0 24 16 56 FE 03 23 67 90 02 99 1E0 67 89 23 03 89 32 01 03 EO AF BC 94 34 Fill the following table based on the Full associative mapping Hit or Miss? Data Returned Read one byte 0x888 Read one byte 0x978 Read one byte OxB23 c. 2-way Set Associative Tag BO (00) BI (01) B2 (10) B3 (11) 34 3B 56 56 E2 34 EF 19 16 05 63 4B 73 16 A6 FF B3 FF 34 A1 12 EA 1A 09 92 Set No. Valid in decimal 0 1 1 0 2 1 3 1 4 1 5 1 6 0 7 0 0 0 1 1 2 1 3 0 4 1 5 1 6 0 7 0 56 24 46 39 16 56 23 34 FE 89 90 03 00 C2 67 67 99 01 23 03 89 32 01 03 89 AF BC 94 34 Fill the following table based on the set associative mapping Hit or Miss? Data Returned Read one byte 0x279 Read one byte Ox972 Read one byte 0x729

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

2. Write two or three of your greatest weaknesses.

Answered: 1 week ago