Memory Organization
Memory Organization
Memory Organization
Memory Hierarchy
Memory is used for storing programs and data that are required to
perform a specific task.
For CPU to operate at its maximum speed, it required an uninterrupted
and high speed access to these memories that contain programs and data.
Some of the criteria need to be taken into consideration while deciding
which memory is to be used:
• Cost
• Speed
• Memory access time
• Data transfer rate
• Reliability
How Memories attached to CPU
A computer system contains various types of memories like auxiliary memory,
cache memory, and main memory.
• Auxiliary Memory
The auxiliary memory is at the bottom and is not connected with the CPU directly.
However, being slow, it is present in large volume in the system due to its low
pricing. This memory is basically used for storing the programs that are not needed
in the main memory. This helps in freeing the main memory which can be utilized
by other programs that needs main memory. The main function of this memory is
to provide parallel searching that can be used for performing a search on an entire
word.
• Main Memory
The main memory is at the second level of the hierarchy. Due to its direct
connection with the CPU, it is also known as central memory. The main memory
holds the data and the programs that are needed by the CPU. The main memory
mainly consists of RAM, which is available in static and dynamic mode.
• Cache Memory
Cache memory is at the top level of the memory hierarchy. This is a high speed
memory used to increase the speed of processing by making current programs
and data available to the CPU at a rapid rate. Cache memory is usually placed
between the CPU and the main memory.
Main Memory
• Central storage unit in a computer system
• Large memory
• Made up of Integrated chips
• Types:
RAM (Random access memory)
ROM (Read only memory)
RAM (Random Access Memory)
Random access memory (RAM) is the best
known form of computer memory. RAM is
considered "random access" because you can
access any memory cell directly if you know
the row and column that intersect at that cell.
Types of RAM:-
• Static RAM (SRAM)
• Dynamic RAM (DRAM)
• Static RAM (SRAM)
– a bit of data is stored using the state of a flip-flop.
– Retains value indefinitely, as long as it is kept powered.
– Mostly uses to create cache memory of CPU.
– Faster and more expensive than DRAM.
• Otherwise, it is a miss