Professional Documents
Culture Documents
RAM
• RAM STANDS FOR _____________.
• Used to store_________ and __________ in a computer.
• CPU can execute a program if program resides in ___________
memory.
What is required to design a main memory?
BINARY INFORMATION
STATIC RAM
Question: For how long the information is valid?
STATIC RAM
Question: For how long the information is valid?
Ans: The stored data remains valid considering power is provided to the
unit.
Dynamic ram
• Stores the information in the form of electric charges that are applied
to the _____________.
Dynamic ram
• Stores the information in the form of electric charges that are applied
to the _____________.
CAPACITORS
Dynamic ram
• The capacitors are made available inside the chip by Metal Oxide
Semiconductor (MOS) transistors.
• The stored value on the capacitors contributes to discharge with time
and thus, the capacitors should be regularly recharged by refreshing
the dynamic memory.
CAPACITORS
Random Access Memory
MICROPROCESSOR
STATIC RAM
STATIC RAM
• The static ram consist of _________ ____________ that stores binary
information.
STATIC RAM
• The static ram consist of internal flip-flops that stores binary
information.
• The stored information remains valid ________________.
STATIC RAM
• The static ram consist of internal flip-flops that stores binary
information.
• The stored information remains valid as long as power is applied to
the unit.
DRAM
DRAM
• SRAMs are faster but their cost is high because their cells require
many transistors. RAMs can be obtained at a lower cost if simpler
cells are used.
(DRAM) Which storage cell based on
capacitors can be used to replace the SRAM
cells?
(DRAM) Which storage cell based on capacitors
can be used to replace the SRAM cells?
• A MOS storage cell based on capacitors can be used to replace the
SRAM cells.
• Such a storage cell cannot preserve the charge (that is, data)
indefinitely and must be recharged periodically.
• Therefore, these cells are called dynamic storage cells.
• RAMs using these cells are referred to as Dynamic RAMs or simply
DRAMs.
Typically RAM chip
Typically RAM chip
•A 128 * 8 RAM chip has a memory capacity of 128
words of eight bits (one byte) per word. This requires a 7-
bit address and an 8-bit bidirectional data bus.
•The 8-bit bidirectional data bus allows the transfer of
data either from memory to CPU during a read operation
or from CPU to memory during a write operation.
•The read and write inputs specify the memory operation,
and the two chip select (CS) control inputs are for
enabling the chip only when the microprocessor selects it.
•The bidirectional data bus is constructed using three-
state buffers.
•The output generated by three-state buffers can be placed
in one of the three possible states which include a signal
equivalent to logic 1, a signal equal to logic 0, or a high-
impedance state.
Typically RAM chip
Since RAM is volatile, Its contenst are destroyed when power is turned
off.
The contents of ROM remain unchanged after power is turned off and
on again.
ROM
COMPUTER STARTUP
• The startup of the computer consists of turning the computer on
and starting the execution of an initial program.
•When the power is on, the hardware of the computer sets the
program counter to the first address of the bootstrap loader.
•Bootstrap loads a portion of operating system from disk to main
memory and control is transferred to operating system.
ROM
ROM chips are also available in a variety of sizes and are also used as
per the system requirement.
The following block diagram demonstrates the chip interconnection in a
512 * 8 ROM chip.
ROM