Computer architecture
Configurable CPU cache integrated into an LC2K processor simulator.
Constraint
Model how a caching processor generates and services instruction and data references across many cache shapes with one implementation.
Decision
Built a single cache_access path parameterized by block size, number of sets, and blocks per set, covering direct-mapped through fully associative.
Evidence
Validated hits, misses, dirty evictions, write-backs, and LRU replacement with an assembly-level test suite across configurations.
A unified instruction/data cache sits between the behavioral LC2K simulator and memory. The simulator runs as ./simulator program.mc blockSizeInWords numberOfSets blocksPerSet, and all transfers to memory happen in whole blocks.
Source is kept private under course academic-integrity rules; available to discuss in interviews.