Consider a 4-way set associative cache (E = 4). Which one of the following statements it true The cache has 4 lines per set. The cache has 4 blocks per line. The cache has 4 sets per block. The cache has 4 sets per line. None of the above.
Added by Jaclyn N.
Close
Step 1
In a set associative cache, each memory block can be mapped to multiple sets. In this case, each memory block can be mapped to 4 different sets. Now let's analyze the given statements: Show more…
Show all steps
Your feedback will help us improve your experience
Gio Maya and 70 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Consider a 4-way set associative cache made up of 64-bit words. The number of words per line is 8, and the number of sets is 4096. What is the cache size? a) 1 MB b) 10 MB c) 4 MB d) 512 MB
Liliane M.
A set associative cache consists of 64 lines or slots divided into four-line sets. Main memory contains $4 \mathrm{~K}$ blocks of 128 word each. Then the number of bits present in tag, set and word fields are respectively. (A) $7,6,7$ (B) $6,7,7$ (C) $4,8,7$ (D) $8,4,7$
Computer Organization and Architecture
Cache and Main Memory, Secondary Storage
A 2-way set associative cache consists of 8 blocks. Byte-addressable main memory contains 4K blocks of 8 bytes each. Initially, the cache is empty. The least recently used (LRU) algorithm is used for the replacement policy. Show the main memory address format that allows us to map addresses from main memory to cache. Be sure to include the fields as well as their sizes.
Supreeta N.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD