This document discusses computer memory and provides details about dynamic random access memory (DRAM). It defines computer memory and explains why it is needed. Memory is classified as primary/main memory, which includes random access memory (RAM) and read-only memory (ROM). RAM is further divided into static RAM (SRAM) and DRAM. DRAM uses capacitors and transistors, needs continuous refreshing, holds large amounts of data, and has lower costs than SRAM but uses less power.
This document discusses computer memory and provides details about dynamic random access memory (DRAM). It defines computer memory and explains why it is needed. Memory is classified as primary/main memory, which includes random access memory (RAM) and read-only memory (ROM). RAM is further divided into static RAM (SRAM) and DRAM. DRAM uses capacitors and transistors, needs continuous refreshing, holds large amounts of data, and has lower costs than SRAM but uses less power.
Email: [email protected] Lesson Objectives At the end of this lesson you will be able to: • Understand what a computer memory is • Understand why a computer memory is needed • Understand the features of memory • Understand the classification of memory • Understand the characteristics of DRAM Chapter 1: Introduction to Computer Memory What is computer memory? • Computer memory is any physical device, used to store data, information or instruction temporarily or permanently. • It is the collection of storage units that stores binary information in the form of bits. • The memory block is split into a small number of components, called cells. • Each cell has a unique address to store the data in memory. Chapter 1: Introduction to Computer Memory Why do we need a computer memory? • In the computer system, we need computer memory to store various types of data like text, images, video, audio, documents, etc. • We can retrieve it when the data is required. Chapter 1: Introduction to Computer Memory Features of Memory Location: • It represents the internal or external location of the memory in a computer. • The internal memory is inbuilt in computer memory. It is also known as primary memory. • The example of primary memory are registers, cache and main memory. Whereas, external memory is the separate storage device from the computer, such as disk, tape, USB pen drive. Chapter 1: Introduction to Computer Memory Features of Memory Capacity: • It is the most important feature of computer memory. • Storage capacity can vary in external and internal memory. • The storage word length can vary in bits, such as 8, 16 or 32 bits. Chapter 1: Introduction to Computer Memory Features of Memory Access Methods: Memory can be accessed through four modes of memory. • DMA: As the name specifies, Direct Memory Address (DMA) is a method that allows input/output (I/O) devices to access or retrieve data directly or from the main memory. • Sequential Access Method: The sequential access method is used in a data storage device to read stored data sequentially from the computer memory. Whereas, the data received from random access memory (RAM) can be in any order. • Random Access Method: It is a method used to randomly access data from memory. This method is the opposite of SAM. For example, to go from A to Z in random access, we can directly jump to any specified location. In the Sequential method, we have to follow all intervening from A to Z to reach at the particular memory location. • Associative Access Method: It is a special type of memory that optimizes search performance through defined data to directly access the stored information based on a memory address. Chapter 1: Introduction to Computer Memory Features of Memory • Performance: The performance of memory is majorly divided into three parts. o Access Time: In random access memory, it represents the total time taken by memory devices to perform a read or write operation that an address is sent to memory. o Memory Cycle Time: Total time required to access memory block and additional required time before starting second access. o Transfer rate: It describes the transfer rate of data used to transmit memory to or from an external or internal memory device. Bit transfer can be different for different external and internal devices. Chapter 1: Introduction to Computer Memory Features of Memory • Physical types: It defines the physical type of memory used in a computer such as magnetic, semiconductor, magneto-optical and optical. • Physical characteristics: It specifies the physical behavior of the memory like volatile, non-volatile or non-erasable memory. Chapter 1: Introduction to Computer Memory Classification of Memory Chapter 1: Introduction to Computer Memory Classification of Memory Primary or Main Memory • Primary memory is also known as the computer system's main memory that communicates directly within the CPU, Auxiliary memory, and the Cache memory. • Main memory is used to keep programs or data when the processor is active to use them. • The primary memory is volatile, which means the data in memory can be lost if it is not saved when a power failure occurs. • It is costlier than secondary memory, and the main memory capacity is limited as compared to secondary memory. The primary memory is further divided into two parts: RAM (Random Access Memory) ROM (Read Only Memory) Chapter 1: Introduction to Computer Memory Classification of Memory Primary or Main Memory - Random Access Memory (RAM) • RAM is one of the faster types of main memory accessed directly by the CPU. • It is the hardware in a computer device to temporarily store data, programs or program results. • It is volatile, which means if a power failure occurs or the computer is turned off, the information stored in RAM will be lost. • All data stored in computer memory can be read or accessed randomly at any time. Chapter 1: Introduction to Computer Memory Classification of Memory Primary or Main Memory - Random Access Memory (RAM) There are two types of RAM: • SRAM • DRAM Chapter 1: Introduction to Computer Memory Classification of Memory Primary or Main Memory - Random Access Memory (RAM) – DRAM • Dynamic Random-Access Memory is a type of RAM that is used for the dynamic storage of data in RAM. • In DRAM, each cell carries one-bit information. • The cell is made up of two parts: a capacitor and a transistor. • The size of the capacitor and the transistor is so small, requiring millions of them to store on a single chip. • Hence, a DRAM chip can hold more data than an SRAM chip of the same size. However, the capacitor needs to be continuously refreshed to retain information because DRAM is volatile. If the power is switched off, the data store in memory is lost. Chapter 1: Introduction to Computer Memory Classification of Memory Primary or Main Memory - Random Access Memory (RAM) – DRAM Characteristics of DRAM • It requires continuously refreshed to retain the data. • It is slower than SRAM • It holds a large amount of data • It is the combination of capacitor and transistor • It is less expensive as compared to SRAM • Less power consumption Chapter 1: Introduction to Computer Memory Classification of Memory Primary or Main Memory - Random Access Memory (RAM) – DRAM Characteristics of DRAM • It requires continuously refreshed to retain the data. • It is slower than SRAM • It holds a large amount of data • It is the combination of capacitor and transistor • It is less expensive as compared to SRAM • Less power consumption END