MODULE-4 - Memory-System
MODULE-4 - Memory-System
and
Architecture
Carl Hamacher, Zvonko Vranesic, Safwat
Zaky,
Computer Organization, 5th
Edition,
Tata McGraw Hill, 2002.
Module-4
MEMORY SYSTEM
Basic Concepts
The maximum size of the memory that
can be used in any computer is
determined by the addressing scheme.
For example, a computer that generates
Processor Memory
k-bit
address bus
MAR
n-bit
data
bus Up to 2 k
MDR addressable
locations
Word length = n
Control lines bits
( R /W, MFC, etc.)
Basic Concepts..
The processor reads data from the
memory by loading the address of the
required memory location into the MAR
register
The R/Wഥ line is set to 1.
The memory responds by placing the data
from the addressed location onto the data
lines, and confirms this action by asserting
the MFC signal.
Upon receipt of the MFC signal, the processor
loads
the data on the data lines into the MDR
Basic Concepts..
The processor writes data into a memory
location by loading the address of this
location into MAR and loading the data into
MDR.
The R/Wഥ line is set to 0.
If read or write operations involve
consecutive address locations in the main
memory, then a "block transfer" operation
can be performed.
The only address sent to the memory is the
one that
identifies the first location.
Basic Concepts..
Measures for the speed of a
memory:
Memory access time - time that elapses
between the initiation of an operation
and the completion of that operation
Memory cycle time - minimum time
a
256M × 4 organization, in which case a
Static Memories
Memories that consist of circuits
capable of retaining their state as
long as power is applied are known
as static memories.
Static RAM (SRAM)
Figure 5.4 illustrates how a static RAM (SRAM) cell
may
be implemented.
Two inverters are cross-connected to form a latch.
The latch is connected to two bit lines by
transistors T1
and T2.
These transistors act as switches that can be
opened or closed under control of the word line.
When the word line is at ground level, the
transistors are turned off and the latch retains
its state.
For example, if the logic value at point X is 1 and
SRAM Cell
Static RAM (SRAM)..
Read operation:
The word line is activated to close
switches T1
and T2.
′ is low.
of each other.
The Sense/Write circuit at the end of
Static RAM (SRAM)..
Write operation:
The Sense/Write circuit drives bit lines 𝑏
as just explained.
For example, in state 1, the voltage at
erasure.
It is possible to erase the cell
contents selectively.
The only disadvantage of EEPROMs is
memory sizes.
Typical sizes are 8, 32, and 64 Mbytes.
A minute of music can be stored in about 1
Mbyte of memory, using the MP3 encoding
Flash Drives
Flash drives are designed to fully
emulate the hard disks.
The storage capacity of flash
System bus
Disk controller
disks
RAID2, 3, 4 – increased reliability