Podcast
Questions and Answers
The hardware uses the top two bits of the virtual address to determine the ______ register to use
The hardware uses the top two bits of the virtual address to determine the ______ register to use
segment
The bottom 12 bits of the virtual address serve as the ______ into the segment
The bottom 12 bits of the virtual address serve as the ______ into the segment
offset
By adding the base register to the offset, the hardware calculates the final ______ address
By adding the base register to the offset, the hardware calculates the final ______ address
physical
If the offset is greater than or equal to the bounds of the segment, a ______ fault is raised
If the offset is greater than or equal to the bounds of the segment, a ______ fault is raised
The SEG_MASK value would be set to ______
The SEG_MASK value would be set to ______
The OFFSET_MASK value would be set to ______
The OFFSET_MASK value would be set to ______
What is the highest legal virtual address in segment 0?
What is the highest legal virtual address in segment 0?
What about the lowest legal virtual address in segment 1?
What about the lowest legal virtual address in segment 1?
What are the lowest and highest illegal addresses in this entire address space?
What are the lowest and highest illegal addresses in this entire address space?
Finally, how would you run segmentation.py with the -A flag to test if you are right?
Finally, how would you run segmentation.py with the -A flag to test if you are right?
What base and bounds would you set up so as to get the simulator to generate the following translation results for the specified address stream: valid, valid, violation,..., violation, valid, valid?
What base and bounds would you set up so as to get the simulator to generate the following translation results for the specified address stream: valid, valid, violation,..., violation, valid, valid?
How should you configure the simulator to generate roughly 90% of valid virtual addresses?
How should you configure the simulator to generate roughly 90% of valid virtual addresses?
The hardware uses segment registers during ______.
The hardware uses segment registers during ______.
One common approach is to chop up the address space into segments based on the top few bits of the virtual ______.
One common approach is to chop up the address space into segments based on the top few bits of the virtual ______.
If we use the top two bits of our 14-bit virtual address to select the segment, our virtual address looks like this: 13 12 11 10 9 ______.
If we use the top two bits of our 14-bit virtual address to select the segment, our virtual address looks like this: 13 12 11 10 9 ______.
If the top two bits are 00, the hardware knows the virtual address is in the ______ segment.
If the top two bits are 00, the hardware knows the virtual address is in the ______ segment.
If the top two bits are 01, the hardware knows the address is in the ______.
If the top two bits are 01, the hardware knows the address is in the ______.
The hardware knows the address is in the heap, and thus uses the heap base and ______.
The hardware knows the address is in the heap, and thus uses the heap base and ______.