COMPUTER ORGANISATION AND ARCHITECTURE

Slides:



Advertisements
Similar presentations
Computer Organization and Architecture
Advertisements

Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
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.
Computer Organization and Architecture
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.
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,
Module IV Memory Organization.
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.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Chapter 3 Computer Hard ware
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computing Hardware Starter.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
Random access memory.
Chapter 8 Memory Interface
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
Internal Memory.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
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.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Copyright © 2007 – Curt Hill Primary Memory and Electronic Storage Implementations.
Memory Cell Operation.
Memory 1 ©Paul Godin Created March 2008 Edit April 2011.
Computer Architecture Lecture 24 Fasih ur Rehman.
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
Computer Architecture Chapter (5): Internal Memory
UNIT V Programmable Devices. RAM A RAM constitutes the internal memory of the CPU for storing data, program and program result. It is read/write memory.
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 2 content Basic organization of computer What is motherboard
Computer System Structures Storage
MEMORY BYTES. MEMORY BYTES MEMORY MEMORY OUR Internal External.
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.
Computer memory.
Module IV Memory Organization.
introduction to computer
Principles & Applications
William Stallings Computer Organization and Architecture 7th Edition
IT 0213: INTRODUCTION TO COMPTER ARCHITECTURE LECTURE 2
Electronics Technology
William Stallings Computer Organization and Architecture 8th Edition
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
MICROPROCESSOR MEMORY ORGANIZATION
2.C Memory GCSE Computing Langley Park School for Boys.
William Stallings Computer Organization and Architecture 8th Edition
Computer Organization & Architecture 3416
Semiconductor memories are classified in different ways. A distinction is made between read-only (ROM) and read-write (RWM) memories. The contents RWMs.
Computer Memory.
Presentation transcript:

COMPUTER ORGANISATION AND ARCHITECTURE MEMORY HIERARCY. 1

Lecture Objectives Understanding Computer Memory Memory hierarchy Memory X-tics Types of memory

Overview Historically, the limiting factor in a computer’s performance has been memory access time. Memory speed has been slow compared to the speed of the processor A process could be bottlenecked by the memory system’s inability to “keep up” with the processor Our goal in this section is to study the development of an effective memory organization that supports the processing power of the CPU General memory organization and performance “Internal” memory components and their use “External” memory components and their use

Memory Hierarchy Major design objective of any memory system To provide adequate storage capacity at -An acceptable level of performance -At a reasonable cost

Computer Org & Arch - BScIT 1 @ UCU Memory Hierarchy Cost/ bit Access rate Processor Registers Cache Memory Main Memory Flash/ USB memory Hard Drives Tape Backup Computer Org & Arch - BScIT 1 @ UCU 5

Going Down the Hierarchy Decreasing cost per bit Increasing capacity. (The number of bytes (characters) a storage medium can hold). Slower access time ( Time it takes to perform a read or write operation. That is the time from the instant that an address is presented to memory to the instant that data has been stored )

Internal : Processor registers, Cache Internal : Processor registers, Cache. Directly accessible by the processor. ii) Main : System Ram. iii) Online Mass Storage: Secondary Storage. For example Hard Disk iv) Offline Bulk Storage:Offline Storage. ( Backup Tapes )

Hierarchy List Registers(A, special high-speed storage area within the CPU. All data must be represented in a register before it can be processed. For example, if two numbers are to be multiplied, both numbers must be in registers, and the result is also placed in a register.. Cache. used by the cpu to reduce the average time to access memory. It stores copies of the data from the most frequently used main memory locations. Main memory Flash / USB ( Non volatile computer storage that can be electrically erased and reprogrammed.) Hard Disk Tape Backup 8

Characteristics of the memory hierarchy Consists of distinct “levels” of memory components. Each level characterized by its size, access time, and cost per bit As one goes down the hierarchy, the following occur: Decreasing cost per bit Increasing capacity Increasing access time( Time it takes to perform a read or write operation. That is the time from the instant that an address is presented to memory to the instant that data has been stored )

Cache Small amount of fast memory that contains a copy of portions of main memory. The memory cache is high-speed memory available inside the CPU in order to speed up access to data and instructions stored in RAM memory. Sits between normal main memory and CPU May be located on CPU chip or module 10

Cache Memory Cache memory is intended to give memory speed approaching that of the fastest memory available. (CPU registers) Compared to the size of main memory, cache is relatively small. Very expensive compared to main memory Cache contains copies of sections of main memory

Cache Operation When the processor attempts to read a word from memory, The microprocessor first checks the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time- consuming reading of data from larger memory.

Memory Classification According to Volatility: RAM ROM According to Technology: Static RAM Dynamic RAM

RAM/ROM Memory is either Read/Write (Volatile) or Read only (Non-Volatile) ROM – Read Only Memory Mostly used for installation into toys or appliances Programmed once although there are exceptions PROM/EPROM

Main Memory There are has two kinds of memory: Random-access memory (RAM) and Read-only memory (ROM).

Random Access Memory A temporary holding place for data and instructions. Consists of one or more chips on the motherboard. Sometimes called primary storage RAM is not a permanent storage place for information. It is active only when computer is on. If computer is switched off, the information is deleted from RAM.

ROM . Read Only Memory ROM is the memory where information is only read. When the computer is turned a off, information is not deleted from ROM. Writing information to ROM is made by vendor. ROM – Read Only Memory Mostly used for installation into toys or appliances Programmed once although there are exceptions PROM/EPROM

FEATURES OF RAM. The distinguishing feature is that RAM is volatile. RAM must be provided with a constant power supply. If power is interrupted, then the data is lost. The other distinguishing feature of RAM is that it is possible both to read data from the memory and to write new data into the memory easily and rapidly. Both the reading and writing are accomplished through the use of electrical signals.

Dynamic RAM The term dynamic refers to this tendency of the stored charge to leak away even with power continuously applied. Needs refreshing even when powered The presence and absence of charge on a capacitor is interpreted as a binary 1 or 0. Because capacitors have a natural tendency to discharge, DRAM requires periodic charge refreshing to maintain data storage. 19

Characteristics of DRAM Simpler construction Less expensive Need to refresh circuits Slower. Used for Main memory

Static RAM and its characteristics Bits stored as on/off switches (to be looked at when we get to logic gates) No charges to leak No refreshing needed when powered More complex construction More expensive Faster Used for Cache. 21

Read Only Memory (ROM) As the name suggests Read-only memory contains a permanent pattern of data that cannot be changed. Data is “wired in” during fabrication at a chip manufacturer’s plant . It is nonvolatile - no power source is required to maintain data It is possible to read from ROM but it is not possible to write new data into it. ASSIGNMENT What do you think are some of the advantages and drawbacks (disadvantages/shortcomings) associated with ROM? 22

Types of ROM Read “mostly” Erasable Programmable (EPROM) Erased by UV Electrically Erasable (EEPROM) Takes much longer to write than read Flash memory Erase whole memory electrically

Types of ROM Programmable ROM (PROM) Data can be programmed/written once by the user employing a PROM programmer. Writing process is performed electrically and may be performed by a supplier. Used to store programs permanently. Normally in video game controllers, mobile phones and the programming is done after the device is constructed. 24

Read-Mostly memory Three common forms of read-mostly memory. Useful for applications in which read operations are far more frequent than write operations but for which nonvolatile storage is required. Three common forms of read-mostly memory. Erasable Programmable ROM (EPROM) Read and written electrically as with PROM However, before a write operation. All storage cells must be erased at the same initial stage by exposure to ultraviolet radiation Erased by intense ultraviolet light, that is shone through a window designed like a memory chip. Erasure process can take 20 minutes. More expensive than PROM but has an advantage of multiple update capability

Electrically Erasable Programmable ROM (EEPROM) Can be written into at any time without erasing prior contents, only the data addressed is updated Takes much longer to write than read Nonvolatile and flexible. EEPROM is more expensive than EPROM and is less dense, supporting fewer bits per chip

Flash memory This is a non volatile computer storage that can be electrically erased and reprogrammed. This technology is used in memory cards and USB flash drives It is a special type of EEPROM( electrically Erasable Programmable Read only Memory) that is erased and programmed. It is Non-Volatile , no power is needed to maintain information. Memory erased electrically in a few seconds

Goal of the memory hierarchy Try to match the processor speed with the rate of information transfer from the lowest element in the hierarchy.