Skip to content

Chana030102/PSU_ECE4-585_CacheSimulator

Repository files navigation

PSU_ECE4-585_Project

Project Group

Ryan Bornhorst < [email protected] >

Aaron Chan < [email protected] >

Single Level Cache Simulator

This program will simulate a single level writeback policy cache.

Three parameters that should be variable (only powers of 2) will help define the cache structure:

  • Number of sets
  • Associativity (max 8)
  • Cache line size (limited to 32, 64, or 128 bytes)

Traces will be provided in the following format:

Access_Type Hex_Address

Access type can be either a 0 (read) or 1 (write) to indicate the operation. The Hex address should consist of the following fields in this order:

| Tag | Index | Byte Select |

Once all traces have been processed, the simulator should provide the following statistics:

  • Total number of cache accesses
  • Number of cache reads
  • Number of cache writes
  • Number of cache hits
  • Number of cache misses
  • Cache hit ratio
  • Cache miss ratio
  • Number of evictions
  • Number of writebacks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published