Simple cache simulator. The Java version is used during the computer architecture course.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Cache.hs
DirectMappedCache.hs
FullyAssociativeCache.hs
LRUQueue.hs
Main.hs
NWayAssociativeCache.hs
README.markdown
ReplacementQueue.hs

README.markdown

CacheSim

This is a simple implementation of a cache simulator. Basically, the simulator processes an address stream and passes it to the chosen cache implementation, so students can see what the hit/missrates are for different cache organisations and configurations.

The simulator provides three implementation at this point, all of which are defined in terms of the n-way set associative cache.

  • DirectMappedCache
  • FullyAssociativeCache
  • NWaySetAssociativeCache