Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. Given a 4KiB direct-mapped cache with block size of 16 bytes (assume write-back write allocate policy). The memory is byte-addressed. Trace through the following
4. Given a 4KiB direct-mapped cache with block size of 16 bytes (assume write-back write allocate policy). The memory is byte-addressed. Trace through the following accesses in cache. (15 pts) 0xAllB (read) OxBl 1C (write) 0x022B (write) 0x122B (read) 0xl11C (read) a. Show the address breakdown for each access, b. What is the total tag storage of the cache? (include tag, valid bit, and dirty bit) c. For all the lines referenced, show the state of each line after each access. (show tag, valid bit, and dirty bit) d.How many misses? How many writebacks? What is the miss rate? e. If we keep the cache size the same while increasing the associativity of the cache to 2- way, is this a good design choice
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started