COA_Module4
COA_Module4
STATIC MEMORIES
Memories that consist of circuits capable of retaining their state as long as power is
applied are known as static memories. Figure 8.2 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 at point Y is 0, this state
is maintained as long as the signal on the word line is at ground level.
After the transistor is turned off, the capacitor begins to discharge. The
information stored in the cell can be retrieved correctly only if it is read before the
charge in the capacitor drops below some threshold value. During a Read operation,
the transistor in a selected cell is turned on. A sense amplifier connected to the bit
line detects whether the charge stored in the capacitor is above or below the
threshold value. If the charge is above the threshold, the sense amplifier drives the
bit line to the full voltage representing the logic value 1. As a result, the capacitor is
recharged to the full charge corresponding to the logic value 1. If the sense amplifier
detects that the charge in the capacitor is below the threshold value, it pulls the bit
line to ground level to discharge the capacitor fully. Thus, reading the contents of a
cell automatically refreshes its contents. Since the word line is common to all cells
in a row, all cells in a selected row are read and refreshed at the same time.
A 16 Megabit DRAM chip, configured as 2M × 8, is shown in Figure 5.7. The
cells are organized in the form of a 4K x 4K array. The 4096 cells in each row are
divided into 512 groups of 8. A row can store 512 bytes of data. 12 address bits are
needed to select a row. Another 9 bits are needed to specify a group of 8 bits in the
selected row. Thus, a 21 bit address is needed to access a byte in this memory. The
high order 12 bits constitute the row address and the low order 9 bits of the address
constitute column address of a byte.
During a Read or a Write operation, the row address is applied first. It is
loaded into the row address latch in response to a signal pulse on the Row Address
Strobe (RAS) input of the chip. Then a Read operation is initiated, in which all cells
on the selected row are read and refreshed. Shortly after the row address is loaded,
the column address is applied to the address pins and loaded into the column
address latch under control of the Column Address Strobe (CAS) signal. The
To ensure that the contents of a DRAM are maintained, each row of cells must be
accessed periodically. A refresh circuit usually performs this function automatically.
Fast Page Mode: Suppose if we want to access the consecutive bytes in the selected
row. This can be done without having to reselect the row. Add a latch at the output
of the sense circuits in each row. All the latches are loaded when the row is selected.
Consecutive sequence of column addresses can be applied under the control signal
CAS, without reselecting the row. This allows a block of data to be transferred at a
much faster rate than random accesses. A small groups of bytes is referred to as
blocks and larger groups as pages. This transfer capability is referred to as the fast
page mode feature.
To read the state of the cell, the word line is activated. Thus, the transistor
switch is closed and the voltage on the bit line drops to near zero if there is a
connection between the transistor and ground. If there is no connection to ground,
the bit line remains at the high voltage, indicating a 1. A sense circuit at the end of
the bit line generates the proper output value. Data are written into a ROM when it
is manufactured.
Programmable Read Only Memory (PROM): Allows the data to be loaded by a user.
Programmability is achieved by inserting a fuse at point P in Figure 5.12. Before it
is programmed, the memory contains all 0s. The user can insert 1’s at the required
locations by burning out the fuses at these locations using high current pulses. This
process is irreversible. PROMs provide flexibility & convenience. PROMs provide a
faster & less expensive approach because they can be programmed directly by user.
Erasable Programmable Read Only Memory (EPROM): Allows the stored data to
be erased and new data to be loaded. It provides considerable flexibility during the
development phase of digital systems. They can be used in place of ROMs while
software is being developed. Memory changes and updates can be easily made. An
EPROM cell has a structure similar to the ROM cell in Figure 5.12. The connection
to ground is always made at point P and a special transistor is used, which has the