Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A processor has a 32-byte memory and an 8-byte direct-mapped cache. Table 0 shows the current state of the cache. Write hit or miss under

A processor has a 32-byte memory and an 8-byte direct-mapped cache. Table 0 shows the current state of the cache. Write hit or miss under the each address in the memory reference sequence below. Show the new state of the cache for each miss in a new table, label the table with the address, and bold the change: (20 points)

Hint: This is similar to example on page 386 387 (Example 5.9) or slides 6 11 in Chapter 5 Part 2 PowerPoint slides.

Addr

10011

00001

00110

01010

01110

11001

00001

11100

10100

Hit/Miss

0. Initial State

Index V Tag Data
000 N

001 Y 00 Mem(00001)
010 N

011 Y 11 Mem(11011)
100 Y 10 Mem(10100)
101 Y 01

Mem (01101)

110 Y 00 Mem(00110)
111 N

1.______________________________________

Index V Tag Data
000

001

010

011

100

101

110

111

2._______________________________________

3.______________________________________

Index V Tag Data
000

001

010

011

100

101

110

111

4.________________________________________

Index V Tag Data
000

001

010

011

100

101

110

111

5. ________________________________________

Index V Tag Data
000

001

010

011

100

101

110

111

6._________________________________________

Index V Tag Data
000

001

010

011

100

101

110

111

7.________________________________________

Index V Tag Data
000

001

010

011

100

101

110

111

What is the hit and miss rate of the direct-mapped cache in the exercise above? (5 points)

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

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions

Question

What is IUPAC system? Name organic compounds using IUPAC system.

Answered: 1 week ago

Question

What happens when carbonate and hydrogen react with carbonate?

Answered: 1 week ago

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago