The cache has a total capacity of 16MB, uses 64-byte lines, and is 16-way set associative. It employs a write allocate policy and uses the MESI protocol to ensure cache coherence. The replacement policy is implemented with a pseudo-LRU scheme.
+---Files
| default.din
| emty.din
| rwims.din
|
+---Test Plan
| | Test_plan.docx
| | Test_plan.pdf
| |
LLC_Cache.sv
LLC_defs.sv
tb_LLC_cache.sv
vlog +define+DEBUG tb_LLC_cache.svvlog tb_LLC_cache.svvsim -c tb_LLC_cache -do "run -all" +trace_file=rwims.din- Byte Line: 64 bytes
- Associativity: 4-way set
- Write Policy: Write-once (initial write-through, subsequent write-back)
- Implements MESI protocol for cache coherence.
- Supports silent and debug simulation modes.
- Provides detailed statistics, including cache hit/miss ratios and MESI state transitions.
- Validates read and write operations.
- Tests Pseudo-LRU functionality for efficient replacement.
- Evaluates MESI FSM transitions for different cache scenarios.
This project was undertaken as part of the ECE585 course at Portland State University under the guidance of Prof. Mark G. Faust.