Module IV Memory Organization.

Slides:



Advertisements
Similar presentations
MEMORY popo.
Advertisements

Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Introduction to Chapter 12
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
ECE 301 – Digital Electronics Memory (Lecture #21)
MEMORY DEVICES Week 13.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Computer Organization and Architecture
Chapter 5 Internal Memory
IT Systems Memory EN230-1 Justin Champion C208 –
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
Sec (1.2): Main memory. Memory: Stores data and instructions in the beginning, intermediate and final stages of the processing.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Memory and Storage - Sheetal Gosrani. Overview Memory Hierarchy RAM Memory Chip Organization ROM Flash Memory.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Module IV Memory Organization.
Chapter 4 ระบบหน่วยความจำ The Memory System
Memory Hierarchy.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
Chapter 8 Memory Interface
Internal Memory.
Digital Design: Principles and Practices
Chidambaranathan C.M SRM University,Haryana. Memory:- As the word implies “memory” means the place where we have to store any thing, this is very essential.
CIM101 : Introduction to computer Lecture 3 Memory.
Supplemental reading Main Memory. REVIEW CPU-stands for central processing unit; it is the key component in a digital computer; it interprets computer.
Memory and Register. Memory terminology read/write operation volotile/non volatile determine the capacity from input and output timing requirements of.
Copyright © 2007 – Curt Hill Primary Memory and Electronic Storage Implementations.
Memory Cell Operation.
Information Technology Basic Computer Architecture Adnan Khalid.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2007.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
Primary Storage Primary storage is the storage that is directly available to the CPU. It is also known as: Main Memory Main Memory Direct Access Storage.
Computer Architecture Lecture 24 Fasih ur Rehman.
Microprocessor Fundamentals Week 3 Mount Druitt College of TAFE Dept. Electrical Engineering 2008.
Computer operation is of how the different parts of a computer system work together to perform a task.
STATUS REGISTER  It is a group of flip-flops. But it is not used to store data.  Each bit in the status register is used to indicate a particular condition.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Memory.
Internal Memory.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
introduction to computer
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
William Stallings Computer Organization and Architecture 7th Edition
Memory chips Memory chips have two main properties that determine their application, storage capacity (size) and access time(speed). A memory chip contains.
Electronics Technology
COMPUTER ORGANISATION AND ARCHITECTURE
William Stallings Computer Organization and Architecture 8th Edition
Subject Name: Embedded system Design Subject Code: 10EC74
Module IV Memory Organization.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Computer Memory BY- Dinesh Lohiya.
TOPIC : Memory Classification
Introduction to Computing Chapter 0
MICROPROCESSOR MEMORY ORGANIZATION
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Presentation transcript:

Module IV Memory Organization

Classification of Memory Memory is the component of computer which stores instruction and data in binary form It is divided into 2 types: Primary Memory Secondary Memory

Primary Memory It allows CPU to access data and instructions as quickly as possible. Program or data is kept here when CPU needs them. In practice, it is required to store only a portion of program or data needed by CPU

Secondary Memory It stores programs and data not immediately needed by CPU It provides a cost-effective system. It brings portions of programs and data into primary memory as needed : virtual memory scheme. Operating system manages the movement of portions of program and data.

Primary Memory Mostly semiconductor memories They are of 2 types: Random Access Memory (RAM) Read Only Memory (ROM)

RAM Transfer data of memory in terms of memory word. Each of the 2n words in the memory has m bits. It is a (2nxm)-bit memory. MBR store the data to be written into or read from memory

RAM

RAM To read from memory, To write into memory Address is provided in MAR Read signal is set to 1 A copy of contents of the addressed memory is brought into MBR. To write into memory Data is placed in MBR Address is placed in MAR Write signal is set to 1. MBR content is transferred into addressed location.

RAM Two types of RAMs are : Static Dynamic

Static RAM(SRAM) Each memory cell is built out of a flip-flop. The content of the memory cell (either 1 or 0) remains intact as long as the power is on. They are used in speed-critical applications. E.g. Cache Memory

Dynamic RAM (DRAM) It is built out of a capacitor. Charge level of capacitor determines 1 or 0 state. Because the charge decays with time , these cells must be refreshed to retain the content. They require complex refresh circuits

Dynamic RAM (DRAM) Because of refresh time , they are slower than static. More DRAM cells can be fabricated on the same area of silicon than static cells. They are used when large memories are needed and speed is not a critical design parameter. E.g. Main Memory

Types of ROM Masked ROM PROM EPROM EEPROM

Masked ROM Its contents are programmed by the IC manufacturer They are hard-wired It contains a pre-programmed set of data or instructions. It is less expensive

Masked ROM : Example Consider a 4 byte diode ROM. Address line A0 and A1 are decoded by 2:4 decoder and is used to select one of the four rows The decoder output is active low. Each output line goes to logic 0 if the diode connects the output data column to the selected row. Data is availed at output lines when OE signal is low

Programmable Read Only Memory (PROM) In this chip data can be written only once. Once a program is written onto it,it remains there forever. PROM is manufactured as blank memory To write data onto a chip, a special device called a PROM programmer or PROM burner is needed. The process of programming a PROM is called burning the PROM. 

PROM Example

EPROM (Erasable PROM) It retains its contents until it is exposed to ultraviolet light. The uv light clears its contents, making it possible to reprogram the memory. To write to and erase on EPROM, a special device called a PROM programmer or PROM burner is needed.

EEPROM Electrically Erasable PROM It can be programmed and erased electrically. It can be reprogrammed about 10,000 times. Both erasing and programming take about 4 to 10 ms Any location can be selectively erased and programmed (one byte at a time, rather than erasing the entire chip)

Memory Hierarchy To implement memory systems, the following relationships hold: • Faster access time, greater cost per bit • Greater capacity, smaller cost per bit • Greater capacity, slower access time Dilemma: Designer would prefer large-capacity memory but to improve performance he needs to use faster low capacity memories. Solution : Do not rely on a single memory type but to employ a memory hierarchy

Memory Hierarchy

Memory Hierarchy As one goes down the hierarchy: a. Decrease in cost per bit b. Increase in capacity c. Increase in access time d. Decrease in frequency of access of the memory by the processor Thus, smaller, more expensive, faster memories are supplemented by larger, cheaper, slower memories.