Purchase Solution

Format of Memory Address for Various Cache Organizations

Not what you're looking for?

Ask Custom Question

Consider a byte-addressable computer with 24-bit addresses, a cache capable of storing a total of 64KB of data, and blocks of 32 bytes. Show the format of a 24-bit memory address for:

A. Direct Mapped Cache: word, block, tag (number of bits in decimal)
B. Fully Associative Cache: word, tag (number of bits in decimal)
C. 4-way set Associative Cache: word, set, tag (number of bits in decimal)

Purchase this Solution

Solution Summary

Solution shows relevant computations as to how the size of different fields of memory address is obtained in each case.

Solution Preview

Given that it is a byte-addressable computer with 24-bit addresses.

Size of cache (Sc) = 64 KB or 64*1024 bytes or 2^16 bytes
Size of cache block (Sb) = 32 bytes or 2^5 bytes
Number of cache blocks (Nb) = Sc/Sb = 2^16/2^5 = 2^11

A. In case of direct ...

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

C# variables and classes

This quiz contains questions about C# classes and variables.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.