Interleaved Memory Organisation, Associative Memo
Interleaved Memory Organisation, Associative Memo
Table of Contents:
Background
Memory Interleaving
Types of Interleaving
Conclusion
Background
Implementation
Memory Interleaving
Here, the main memory is constructed with multiple modules.
Memory chips can be organised in banks to read or write multiple
words at a time rather than a single word. These memory modules
are connected to a system bus or a switching network to which
other resources such as processors or I/O devices are connected
to communicate with memory modules. A memory array is thus
formed with these memory modules when each memory module
has its own address register and data register (like MAR and MBR).
Types of Interleaving
Low-order X-bits of the memory address is used to identify the
target memory module (bank). The high-order Y-bits of the said
memory address are the word address (displacement or offset) of
the target location within each module. The same address can be
applied to all memory modules simultaneously. Such type of
arrangement of modules to support memory addressing is called
low-order interleaving. Figure 4.39 illustrates the scheme of this
interleaving. In this arrangement, contiguous memory locations
are
FIGURE 4.39
FIGURE 4.41
Conclusion
Some aspects of this memory organisation encourage low-order
interleaving, other aspects indicate a clean sweep in favour of
high-order interleaving. However, high-order and low- order
interleaving can again be combined to yield many different
interleaved memory organisations. These different types,
however, offer normally a better bandwidth and that too, even in
the case of module failure. One of such representative
organisations is shown in Figure 4.42 using a four-way low-order
interleaving for a clear understanding of this hybrid organisation.
Here, low-order interleaving is organised in each of two memory
banks.
to four words per memory cycle, since only one of two faulty
banks will be invalid. The pure low-order interleaving in this
situation makes the entire memory bank out of use.
Implementation
Input register (I): The input register I holds the input. This
means that it holds the data to be written into the associative
memory, or the data to be searched for. At any instant, it holds
one word of data, i.e. a string of n bits of the memory.
Consequently, the length of the input register is n-bit.
If several entries have the same key (i.e. more than one match),
then the select circuit determines which data field to be read out;
it may, for example, read out all matched entries in some pre-
determined order. Since, all words in the memory (storage cell
arrays) are
FIGURE 4.44
Based on how bit slices are involved in the operation, there are
mainly two different associative memory organisation:
The logic circuit for a 1-bit associative memory cell with figure
is given in the web site: http://routledge.com/9780367255732.