previous
 next 
CS 3853 Computer Architecture Notes on Appendix B Section 4


Read Appendix B.4

Today's News: October 9, 2015
Assignment 2 is still available

B.4: Virtual Memory

Paged Virtual Memory

We will only look at paged virtual memory and not discuss segmented memory.

Virtual Memory Terminology
Where can a block be placed in memory?
anywhere

Today's News: October 12, 2015
No news


How is a block found in main memory?

Which block (page) should be replaced on a virtual memory miss
A virtual memory miss causes an interrupt and the OS handles it. Take the OS course.

What happens on a write?
write-back and write-allocate are always used.

Typically, caches use physical addresses.
Before you can look up something an the L1 cache, you need to convert the logical address to a physical address.
Both the address translation and L1 cache lookup need to be completed in 1 cycle.
This is typically done by overlapping part of the address translation and cache lookup.

There are 2 parts to a cache lookup:
1. Read the appropriate cache tags from the cache
2. Compare the cache tags to the memory address tag.
How can you start the first of these before you have the physical address?
An example:
Figure B.17 shows a hypothetical processor with: Find an error in Figure B.17.
Next Notes

Back to CS 3853 Notes Table of Contents