Memory Devices
Memory Devices
Computer System
Memory Devices
Flip-Flop: electronic memory device
Register: group of FFs, high speed,
extensively used in the internal operation of a computer
IC memory array
Capacitor: data are stored as charge of capacitor
Main memory: semoconductor memory (RAM, ROM)
It is very fast in operation but volatile
It is in constant communication with CPU (working memory)
Auxiliary memory : mass storage (Magnetic disk and CD)
It can keep storage without power.
It operates at slower speed
Stores data that are not currently being used by CPU
Memory Terminologies
Memory Terminologies
Register Array
Address Decoder
Output Buffer
ROM Timing
Types of ROM
and erased,
2. The erase operation erases the entire chip.
EEPROM
• Disadvantages of EPROM were overcome by EEPROM.
• The EEPROM retains the same floating-gate structure as the EPROM,
but with the addition of a very thin oxide region above the drain of the
MOSFET memory cell.
• This modification produces its electrical erasability by applying a high
voltage (21 V) between the MOSFET’s gate and drain.
• The erasing and programming of an EEPROM can be done in circuit
(without a UV light source and a special PROM programmer unit).
• EEPROM has ability to erase and rewrite individual bytes in the
memory array electrically.
• During a write operation, internal circuitry automatically erases all of
the cells at an address location prior to writing in the new data.
EEPROM
• Flash memories are so called because of their rapid erase and write
times.
• Most flash chips use a bulk erase operation in which all cells on the
chip are erased simultaneously; this bulk erase process requires
hundreds of ms compared to 20 minutes for UV EPROMs.
• Some newer flash memories offer a sector erase mode, where specific
sectors of the memory array can be erased at one time. This prevents
having to erase and reprogram all cells when only a portion of the
memory needs to be updated.
• A typical flash memory has a write time of 10 ms per byte compared to
100 for the most advanced EPROM and 5 ms for EEPROM.
Complexity & Cost
RAM Architecture
RAM
Types of RAM: There are two types of RAM.
• To read data from the cell, switches SW2, SW3, and SW4 are
closed, and SW1 is kept open.
• This connects the stored capacitor voltage to the sense
amplifier. The sense amplifier compares the voltage with
some reference value to determine if it is a logic 0 or 1, and
it produces a solid 0 V or 5 V for the data output.
• This data output is also connected to C (SW2 and SW4 are
closed) and refreshes the capacitor voltage by recharging or
discharging. In other words, the data bit in a memory cell is
refreshed each time it is read.
DRAM Refreshing
• Each DRAM memory cell must be refreshed periodically
(typically, every 4 to 16 ms, depending on the device) or its
data will be lost.
• This requirement would appear to be extremely difficult.
For example, a 1M * 1 DRAM has 1020 = 1,048,576 cells.
• To ensure that each cell is refreshed within 4 ms, it would
require that read operations be performed on successive
addresses at the rate of one every 4 ns.
• Fortunately, manufacturers have designed DRAM chips so
that whenever a read operation is performed on a cell, all
of the cells in that row will be refreshed.
DRAM Refreshing
• It is necessary to do a read operation only on each row of a
DRAM array once every 4 ms to guarantee that each cell of
the array is refreshed.
• However, during the normal operation of the system in
which a DRAM is functioning, it is unlikely that a read
operation will be performed on each row of the DRAM
within the required refresh time limit.
• Therefore, some kind of refresh control logic is needed
either external to the DRAM chip or as part of its internal
circuitry.
DRAM Refreshing
• There are two refresh modes: a burst refresh and a
distributed refresh.
• In a burst refresh mode, the normal memory operation is
suspended, and each row of the DRAM is refreshed in
succession until all rows have been refreshed.
• In a distributed refresh mode, the row refreshing is
interspersed with the normal operations of the memory.
• A special chip called DRAM Controller is used now.
Types of DRAM