Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

3. The table below represents the same scenario as part 2 using a write-back cac

ID: 3585188 • Letter: 3

Question

3. The table below represents the same scenario as part 2 using a write-back cache Dirty VTag Y 01 Mem[01000] Data Indexv 001 010 011 100 101 110 Y 10Mem[10010] Y 11 Mem[11110] Y 00 Mem[00111] a) Show the modified table after the following the following sequence of cache accesses (listed by address): xIE, 0xlD, 0x12, 0xlB, OxlE. Assume that underlined accesses correspond to cache writes, while all others correspond to cache reads b) Which of the accesses from part 3a result in a read hit? c) Which of the accesses from part 3aw immediately change a value in memory?

Explanation / Answer

Answers

Modify Table for Writes--

Index

V

Tag

Address

Data

000

Y

01

00001

01000

110

Y

11

11011

11110

111

Y

00

11100

00111

Modify Table for Reads--

Index

V

Tag

Address

Data

001

N

001

011

N

011

Index 001

c. Index 111 is immediate change in value.

Index

V

Tag

Address

Data

000

Y

01

00001

01000

110

Y

11

11011

11110

111

Y

00

11100

00111

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote