Question: Extend the template cache.cpp in memory.zip to Implement a virtually indexed, virtually tagged cache. Ensure that cache.cpp performs essential cache operations: Cache Reference: Check if
Extend the template cache.cpp in memory.zip to Implement a virtually indexed, virtually tagged cache.
Ensure that cache.cpp performs essential cache operations:
Cache Reference: Check if a memory reference hits or misses in the cache.
Cache Placement Mapping Function: Determine where to place an incoming block in the cache on a miss.
Cache Replacement: Implement LRU cache replacement policy
The LRU cache replacement policy simulation must accurately report statistics such as hit rate, miss rate, eviction rate, data movement in bytes, and cache utilization.
Create a Makefile that compiles and runs your program efficiently.
Write a README or a text file that clearly explains the structure of your LRU cache replacement policy simulator. Include details on any dependencies, and provide stepbystep instructions on how to use the Makefile to compile and run the program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
