Consider a memory system that uses 32-bit memory addresses and a cache with a block size of 128 bytes. a. Assume a direct mapped cache with a tag field in the address of 20 bits. Determine the number of cache blocks, and the number of bits required for the byte offset
Added by Hunter M.
Step 1
Step 1: Calculate the number of cache blocks: Number of cache blocks = Total memory size / Block size Total memory size = 2^32 (32-bit memory addresses) Block size = 128 bytes Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 82 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
Akash M.
Find the number of bits in the cache index and tag for a direct mapped cache of size $32 \mathrm{~KB}$ with block size of 32 bytes. The CPU generates 48 -bit addresses. (A) 33,15 (B) 15,10 (C) 10,33 (D) 15,33
Computer Organization and Architecture
Cache and Main Memory, Secondary Storage
Consider a cache with 64 blocks and a block size of 16 bytes. The byte address of 1200 maps to ______ block number. (A) 10 (B) 11 (C) 64 (D) 16
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD