Skip to content

Simulating TLB and its interfacing with Page Table (Virtual memory concepts)

Notifications You must be signed in to change notification settings

aakashks/TLB-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Memory - TLB Simulation

Part of ECN 207- Computer Architecture and Organization course

Simulates LRU policy TLB in C++

Detailed problem statement is in question.md

How to run

run test.sh (assuming gcc compiler is installed)

What is TLB?

TLB stands for Translation Lookaside Buffer. It is a cache which is needed for virtual memory.

  • stores the recent translations of virtual page numbers to physical page numbers
  • used to reduce the time taken to access the physical memory
  • if the mapping is not found in TLB, then it is searched in the page table
  • it is a small cache, so it is faster than page table

Some abbreviations used in the code

  • TLB - Translation Lookaside Buffer
  • VPN - Virtual Page Number
  • PFN - Physical Frame Number
  • LRU - Least Recently Used

References

About

Simulating TLB and its interfacing with Page Table (Virtual memory concepts)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published