Assume that a program has just referenced an address in virtual memory
Added by Danielle J.
Step 1
Step 1: The program sends a request to access a specific address in virtual memory. Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 98 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Akash M.
Consider a memory subsystem with the following characteristics: 20-bit virtual address 16-bit physical address 210-byte (1KB) page size 4-way set-associative TLB with 8 total lines 4-way set-associative data cache with 16 total lines and a block size of 8 bytes Determine the virtual address breakdown into the following fields: (for each bit range below, specify the start index followed by the end index; e.g., 0-5, 4-4, 6-10) Virtual page offset bits: Virtual page number bits: TLB index: TLB tag: Determine the physical address breakdown into the following fields: (for each bit range below, specify the start index followed by the end index; e.g., 0-5, 4-4, 6-10) Physical page offset bits: Physical page number bits: Cache offset: Cache index: Cache tag:
Explain how to find the physical memory address from the logical address, and give an example to calculate the memory address.
Madhur L.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD