Essentials of Computer Organization and Architecture
Essentials of Computer Organization and Architecture
5th Edition
ISBN: 9781284123036
Author: Linda Null
Publisher: Jones & Bartlett Learning
bartleby

Videos

Expert Solution & Answer
Book Icon
Chapter 6, Problem 10E

a)

Explanation of Solution

Given:

  • The size of the cache is 221; the size of the address bit will be 21.
  • The number of address bit is considered to n when the size of the cache is 2n.
  • Cache contains 64 blocks
  • Each block contains 4 bytes.

Set field:

The below is used to calculate the number of bits present in the set field.

Number of set=NumberofblocksAssociativity=642=32=25

Therefore, 5 bits are required for the set field

b)

Explanation of Solution

Given:

  • The size of the cache is 221; the size of the address bit will be 21.
  • The number of address bit is considered to n when the size of the cache is 2n.
  • Cache contains 64 blocks
  • Each block contains 4 bytes.

Set field:

The below is used to calculate the number of bits present in the set field.

Number of set=NumberofblocksAssociativity=644=16=24

Therefore, 4 bits are required for the set field

Blurred answer
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Instruction Format (With reference to address); Author: ChiragBhalodia;https://www.youtube.com/watch?v=lNdy8HREvgo;License: Standard YouTube License, CC-BY