Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor

Similar documents
Semiconductor Memories: RAMs and ROMs

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

THE MICROCOMPUTER SYSTEM CHAPTER - 2

Concept of Memory. The memory of computer is broadly categories into two categories:

The pin details are given below: V cc, GND = +5V and Ground A 11 -A 0 = address lines. Fig.2.19 Intel 2716 Read Only Memory

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

UNIT:4 MEMORY ORGANIZATION

MEMORY BHARAT SCHOOL OF BANKING- VELLORE

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Memory & Logic Array. Lecture # 23 & 24 By : Ali Mustafa

P-2 Digital Design & Applications

Module 5a: Introduction To Memory System (MAIN MEMORY)

Computer Organization and Assembly Language (CS-506)

Memory Study Material

COMPUTER ARCHITECTURE AND ORGANIZATION

Sir Sadiq s computer notes for class IX. Chapter no 4. Storage Devices

Introduction read-only memory random access memory

Read and Write Cycles

Basic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types

8051 INTERFACING TO EXTERNAL MEMORY

Chapter 5 Internal Memory

MEMORY. Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis.

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

Memory classification:- Topics covered:- types,organization and working

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

1. Explain in detail memory classification.[summer-2016, Summer-2015]

William Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal Memory

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Contents. Memory System Overview Cache Memory. Internal Memory. Virtual Memory. Memory Hierarchy. Registers In CPU Internal or Main memory

Components of a personal computer

Sistemas Digitais I LESI - 2º ano

System Unit. By: Khadeeja Farkash

Chapter 4 Main Memory

Computer Organization. 8th Edition. Chapter 5 Internal Memory

UNIT-V MEMORY ORGANIZATION

Memory memories memory

Address connections Data connections Selection connections

Lecture 2 Microcomputer Organization: Fig.1.1 Basic Components of Microcomputer

Internal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

MEMORIES. Memories. EEC 116, B. Baas 3

k -bit address bus n-bit data bus Control lines ( R W, MFC, etc.)

! Memory Overview. ! ROM Memories. ! RAM Memory " SRAM " DRAM. ! This is done because we can build. " large, slow memories OR

Chapter 7: Processor and Memory

RISC (Reduced Instruction Set Computer)

Memory Pearson Education, Inc., Hoboken, NJ. All rights reserved.

UNIT V (PROGRAMMABLE LOGIC DEVICES)

Memory and Programmable Logic

machine cycle, the CPU: (a) Fetches an instruction, (b) Decodes the instruction, (c) Executes the instruction, and (d) Stores the result.

MODULE 12 APPLICATIONS OF MEMORY DEVICES:

The Central Processing Unit

Computer Systems Organization

5 Computer Organization

CS 320 February 2, 2018 Ch 5 Memory

Summer 2003 Lecture 18 07/09/03

CS 265. Computer Architecture. Wei Lu, Ph.D., P.Eng.

ECE 341. Lecture # 16

Semiconductor Memory Types Microprocessor Design & Organisation HCA2102

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

COSC 243. Memory and Storage Systems. Lecture 10 Memory and Storage Systems. COSC 243 (Computer Architecture)

Menu. word size # of words byte = 8 bits

Topic 4: Storage Devices

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

Parts of Computer hardware Software

Large and Fast: Exploiting Memory Hierarchy

M. Sc (CS) (II Semester) Examination, Subject: Computer System Architecture Paper Code: M.Sc-CS-203. Time: Three Hours] [Maximum Marks: 60

Lecture 13: Memory and Programmable Logic

Unit 5: Memory Organizations

Q1. Describe C.P.U and its subunits with the help of diagram?

ELCT 912: Advanced Embedded Systems

Memories. Design of Digital Circuits 2017 Srdjan Capkun Onur Mutlu.

PRATHYUSHA INSTITUTE OF TECHNOLOGY AND MANAGEMENT

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

Embedded Systems Design: A Unified Hardware/Software Introduction. Outline. Chapter 5 Memory. Introduction. Memory: basic concepts

Embedded Systems Design: A Unified Hardware/Software Introduction. Chapter 5 Memory. Outline. Introduction

MICROPROCESSOR MEMORY ORGANIZATION

Chapter One. Introduction to Computer System

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

Chapter 5. Internal Memory. Yonsei University

Allmost all systems contain two main types of memory :

COA. Prepared By: Dhaval R. Patel Page 1. Q.1 Define MBR.

Overview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM

EE 308: Microcontrollers

The Memory Component

Chapter TEN. Memory and Memory Interfacing

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

RTL Design (2) Memory Components (RAMs & ROMs)

Hardware Design with VHDL PLDs I ECE 443. FPGAs can be configured at least once, many are reprogrammable.

SECTION-A


Memory and Programmable Logic

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE4220. PROGRAMMABLE LOGIC DEVICES (PLDs)

chapter 8 The Memory System Chapter Objectives

CPEG300 Embedded System Design. Lecture 3 Memory

Advanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015

Design and Implementation of an AHB SRAM Memory Controller

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (5 th Week)

Transcription:

Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor memory 2) Primary or main memory 3) Secondary memory Processor memory refers to a set of internal registers. These registers hold temporary results when computation is in progress. There is no speed disparity between these internal registers and the microprocessor because they are fabricated on the same chip using the same technology. Primary memory or the main memory is the external memory to store both program and data. The processor can access these memories directly. In earlier days, the primary memory was designed using magnetic cores. In modern microprocessors, MOS technology is employed in the primary memory design. Usually, the size of primary memory is much larger than the processor memory but its operating speed is slower than that of the processor registers by a factor of 25 or 30. Secondary memory refers to the storage medium compositing slow devices such as hard disks and floppies. These devices are used to hold large data and huge program that are not needed by the processor frequently. Sometimes, secondary memories are also referred to as auxiliary or back up storage. In order to design an efficient memory system, the following characteristics of memory must be known:

1. Volatile or Non-volatile 2. Cost 3. Access time and cycle time 4. Access mode 5. Storage type An important characteristic of a memory is whether it is volatile or non volatile. The contents of volatile memory are lost if the power is turned off. On the other hand, a non volatile memory retains its contents after the power is switched off. The best known non volatile memory is magnetic core. The most important factor of a memory system is its cost, expressed in dollars per bit. A good design implies a very low cost per bit. Earlier the cost of memory was high but with the development in VLSI the cost has drastically reduced. There are two parameters that will indicate the speed with which information can be transferred in and out of a memory. 1) Access time, t A 2) Cycle time, t C The access time t A is defined as the average time taken to read a unit of information from the memory. Sometimes the access time is also referred to as read access time. Similarly, one can define write access time. Usually, the write access time will be equal to read access time. The cycle time t C of a memory unit is defined as the average time lapse between two successive read/write operations. The reciprocal of access time is called the access rate (=1/t A ), which is expressed in bits per second. Similarly, the reciprocal of

cycle time is referred to as date transfer rate (=1/t C ) or bandwidth also expressed in bits per second. The third important characteristic of memory unit is its access mode. The access mode refers to the manner in which information can be accessed from the memory. There are two major access modes. They are the random access mode and sequential access modes. In random access mode, any memory location access time is independent of the location from which the date is read. In sequential access mode, the memory is accessed strictly in a sequential manner. In this mode, the access time depends on the location in which data is stored. They are also referred as serial access memories. A bipolar(semiconductor) memory and magnetic tape are typical example for random & serial access memories respectively. Random access memories are much faster but more expensive than sequential access memories. In order to active a compromise, some memories combine both access modes and are called semirandom memories. A typical example is magnetic (hard) disk of the computer. It has multiple tracks with one read/write head for each track. This arrangement permits any track to be accessed randomly. Each track is having several sectors and these sectors within a track can be accessed sequentially. Classification of Memory: In general, semiconductor memories can be clarified in two main groups - Random Access Memories (RAM) and Sequential Access Memories (SAM). RAM can be classified in three main groups as shown in fig.2.18

Fig.2.18 Classification of Random Access Memory Read Only Memories (ROMs): This type of memory means the content of any location can only be read and cannot be written into. The contents of the memory location are not destroyed whether the power is ON or OFF. Such a memory is known as non volatile memory. ROMs are used to store data on permanent basis. They are random access memories and this makes them very useful for the storage of computer operating systems, software language computers, look-up tables and programs for dedicated microprocessor applications. ROMs can only be read are not written into. These memories are of two types: a. MROMs b. PROMs a. MASK ROMs: Mask ROMs are programmed by a masking operation performed on the chip during the manufacturing process. The contents of a MROM are decided by the manufacture. These contents are permanently stored in a ROM at the time of manufacturing. The contents of MROMs cannot be changed by the user. Most desktop computers use MROMs to contain their operating

systems and for executing fixed procedures, such as decoding the keyboard and the generation of characters for the CRT. b. PROMs: If user needs relatively few MROMs, the cost of production of MROM becomes more. In order to avoid the high one-time cost of producing custom mask ROMs, IC manufacturers provide user programmable ROMs. This device is called programmable Read Only Memory. Using special equipments, called PROM programmers, user can program a PROM once. These PROMs are provided with fusible links which are burned during the programming. Once the data are permanently stored in the PROMs, it can be read again and again by just accessing the correct memory location but one can never write into it again. Therefore, once the PROM is programmed with correct information it can be used as a ROM only in microcomputer. If one needs to change or correct the information stored in the PROM, one must pull it out, throw it away and replace is with a fresh unused PROM, writing the new or modified data into this unused device. The PROM will hold its contents indefinitely. Read Mostly Memories (RMMs): These ROMs are called Read Mostly Memories (RMMs). Since they have much slower write time then read time, these memories are usually suited for operation where mostly reading rather than writing will be performed. These memories are also of two types: a. EPROMs b. E 2 PROM

a. EPROMs: If a mistake is done in programming PROMs, the correction cannot be made by the user. The solution of this problem is erasable PROM. An EPROM is an Erasable Programmable Read Only Memory. The EPROM is erased by exposing an open window in the IC to an ultraviolet light source for a specified length of time, typical erase time varies from 10 to 30 minutes. Therefore, these chips are also called Ultra Violet Erasable Programmable Read Only Memories (UVEPROMs). The user can not erase the content of a single memory location, the entire contents are erased. Once the stored information is erased, EPROMs can be reprogrammed using EPROM programmer. The EPROM can be programmed by inserting the chip into the socket of the EPROM programmer and providing proper addresses. Once programmed, it can be used as ROM in a microcomputer. Later, if one needs to correct the information stored again, it is taken out from the system, erase the program written, write new program into it and use it. An EPROM also holds the information indefinitely once it has been programmed. One can read the contents of an EPROM as often as one like. b. E 2 PROMs: Another type of RMM is Electrically Erasable PROM (E 2 PROM) or Electrically Alterable PROM (EAPROM). They need not to be removed from a microcomputer board for erasing. Erasing & programming E 2 PROM is much easier as the ultraviolet sources are not required. The stored information can be erased by applying a high

voltage of about 21V, a singly byte or the entire chip can be erased in10 msec. This is faster than UV erasing and it can be done easily while the chip is still in circuit. One can write into at any time without erasing prior contents. The problems with EAROM are that electronically they are relatively difficult to use also and they slowly lose their information. One application of the E 2 PROM is in the tuner of a modern TV set. The E 2 PROM remember (i) the channel, you were watching when you tuned off the set and (2) the volume setting of the audio amplifier. Read Write Memories (RWMs): Read/write memories are used for temporary storage of data and program instruction in a processor based system. RWM is a specific term; it tells that the data can be read on written to any memory location. In this type of memory one can either read the contents of an addressed location in a MEMORY READ operation or one can write an m-bit of data in the addressed memory location in a MEMORY WRITE operation. It is a volatile memory. It is normally known as Random Access Memory (RAM). The content of RWM shall be destroyed when the power is OFF. During of MEMORY REALD operation the content of the addressed location is not destroyed. It is only read on to the external data bus. During a MEMORY WRITE operation, however, the original content of the addressed location is destroyed and the new content takes it place. It is to note that ROMs are also random access memories but RWMs are generally called RAMs.

RAM is classified as either static on dynamic, static RAMs (SRAMs) use flip-flops as basic storage elements as discussed earlier; whereas the dynamic RAMs (DRAMs) use internal capacitor as basic storage elements. Additional refresh circuitry is needed to maintain the charge on the internal capacitor of a dynamic RAM. They have more packing density, thus it has more storage capacity per unit area than a static RAM. The cost per bit of dynamic RAMs is also much less than that of the static RAMs. There is one more type of RAM called Non-volatile RAM. A Non-volatile RAM combines a static RAM and E 2 PROM into the same chip. Such a device operates as a normal RAM. If power supply fails the entire content of RAM are stored in E 2 PROM by a single signal STORE. A signal RECALL can transfer data from E 2 PROM back into the RAM. E.g. X2201 is a non-volatile RAM. The transfer time is 4msec.