UNIT-4 Memory
UNIT-4 Memory
Memory Hierarchy
• The memory unit that communicates directly with the CPU is called the main
memory. The principal technology used for the main memory is based on
semiconductor integrated circuits. Integrated circuit RAM chips are available in
two possible operating modes, static and dynamic.
• Static RAM: The static RAM consists essentially of internal flip-flops that store
the binary information. The stored information remains valid as long as power
is applied to the unit.
• Dynamic RAM: The dynamic RAM stores the binary information in the form of
electric charges that are applied to capacitors. The stored charge on the
capacitors tends to discharge with time and
• the capacitors must be periodically recharged by refreshing the dynamic
memory.
• Most of the main memory in a general-purpose computer is made up of RAM
• integrated circuit chips, but a portion of the memory may be constructed with
• ROM chips.
• The ROM portion of main memory is needed
for storing an initial program called a
bootstrap loader. The bootstrap loader is a
program whose function is to start the
computer software operating when power is
turned on.
• Since RAM is volatile, its contents are
destroyed when power is turned off. The
contents of ROM remain unchanged after
power is turned off and on again.
Memory Hierarchy
RAM Chips
• However, since a ROM can only read, the
data bus can only be in an output mode. For
the same-size chip, it is possible to have
more bits of ROM than of RAM, because the
internal binary cells in ROM occupy less
space than in RAM. For this reason, the
diagram specifies a 512-byte ROM, while the
RAM has only 128 bytes.
ROM Chips
Memory Address Map