For this project, I simulated the operation of page tables and page replacement.
I divided this project into to 2 major tasks, which will be based on a virtual memory simulator. The first task is to implement virtual-to-physical address translation and demand paging using a two-level page table. The second task is to implement four different page replacement algorithms: FIFO, Clock, exact LRU, and OPT.
Implemented virtual-to-physical address translation and demand paging using a two-level pagetable.
Implemented each of the four different page replacement algorithms: FIFO, exact LRU, CLOCK (with one ref-bit), OPT.
Hashtable data structure is used to implement page replacement algorithms.