Computer Organization. 8th Edition. Chapter 5 Internal Memory

Similar documents
Chapter 5 Internal Memory

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

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

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

Chapter 5. Internal Memory. Yonsei University

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

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

Chapter 4 Main Memory

Semiconductor Memory Types Microprocessor Design & Organisation HCA2102

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

Computer Organization and Assembly Language (CS-506)

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

CS 320 February 2, 2018 Ch 5 Memory

Memory and Disk Systems

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

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

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

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Advanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015

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

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

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

ECE 485/585 Microprocessor System Design

Introduction read-only memory random access memory

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

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

COSC 6385 Computer Architecture - Memory Hierarchies (III)

Computer Systems Laboratory Sungkyunkwan University

Chapter 8 Memory Basics

Large and Fast: Exploiting Memory Hierarchy

EECS150 - Digital Design Lecture 16 - Memory

Summer 2003 Lecture 18 07/09/03

Chapter 2: Fundamentals of a microprocessor based system

ECSE-2610 Computer Components & Operations (COCO)

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

Internal Memory Cache Stallings: Ch 4, Ch 5 Key Characteristics Locality Cache Main Memory

EECS150 - Digital Design Lecture 16 Memory 1

Semiconductor Memories: RAMs and ROMs

a) Memory management unit b) CPU c) PCI d) None of the mentioned

Topic 21: Memory Technology

Topic 21: Memory Technology

Memory & Simple I/O Interfacing

Design with Microprocessors

Design with Microprocessors

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

UNIT V (PROGRAMMABLE LOGIC DEVICES)

UMBC. Select. Read. Write. Output/Input-output connection. 1 (Feb. 25, 2002) Four commonly used memories: Address connection ... Dynamic RAM (DRAM)

Design and Implementation of an AHB SRAM Memory Controller

Memory memories memory

Memory technology and optimizations ( 2.3) Main Memory

COMPUTER ARCHITECTURES

Read and Write Cycles

Address connections Data connections Selection connections

chapter 8 The Memory System Chapter Objectives

Lecture 18: DRAM Technologies

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

Computer Memory. Textbook: Chapter 1

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

Allmost all systems contain two main types of memory :

Memory Challenges. Issues & challenges in memory design: Cost Performance Power Scalability

CS650 Computer Architecture. Lecture 9 Memory Hierarchy - Main Memory

UNIT-V MEMORY ORGANIZATION

ELCT 912: Advanced Embedded Systems

P-2 Digital Design & Applications

Memory Hierarchy and Cache Ch 4-5. Memory Hierarchy Main Memory Cache Implementation

Main Memory (RAM) Organisation

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Memory Hierarchy and Cache Ch 4-5

Research Collection. A survey of synchronous RAM architectures. Working Paper. ETH Library. Author(s): Gries, Matthias. Publication Date: 1999

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

EE414 Embedded Systems Ch 5. Memory Part 2/2

Real Time Embedded Systems

MEMORY BHARAT SCHOOL OF BANKING- VELLORE

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

Basics DRAM ORGANIZATION. Storage element (capacitor) Data In/Out Buffers. Word Line. Bit Line. Switching element HIGH-SPEED MEMORY SYSTEMS

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

8051 INTERFACING TO EXTERNAL MEMORY

Chapter Seven. Memories: Review. Exploiting Memory Hierarchy CACHE MEMORY AND VIRTUAL MEMORY

Computer Memory.

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

Views of Memory. Real machines have limited amounts of memory. Programmer doesn t want to be bothered. 640KB? A few GB? (This laptop = 2GB)

CS429: Computer Organization and Architecture

Memory and Programmable Logic

CS429: Computer Organization and Architecture

MEMORY AND PROGRAMMABLE LOGIC

CS 261 Fall Mike Lam, Professor. Memory

Chapter 2: Memory Hierarchy Design (Part 3) Introduction Caches Main Memory (Section 2.2) Virtual Memory (Section 2.4, Appendix B.4, B.

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

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

The Memory Hierarchy 1

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

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Storage Technologies and the Memory Hierarchy

Advanced Parallel Architecture Lesson 4. Annalisa Massini /2015

Magnetic core memory (1951) cm 2 ( bit)

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Memory Expansion. Lecture Embedded Systems

Lecture 13: Memory and Programmable Logic

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

Transcription:

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

Semiconductor Memory Types Memory Type Category Erasure Write Mechanism Volatility Random-access memory (RAM) Read-write memory Electrically, byte-level Electrically Volatile Read-only memory (ROM) Read-only memory Not possible Masks Programmable ROM (PROM) Erasable PROM (EPROM) UV light, chip-level Nonvolatile Electrically Electrically Erasable PROM (EEPROM) Read-mostly memory Electrically, byte-level Flash memory Electrically, block-level

Semiconductor Memory RAM Misnamed as all semiconductor memory is random access Read/Write Volatile Temporary Tempoa storage stoage Static or dynamic

Memory Cell Operation

Dynamic RAM Bits stored as charge in capacitors Charges leak Need refreshing even when powered Simpler construction Smaller per bit Less expensive Need refresh circuits i Slower Main memory Essentially analogue Level of charge determines value

Dynamic RAM Structure

DRAM Operation Address line active when bit read or written Transistor switch closed (current flows) Write Voltage to bit line High for 1 low for 0 Then signal address line Read Transfers charge to capacitor Address line selected transistor turns on Charge from capacitor fed via bit line to sense amplifier Compares with reference value to determine 0 or 1 Capacitor charge must be restored

Static RAM Bits stored as on/off switches No charges to leak No refreshing needed when powered More complex construction Larger per bit More expensive Does not need refresh circuits i Faster Cache Digital Uses flip-flops

Stating RAM Structure

Static RAM Operation Transistor arrangement gives stable logic state State 1 C 1 high, C 2 low T 1 T 4 off, T 2 T 3 on State 0 C 2 high, C 1 low T 2 T 3 off, T 1 T 4 on Address line transistors T 5 T 6 is switch Write apply value to B & compliment to B Read value is on line B

SRAM v DRAM Both volatile Power needed d to preserve data Dynamic cell Simpler to build, smaller More dense Less expensive Needs refresh Larger memory units Static Faster Cache

Read Only Memory (ROM) Permanent storage Nonvolatile Microprogramming (see later) Library subroutines Systems programs (BIOS) Function tables

Types of ROM Written during manufacture Very expensive for small runs Programmable (once) PROM Needs special equipment to program Read mostly Erasable Programmable (EPROM) Erased by UV Electrically Erasable (EEPROM) Takes much longer to write than read Flash memory Erase whole memory electrically

Organisation in detail A 16Mbit chip can be organised as 1M of 16 bit words A bit per chip system has 16 lots of 1Mbit chip with bit 1 of each word in chip 1 and so on A 16Mbit chip can be organised as a 2048 x 2048 x 4bit array Reduces number of address pins Multiplex row address and column address 11 pins to address (2 11 =2048) Adding one more pin doubles range of values so x4 capacity

Refreshing Refresh circuit included on chip Disable chip Count through rows Read & Write back Takes time Slows down apparent performance

Typical 16 Mb DRAM (4M x 4)

Packaging g

256kByte Module Organisation

1MByte Module Organisation

Interleaved Memory Collection of DRAM chips Grouped into memory bank Banks independently service read or write requests K banks can service k requests ba s ca se ce equests simultaneously

Error Correction Hard Failure Permanent defect Soft Error Random, non-destructive No permanent damage to memory Detected using Hamming error correcting code

Error Correcting Code Function

Advanced DRAM Organization Basic DRAM same since first RAM chips Enhanced DRAM Contains small SRAM as well SRAM holds last line read (c.f. Cache!) Cache DRAM Larger SRAM component Use as cache or serial buffer

Synchronous DRAM (SDRAM) Access is synchronized with an external clock Address is presented to RAM RAM finds data (CPU waits in conventional DRAM) Since SDRAM moves data in time with system clock, CPU knows when data will be ready CPU does not have to wait, it can do something else Burst mode allows SDRAM to set up stream of data and fire it out in block DDR-SDRAM sends data twice per clock cycle (leading & trailing edge)

SDRAM

SDRAM Read Timing

RAMBUS Adopted by Intel for Pentium & Itanium Main competitor to SDRAM Vertical package all pins on one side Data exchange over 28 wires < cm long Bus addresses up to 320 RDRAM chips at 1.6Gbps Asynchronous block protocol 480ns access time Then 1.6 Gbps

RAMBUS Diagram

DDR SDRAM SDRAM can only send data once per clock Double-data-rate SDRAM can send data twice per clock cycle Rising edge and falling edge

DDR SDRAM Read Timing

Simplified DRAM Read Timing

Cache DRAM Mitsubishi Integrates small SRAM cache (16 kb) onto generic DRAM chip Used as true cache 64-bit lines Effective for ordinary random access To support serial access of block of data E.g. refresh bit-mapped screen CDRAM can prefetch data from DRAM into SRAM buffer Subsequent accesses solely to SRAM

Reading The RAM Guide RDRAM