Memory 3
Memory 3
Main Memory
internal Memory Technology
Outline
• Semiconductor Main Memory Overview
• Organization
• Types of Semiconductor Memories
• RAM
• DRAM
• SRAM
• Types of ROM
• Error Correction
Semiconductor Main Memory Overview…
• Organization
• the use of semiconductor chips for main memory is almost universal
• Basic element of a semiconductor memory
• is a memory cell
• Although a variety of electronic technologies are used
• All memory cells are share certain properties: they
• Exhibit two stable states --- used to represent binary 1/0
• Capable of being written into --- set the state
• Capable of being read from --- sense the state
Semiconductor Main Memory Overview…
• Organization …
• Operation of a memory cell
• The cell has three functional terminals
• Select terminal
• Selects a memory cell for a read or write operation
• Control terminal
• Indicates read or write operation
Semiconductor Main Memory Overview…
For the write operation, a voltage signal is applied to the bit line; a high
voltage represents 1, and a low voltage represents 0.
A signal is then applied to the address line, allowing a charge to be
transferred to the capacitor.
For the read operation, when the address line is selected, the transistor
turns on and the charge stored on the capacitor is fed out onto a bit line
and to a sense amplifier.
The sense amplifier compares the capacitor voltage to a reference value
and determines if the cell contains a logic 1 or a logic 0.
The readout from the cell discharges the capacitor, which must be restored
to complete the operation.
Although the DRAM cell is used to store a single bit (0 or 1), it is essentially
an analog device.
Semiconductor Memory...
• Static RAM
• static RAM (SRAM) is a digital device that uses the same logic elements
used in the processor.
• In a SRAM, binary values are stored using traditional flip-flop logic-gate
configurations .
• A static RAM will hold its data as long as power is supplied to it.
• Bits stored using flip flops, on/off switches
• No refreshing needed when powered
• More complex construction
• Larger per bit
• More expensive
• Faster
• Used for cache memory
Semiconductor Memory...
• Static RAM Structure
• Four transistors
• (T 1 ,T 2 ,T 3 ,T 4 ) are cross connected in an arrangement that
produces a stable logic state.
Semiconductor Memory...
• Static RAM Operation
• Transistor arrangement gives stable logic state
• State 1
• C1 high, C2 low
• T1 T4 off, T2 T3 on
• State 0
• C2 high, C1 low
• T2 T3 off, T1 T4 on