Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the following questions, assume that the memory system uses byte addressable that are 32-bit long. In addition, assume all data words in such memory

image text in transcribed
For the following questions, assume that the memory system uses byte addressable that are 32-bit long. In addition, assume all data words in such memory consists of 4-bytes (32-bits). Answer the following questions: Design a 4-way set associative cache that can store 1 M byte of data. Assume each cache block consist of 8 data words. Make sure to indicate the total number of cache sets, size of tag/data field, and which part of the address is used as tag and cache set selection. In addition, show all wirings needed to identify the hits and the section of appropriate set/word in the cache. What is the total number of bits needed to implement the cache if it has valid and dirty bit fields? Show your work. Given the following memory byte addresses, identify whether it is a hit or a miss assuming an initially empty cache: 0D (00000000H), 671090688D (28000800H), 24D (00000018H), 671088664D (28000018H), 13421774D (28000040H) Assume the cache uses an LRU replacement algorithm. In addition, show the final content of cache for the given address sequence

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

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago