In this project, you will write a code that simulates the operation of the virtual memory. The code simulates the Page Table, the TLB and the Frame Table.

computer science

Description

In this project, you will write a code that simulates the operation of the virtual memory. The code simulates the Page Table, the TLB and the Frame Table. To keep the project simple, we’ll assume there is only one process running and, therefore, there’s one page table in the simulation. Below are the parameters of the virtual memory system we’re considering.


In the simulation, we’re using all the design criteria we’ve studied. Pages are placed in a fully associative way in the memory. We use the write-back scheme with the dirty-bit optimization. The replacement scheme is the Least Recently Used (LRU) approximation using the reference bit.


The three data structures shown below represent the main data of the simulation.


Related Questions in computer science category