write a simulator that reads a memory trace and simulates the action of a virtual memory system with a single level page table.
Your task is to write a simulator that reads a memory trace and simulates the action of a virtual memory system with a single…