Cypredar / Ji-Cache

A simple implementation of cache storage mechanism.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ji-Cache

A simple implementation of cache storage mechanism.
Cache Layout:
  • TotalSize: 138KB

  • CacheLine: 8B/32B/64B

  • AssociationStrategy: full-associative/8-way/4-way/directly-associative

Replace Strategy:
  • BinaryTree

  • LRU

  • RANDOM

WRITE Strategy:
  • WriteThrough

  • WriteBack

  • WriteAllocate

  • WriteNotAllocate

Environment:gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
make
./main

About

A simple implementation of cache storage mechanism.


Languages

Language:C++ 99.3%Language:Makefile 0.7%