Blocking Cache Memory System
I designed a cache in SystemVerilog with direct-mapped and two-way set-associative configurations.
- It uses write-back and write-allocate policies.
- I built the control logic for cache misses, memory refills, and dirty-line evictions.
- The two-way version replaces the least recently used cache line.
- I tested it with directed and randomized memory transactions.