Please answer following questions: 1. Explain following basic concepts: (1) Cont
ID: 1801963 • Letter: P
Question
Please answer following questions:
1. Explain following basic concepts:
(1) Context switch
(2) Page fault
(3) Cache miss and cache locality
(4) Stack frame
(5) Virtual memory
(6) System memory map
(7) Interruption/exeception
2. Explain following basic building blocks:
(1) Translation Lookaside Buffer (TLB)
(2) Memory Management Unit (MMU) and Memory Protection Unit (MPU)
(3) Cache
(4) Single Instruction Multiple Data (SIMD)
(5) Peripheral Component Interconnect Express (PCIe)
3. MMU linear address translation
Please draw a diagram for page size is 4Mbyte instead of 4K byte and label the number of bits for addresses as Figure 5.9.
4. Cache Design
Please refer to the reference diagram (Figure 5.11) and design an associate date cache by determining number of bits for TAG, set index, and offset with following assumptions:
a. Total cache size: 32k byte
b. Cache line: 32 byte
c. 8-way associative cashe
d. Byte-address memory
e. Physical address is 32 bit
Explanation / Answer
image not found