Memory Interleaving Example
Memory Interleaving Example
Solution
1. Designing a low order memory interleaving
a) 256 byte can be addressed by using 8-bits or n=8
b) 4 cache block means that the four way interleaving or m=2
c) Then 𝑀 = 2𝑚 = 22 = 4
d) n-m=8-2=6,then M memory address registers(MAR) of 6-bits are required
e) also M data address registers(DAR) of one byte wide are required
f) the indices of banks are 0,1,2,2𝑚 − 1 = 0,1,2,22 − 1 = 0,1,2,3
2. Timing diagram
1ns 3ns 1ns
A0 D0
A1 D1
A2 D2
A3 D3
A0