Skip to content

hfejdyfmk/CacheSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache simulation

Description

  • Language: C++
  • Test cases:
    • 1st input: cache#.org
    • 2nd input: reference#.lst

Introduction

  • Indexed policy: LSB
  • Replacement policy: NRU

This program is to simulate cache behavior. The first input files gives a cache with M-bit address bits, B-byte block size, E cache sets, and using A-way set associativity. The second input file assigns a series of referenced block address. Finally output the record of hit/miss into another file.

flowChart

About

Indexed policy: LSB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages