|
|
|
|
|
|
|
Figure 7.15
Address distribution. |
|
|
|
|
|
|
|
|
Consider a memory consisting of 5 modules of 4 words each (representing 20 words, 0 through 19). |
|
|
|
|
|
|
|
|
That is, address 11 will be contained in word 3 (11 mod 4) and module 1 (11 mod 5). Of course, the above pairing works equally well for pairs of the form (a1, a2): |
|
|
|
|
|
|
|
|
For the problem at handmanaging strideclearly some mods of the form 2k ± 1 are better than others, as they are prime. Thus, if about 4 memory modules were required, we would choose 5 as the prime number of modules. |
|
|
|
|
| Approximate number of modules required (determined by Bw requirements) | Choose prime of form 2k ± 1 | | | | | | | | | | |
|
|
|