Purchase Solution

Computer Architecture (Cache mapping)

Not what you're looking for?

Ask Custom Question

Consider a column associative cache with 32 lines. This question assumes that all references are to memory lines; that is, a block of bytes from memory rather than a single memory word.

a. What lines do 5, 21, 34, and 50 map to directly? (Consider the references to be memory line references.)

b. What lines do 5, 21, 34 map to rehashed? (Use flipping the high bit of the index selector bits.)

Purchase this Solution

Solution Summary

As it is not specified in the question, this solution assumes that the specified memory lines references are independent of each other.

Solution Preview

Since we are having 32 cache lines, we will have 5 (2^5 = 32) index selector bits, out of which most significant index selector bit will be used for flipping in case of rehashing.

As it is not specified in the question, I am assuming that the specified memory lines ...

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C# variables and classes

This quiz contains questions about C# classes and variables.

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.

Javscript Basics

Quiz on basics of javascript programming language.

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.