In this project, I will be implementing a virtual memory system simulator. In most modern operating systems, user programs access memory using virtual addresses. The hardware and the operating system work together to turn the virtual address into a physical address, which can then be used to address into physical memory. The fi rst step of this process is to translate the virtual address into two parts: The higher order bits for the VPN, and the lower bits for the page oset. The simulator simulates a system with 1MB of physical memory. The system has a 24-bit virtual address space and memory is divided into 16KB pages. Like a real computer, my page tables and data structures live in physical memory too! Both the page table and the frame table fit in a single page in memory, and I am responsible for placing these structures into memory.

Built With

Share this project:

Updates