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

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

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Chapter 5 Internal Memory

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

Chapter 4 Main Memory

William Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal 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)

CS 320 February 2, 2018 Ch 5 Memory

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

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

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

Memory and Disk Systems

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

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

Advanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015

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

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

ECE 485/585 Microprocessor System Design

ECSE-2610 Computer Components & Operations (COCO)

Large and Fast: Exploiting Memory Hierarchy

Chapter 8 Memory Basics

Design and Implementation of an AHB SRAM Memory Controller

Memory memories memory

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

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

Summer 2003 Lecture 18 07/09/03

Introduction read-only memory random access memory

COSC 6385 Computer Architecture - Memory Hierarchies (III)

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

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

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

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

Semiconductor Memories: RAMs and ROMs

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

EECS150 - Digital Design Lecture 16 Memory 1

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

Topic 21: Memory Technology

Topic 21: Memory Technology

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

COMPUTER ARCHITECTURES

Chapter 2: Fundamentals of a microprocessor based system

Memory & Simple I/O Interfacing

EECS150 - Digital Design Lecture 16 - Memory

Computer Systems Laboratory Sungkyunkwan University

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

Memory Hierarchy and Cache Ch 4-5

UNIT V (PROGRAMMABLE LOGIC DEVICES)

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

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

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

ELCT 912: Advanced Embedded Systems

Main Memory (RAM) Organisation

Computer Memory.

Memory technology and optimizations ( 2.3) Main Memory

chapter 8 The Memory System Chapter Objectives

Random Access Memory (RAM)

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

CS429: Computer Organization and Architecture

UNIT-V MEMORY ORGANIZATION

CS429: Computer Organization and Architecture

P-2 Digital Design & Applications

MEMORY AND PROGRAMMABLE LOGIC

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

SAE5C Computer Organization and Architecture. Unit : I - V

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

10/24/2016. Let s Name Some Groups of Bits. ECE 120: Introduction to Computing. We Just Need a Few More. You Want to Use What as Names?!

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

CENG4480 Lecture 09: Memory 1

COMPUTER ARCHITECTURE

ECE 341. Lecture # 16

Address connections Data connections Selection connections

Allmost all systems contain two main types of memory :

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc.

Design with Microprocessors

Grundlagen Microcontroller Memory. Günther Gridling Bettina Weiss

Storage Technologies and the Memory Hierarchy

Memory and Programmable Logic

8051 INTERFACING TO EXTERNAL MEMORY

Design with Microprocessors

CS 261 Fall Mike Lam, Professor. Memory

Computer Memory. Textbook: Chapter 1

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Computer Architecture and System Software Lecture 08: Assembly Language Programming + Memory Hierarchy

MEMORY BHARAT SCHOOL OF BANKING- VELLORE

Random Access Memory (RAM)

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

Computer Organization & Architecture M. A, El-dosuky

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

Computer Systems Organization

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

Lecture 18: DRAM Technologies

Magnetic core memory (1951) cm 2 ( bit)

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

CENG3420 Lecture 08: Memory Organization

Transcription:

William Stallings Computer Organization and Architecture 6th Edition Chapter 5 Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization 5.1 Semiconductor Main Memory Organization DRAM and SRAM Type of ROM Chip Logic Chip Packaging Module Organization Organization Memory cell operation DRAM and SRAM 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 Slower Main memory Essentially analogue Level of charge determines value 1

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 Transfers charge to capacitor Read 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 Faster Cache Digital Uses flip-flops Stating RAM Structure 2

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 vs DRAM Both volatile Power needed to preserve data Dynamic cell Simpler to build, smaller More dense Less expensive Needs refresh Larger memory units Static cell 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 3

Semiconductor Memory Types Chip Logic (Organiszation 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) 4

Packaging Module Organization Module Organization (2) 5.2 Error Correction Hard Failure Permanent defect Soft Error Random, non-destructive No permanent damage to memory Detected using Hamming error correcting code 5

Error Correcting Code Function 5.3 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) IBM 64Mb SDRAM 6

SDRAM Operation 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 7