Skip to content

yeadamk/cpu-cache-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU Cache Simulator

Simulation of multi-level memory:

  • One CPU register
  • Three levels of fully associative cache (L1, L2, L3)
  • Memory (or RAM)

The 'sample' file provides 11 hex address values which should output a total of 3,471 cycles.

Usage

make && ./cache
Usage: ./cache [-l] [-f]  
  -l: Displays all occupied cache lines (file mode only)  
  -f: Input file

About

CPU Cache Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published