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

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

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

Chapter 5 Internal Memory

Computer Organization. 8th Edition. Chapter 5 Internal Memory

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

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

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

Memory Study Material

Memory memories memory

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

CS 261 Fall Mike Lam, Professor. Memory

Large and Fast: Exploiting Memory Hierarchy

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

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

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

Main Memory (RAM) Organisation

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

Semiconductor Memory Types Microprocessor Design & Organisation HCA2102

MEMORY BHARAT SCHOOL OF BANKING- VELLORE

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

Computer Organization and Assembly Language (CS-506)

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

Chapter 4 Main Memory

Input output and memory devices

CS 261 Fall Mike Lam, Professor. Memory

UNIT:4 MEMORY ORGANIZATION

Computer Memory Basic Concepts. Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University

Semiconductor Memories: RAMs and ROMs

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

An Overview of the Computer System. Kafui A. Prebbie 24

COSC 6385 Computer Architecture - Memory Hierarchies (III)

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

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

ECE 341. Lecture # 16

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

P-2 Digital Design & Applications

System Unit. By: Khadeeja Farkash

Mother Board And Its Components By :- IMRAN QURESHI

UNIT-V MEMORY ORGANIZATION

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

Chapter 5. Internal Memory. Yonsei University

The Memory Component

Design and Implementation of an AHB SRAM Memory Controller

CENG4480 Lecture 09: Memory 1

Storage Technologies and the Memory Hierarchy

,e-pg PATHSHALA- Computer Science Computer Architecture Module 25 Memory Hierarchy Design - Basics

ECSE-2610 Computer Components & Operations (COCO)

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

Lecture 18: Memory Systems. Spring 2018 Jason Tang

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

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

UNIT V (PROGRAMMABLE LOGIC DEVICES)

CS 320 February 2, 2018 Ch 5 Memory

Summer 2003 Lecture 18 07/09/03

Introduction read-only memory random access memory

Memory. Objectives. Introduction. 6.2 Types of Memory

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

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

CS429: Computer Organization and Architecture

CS429: Computer Organization and Architecture

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

CS 33. Memory Hierarchy I. CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved.

COMPUTER ARCHITECTURE

Computers in Business: Concepts in Hardware and Software

Explain the functions of the main components of a basic computer system (Part 2) S. Neebar

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

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

Advanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015

CHAPTER 6 Memory. CMPS375 Class Notes Page 1/ 16 by Kuo-pao Yang

Semiconductor Memory Types. Computer & Microprocessor Architecture HCA103. Memory Cell Operation. Semiconductor Memory.

CHAPTER 6 Memory. CMPS375 Class Notes (Chap06) Page 1 / 20 Dr. Kuo-pao Yang

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill

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

Chapter 2: Fundamentals of a microprocessor based system

Computer Memory. Textbook: Chapter 1

PDF created with pdffactory Pro trial version How Computer Memory Works by Jeff Tyson. Introduction to How Computer Memory Works

Announcement. Computer Architecture (CSC-3501) Lecture 20 (08 April 2008) Chapter 6 Objectives. 6.1 Introduction. 6.

PRATHYUSHA INSTITUTE OF TECHNOLOGY AND MANAGEMENT

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

Computers Are Your Future

Sense Amplifiers 6 T Cell. M PC is the precharge transistor whose purpose is to force the latch to operate at the unstable point.

CSC1201 Computer Applications. Budditha Hettige Department of Computer Science

MEMORY. Objectives. L10 Memory

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

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Components of a personal computer

+1 (479)

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

1 PC Hardware Basics Microprocessors (A) PC Hardware Basics Fal 2004 Hadassah College Dr. Martin Land

EECS150 - Digital Design Lecture 16 - Memory

8051 INTERFACING TO EXTERNAL MEMORY

Advanced Topics In Hardware

CENG3420 Lecture 08: Memory Organization

COMPUTER ARCHITECTURES

CS 153 Design of Operating Systems

EE414 Embedded Systems Ch 5. Memory Part 2/2

Introduction To Computer Hardware. Hafijur Rahman

RAM (RANDOM ACCESS MEMORY)

The Central Processing Unit

Transcription:

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

Contents What is Memory? Cache Memory PC Memory Organisation Types 2

Memory what is it? Usually we consider this to be RAM, ROM in a computer Memory can be anything which stores information Hard disk CD-ROM DVD All of these are versions of memory For this lecture we will concentrate on the RAM and 3 ROM

Memory continued Last week we looked at circuits which had a memory Flip-Flops 4

Organising Memory 5

Memory continued Last week we looked at circuits which had a memory Flip-Flops These are used within your PC in the cache memory Memory Structure Your PC has a memory structure 6

Memory continued 64 Kb Expanded Memory 384 Kb Reserved Memory 640 Kb Conventional Memory 7

Memory continued Conventional Memory Applications are loaded into this part of memory, TSR programs and essential drivers like the keyboard Reserved Memory Used by the system, stores Video RAM and system BIOS information Expanded Memory Extends the capability of the processor. Swaps 4 16 kb pages into reserved memory Extended Memory All of the memory above expanded memory Needs a change in processor mode to be accessed 8

Processor Modes The processors have three modes of operation Real Mode Legacy mode for 8086, restricts the processor to accessing 1Mb of memory Used for DOS programs Default for the processor Protected Mode Allows the processor to access memory beyond the 1Mb limit Commonly used in Windows Programs Allows multitasking or processes Long Mode Used in 64 Bit processors For addressing large amounts of memory 9

Types of Memory 10

Types of Memory Random Access Memory (RAM) Values written are lost once power is removed form the memory Read Only Memory (ROM) Data stored is retained even after a loss of power Electronically erasable Programmable ROM (EEPROM) Flash Memory 11

ROM Memory Stores a value after the electrical current is removed from the circuit How? Uses a series of grids and Lines A diode is then used to allow access to that part of the memory When a defined amount of electricity is put into the diode the electricity is allowed to pass A diode will only allow electricity to pass through it in one direction 12

Word Line 5V 1 0 0 1 0 1 1 0 0 0 1 1 Send address 0011 in Bit Line 13

ROM Once programmed can not be updated Devices like a Video recorder use this Original BIOS chips were not updatable Modern BIOS has the capability to be updated as new hardware becomes available Updatable ROM ROM can be updated with special hardware 14

Programmable ROM (PROM) This kind uses a fuse at the intersection of memory A high voltage is sent through the lines This destroys the fuse at this point Referred to as burning the ROM One off process / can not be reversed Erasable PROM (EPROM) Ultraviolet light is shined on the circuit The entire circuit is erased at once 15

Electronically EPROM (EEPROM) Electricity sent to the correct part of the circuits will allow re writing of the circuit This method is slow FLASH memory was introduced This was a fast method allowing the rewriting of the memory Modems/ BIOS s use this technology 16

Random Access Memory (RAM) Allows the setting or returning of data any where within the dataset Unlike FILO or LILO memory RAM is volatile Once the power is removed the values are lost 17

Cache Memory This is high speed memory Usually Static RAM (SRAM) Uses four to 6 transistors to store the bits Needs a stable power supply If a momentarily loss of power happens all data is lost Amount of cache changes as per processor Usually a small amount because It is expensive to manufacture Physically needs more space to store the chip If too much is used it becomes slower to access it 18

Cache Memory (continued) This memory allows high speed transfer of data into the CPU This allow for information to be move in and out of registers quickly Ultimately the processor will spend less time waiting for instructions This gives less wasted CPU Cycles 19

Cache Memory (continued) Most hard drives use some cache to store data before it is requested to allow a quick response if it is requested Calculating what is needed next is not easy Consider if you accessed a large file at the beginning, it would be worth moving the next part of the file into cache so that when requested it is waiting to be transferred. 20

Cache Memory (continued) Processors use 2 levels of cache Example used is a Intel 2800 MHz Level 1 (also called Primary) Very small amount of cache 12kb Fastest Memory Stores recently used data and instructions Level 2 (also called secondary) 512Kb Faster than main memory, but slower than Level 1 21 Stores what can not fit into the smaller Level 1 Cache

DRAM Memory Dynamic RAM (DRAM) Uses a capacitor and a transistor A transistor is a switch allowing a 1 or 0 A capacitor stores electricity for a small time Organised Into a Cell 22

Memory modules The memory is plugged directly into the motherboard This gives an increased speed in addressing Each memory modules is made of parts Usually referred to with numbers like 8x32 This indicates that there are 8 chips, each storing 32 MB on each chip 23

Other types of RAM EDO DRAM Extended Data Out DRAM Once the required data is found the searching for the next bit will start Output is about 264 Mbps SDRAM Synchronous DRAM Once the first bit is found reads the data from the entire row. Relies on the fact that data is written in rows Output is about 528 Mbps DDR SDRAM Double Data Rate SDRAM Reads data from memory on the rising clock and falling clock signal. Allowing double capacity over SDRAM Output is about 1056 Mbps 24

Virtual Memory This is common on most operating systems As applications take more memory the machine will need additional storage To install additional memory modules takes space Which may physically not be available to the user Also memory is expensive in comparison to hard discs for example 25

Virtual Memory When the OS recognises that it is running short on memory Some of this memory is transferred to the hard disc The least used area of memory is transferred to the hard disc The area of the hard disc is referred to as the paging file When data is moved from physical memory to the hard disc it is moved into this file When the system requests this memory It will be re-directed to the paging file, where the data is stored Using virtual memory is slow If virtual memory is over used thrashing can take place 26 Thrashing is when the hard disc is constantly trying to access data but can not before another request is made.