Question

We discussed one type of cache system, a direct-mapped cache of words (DMCW), to which cache line would the word at main memory address 0x16C map to, i.e., what is the cache index? Fill in the blank with your answer, expressed as a decimal integer.

          We discussed one type of cache system, a direct-mapped cache of words (DMCW), to which cache line would the word at main memory address 0x16C map to, i.e., what is the cache index? Fill in the blank with your answer, expressed as a decimal integer.
        
Show more…

Added by James T.

Computer Science and Information Technology
Computer Science and Information Technology
Trishna Knowledge Systems 2018 Edition
AceChat toggle button
Close icon
Ace pointing down

Please give Ace some feedback

Your feedback will help us improve your experience

Thumb up icon Thumb down icon
Thanks for your feedback!
Profile picture
We discussed one type of cache system, a direct-mapped cache of words (DMCW), to which cache line would the word at main memory address 0x16C map to, i.e., what is the cache index? Fill in the blank with your answer, expressed as a decimal integer.
Close icon
Play audio
Feedback
Powered by NumerAI
Danielle Fairburn Jennifer Stoner
Ivan Kochetkov verified

Sri K and 59 other subject AP CS educators are ready to help you.

Ask a new question

*

Labs

-

Want to see this concept in action?

NEW

Explore this concept interactively to see how it behaves as you change inputs.

View Labs

*

Key Concepts

-
Key Concept
Premium Feature
Explore the core concept behind this problem.
Play button
Key Concept
Premium Feature
Explore the core concept behind this problem.
Your browser does not support the video tag.

*

Recommended Videos

-
46-points-for-a-direct-mapped-cache-design-with-a-32-bit-addressthe-following-bits-of-address-are-used-to-access-the-cache-tag-index-offset-31-12-11-6-5-0-awhat-is-the-cache-block-sizein-wor-40023

For a direct-mapped cache design with a 32-bit address, the following bits of the address are used to access the cache: Tag (31-12), Index (11-6), Offset (5-0). a. What is the cache block size in words? b. How many entries does this cache have? c. What is the ratio between the total bits required for such a cache implementation and the data storage bits?

Sri K.

c-consider-memory-system-that-consists-of-128-bytes-of-main-memory-32-bytes-of-cache-memory-and-block-size-is-8-bytes-based-on-the-direct-mapped-cache-memory-format-in-figure-q2c-find-the-fo-15782

Akash M.

please-answer-the-following-question-assume-aprocessor-has-a-direct-mapped-cache-data-words-are-8-bits-long-ie1-byte-data-addresses-are-to-the-word-a-physical-address-is-20-bits-long-the-tag-81238

Assume: A processor has a direct-mapped cache. Data words are 8 bits long, i.e. 1 byte. Data addresses refer to the word. A physical address is 20 bits long. The tag is 11 bits. Each block holds 16 bytes of data. How many blocks are in this cache?

Supreeta N.


*

Recommended Textbooks

-
Computer Science and Information Technology

Computer Science and Information Technology

Trishna Knowledge Systems 2018 Edition
achievement 1,321 solutions
Introduction to Programming Using Python

Introduction to Programming Using Python

Y. Daniel Liang 1st Edition
achievement 1,032 solutions
Computer Science - An Overview

Computer Science - An Overview

Glenn Brookshear, Dennis Brylow 12th Edition
achievement 1,883 solutions

*

Transcript

-
00:02 So, part a, the catch block size in word can be calculated by looking at the offset bit which are 5 to 0 bits.
00:18 Now, there are 6 offset bits which means that the catch block size is 2 to the power 6 that is equal to 64 words.
00:32 For the part b, the number of entries in the catch can be calculated by looking at the index bits which are 11 to 6 bits.
00:48 So, there are 6 index bits which means there are 2 to the power 6 which are 64 entries in the catch.
01:04 And for the part c, where we have to calculate the total bits required for the catch implementation, we need to consider the tag bits, index bits and offset bits...
Need help? Use Ace
Ace is your personal tutor. It breaks down any question with clear steps so you can learn.
Start Using Ace
Ace is your personal tutor for learning
Step-by-step explanations
Instant summaries
Summarize YouTube videos
Understand textbook images or PDFs
Study tools like quizzes and flashcards
Listen to your notes as a podcast
Continue solving this problem
Create a free account to:
  • View full step-by-step solution
  • Ask follow-up questions with Ace AI
  • Save progress and study later
Continue Free
Numerade

Get step-by-step video solution
from top educators

Continue with Clever
or



By creating an account, you agree to the Terms of Service and Privacy Policy
Already have an account? Log In

A free answer
just for you

Watch the video solution with this free unlock.

Numerade

Log in to watch this video
...and 100,000,000 more!


EMAIL

PASSWORD

OR
Continue with Clever