Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

STEPS PLZ Consider a computer system with 8 - bit memory addresses, a cache with 4 blocks and the size of each block 2 bytes.

STEPS PLZ
Consider a computer system with 8-bit memory addresses, a cache with 4 blocks and the size of each block 2 bytes.
\table[[Address,Data],[00101010,0x12F0],[00101011,0xFFC0],[11001100,0x0001],[11001010,0x96AA],[11001011,0x81CD],[00111101,0x010E],[00111100,0x557C],[00101100,0x1234]]
A. Assume a direct mapped cache is used, answer the following quesitons:
a. How many data bytes can be stored in the cache? Exclude the tag and valid bit.
b. How many bits are used for the tag? How many bits are used for the block index? How many bits are used for the offset?
c. Given the following addresses, show the tag and offset bits for each addresses: 11001010 and 0010010.
d. Consider the following sequence of cache read operations to the following addresses: 00101010,00101011,11001100,11001010,11001011,00111101,00111100,00101100.
Use the following table to show the sequence of tags accessed in each tag block starting at the top.
\table[[Block,Tag,Data],[0,,],[,],[1,,],[,],[,],[,],[2,,],[,],[,],[,],[3,,],[,],[,],[,]]
image text in transcribed

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

Write down the circumstances in which you led.

Answered: 1 week ago