Part V Memory System Design

Slides:



Advertisements
Similar presentations
MEMORY popo.
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
Nov. 2014Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
LOGO.  Concept:  Is read-only memory.  Do not lose data when power is lost.  ROM memory is used to produce chips with integrated.
D75P 34 – HNC Computer Architecture Week 10 Computer Memory. © C Nyssen/Aberdeen College 2003 All images © C Nyssen/Aberdeen College except where stated.
Chapter 12 Memory Organization
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.
July 2005Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
Feb. 2011Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
1 Lecture 20 – Caching and Virtual Memory  2004 Morgan Kaufmann Publishers Lecture 20 Caches and Virtual Memory.
1 Chapter Seven Large and Fast: Exploiting Memory Hierarchy.
Memory Hierarchy.1 Review: Major Components of a Computer Processor Control Datapath Memory Devices Input Output.
1 COMP 206: Computer Architecture and Implementation Montek Singh Wed., Nov. 13, 2002 Topic: Main Memory (DRAM) Organization.
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
Chapter 5 Internal Memory
Memory Devices Wen-Hung Liao, Ph.D..
Mar. 2007Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
1 SRAM: –value is stored on a pair of inverting gates –very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: –value is stored as a charge.
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.
1 CSE SUNY New Paltz Chapter Seven Exploiting Memory Hierarchy.
F1020/F1031 COMPUTER HARDWARE MEMORY. Read-only Memory (ROM) Basic instructions for booting the computer and loading the operating system are stored in.
Computer Architecture Part III-A: Memory. A Quote on Memory “With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Module IV Memory Organization.
Physical Memory By Gregory Marshall. MEMORY HIERARCHY.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Chapter 4 ระบบหน่วยความจำ The Memory System
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
CS1104: Computer Organisation School of Computing National University of Singapore.
1 CSCI 2510 Computer Organization Memory System I Organization.
© Banff and Buchan College 2007 DH2T 34 Computer Architecture 1 LO2 Lesson One Memory.
FAMU-FSU College of Engineering 1 Computer Architecture EEL 4713/5764, Fall 2006 Dr. Linda DeBrunner Module #17—Main Memory Concepts.
Lecture 19 Today’s topics Types of memory Memory hierarchy.
Memory and Storage Dr. Rebhi S. Baraka
Computer Architecture CST 250 MEMORY ARCHITECTURE Prepared by:Omar Hirzallah.
Main Memory CS448.
1 Memory Hierarchy The main memory occupies a central position by being able to communicate directly with the CPU and with auxiliary memory devices through.
CPEN Digital System Design
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Memory Hierarchy Registers Cache Main Memory Fixed Disk (virtual memory) Tape Floppy Zip CD-ROM CD-RWR Cost/Bit Access/Speed Capacity.
Computer Architecture Lecture 24 Fasih ur Rehman.
MEMORY ORGANIZATION - Memory hierarchy - Main memory - Auxiliary memory - Cache memory.
Lecture#15. Cache Function The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that.
1 Chapter Seven CACHE MEMORY AND VIRTUAL MEMORY. 2 SRAM: –value is stored on a pair of inverting gates –very fast but takes up more space than DRAM (4.
1  1998 Morgan Kaufmann Publishers Chapter Seven.
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
1 Chapter Seven. 2 SRAM: –value is stored on a pair of inverting gates –very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: –value.
Mar. 2006Computer Architecture, Memory System DesignSlide 1 Part V Memory System Design.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Memory and Storage Chapter 9. Memory Memory ( from programmer’s point of view): Temporary storage to hold data as well as programs. An Architect views.
Chapter 5 Internal Memory
Internal Memory.
William Stallings Computer Organization and Architecture 8th Edition
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Memory Organization.
Part V Memory System Design
Presentation transcript:

Part V Memory System Design July 2005 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design V Memory System Design Design problem – We want a memory unit that: Can keep up with the CPU’s processing speed Has enough capacity for programs and data Is inexpensive, reliable, and energy-efficient Topics in This Part Chapter 17 Main Memory Concepts Chapter 18 Cache Memory Organization Chapter 19 Mass Memory Concepts Chapter 20 Virtual Memory and Paging July 2005 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design 17 Main Memory Concepts Technologies & organizations for computer’s main memory SRAM (cache), DRAM (main), and flash (nonvolatile) Interleaving & pipelining to get around “memory wall” Topics in This Chapter 17.1 Memory Structure and SRAM 17.2 DRAM and Refresh Cycles 17.3 Hitting the Memory Wall 17.4 Interleaved and Pipelined Memory 17.5 Nonvolatile Memory 17.6 The Need for a Memory Hierarchy July 2005 Computer Architecture, Memory System Design

17.1 Memory Structure and SRAM Fig. 17.1 Conceptual inner structure of a 2h  g SRAM chip and its shorthand representation. July 2005 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design Multiple-Chip SRAM Fig. 17.2 Eight 128K  8 SRAM chips forming a 256K  32 memory unit. July 2005 Computer Architecture, Memory System Design

SRAM with Bidirectional Data Bus Fig. 17.3 When data input and output of an SRAM chip are shared or connected to a bidirectional data bus, output must be disabled during write operations. July 2005 Computer Architecture, Memory System Design

17.2 DRAM and Refresh Cycles DRAM vs. SRAM Memory Cell Complexity gnd gnd Fig. 17.4 Single-transistor DRAM cell, which is considerably simpler than SRAM cell, leads to dense, high-capacity DRAM memory chips. July 2005 Computer Architecture, Memory System Design

DRAM Refresh Cycles and Refresh Rate Fig. 17.5 Variations in the voltage across a DRAM cell capacitor after writing a 1 and subsequent refresh operations. July 2005 Computer Architecture, Memory System Design

DRAM Packaging 24-pin dual in-line package (DIP) Fig. 17.6 Typical DRAM package housing a 16M  4 memory. July 2005 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design DRAM Evolution Fig. 17.7 Trends in DRAM main memory. July 2005 Computer Architecture, Memory System Design

17.3 Hitting the Memory Wall Fig. 17.8 Memory density and capacity have grown along with the CPU power and complexity, but memory speed has not kept pace. July 2005 Computer Architecture, Memory System Design

Bridging the CPU-Memory Speed Gap Idea: Retrieve more data from memory with each access Fig. 17.9 Two ways of using a wide-access memory to bridge the speed gap between the processor and memory. July 2005 Computer Architecture, Memory System Design

17.4 Pipelined and Interleaved Memory Memory latency may involve other supporting operations besides the physical access itself Virtual-to-physical address translation (Chap 20) Tag comparison to determine cache hit/miss (Chap 18) Fig. 17.10 Pipelined cache memory. July 2005 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design Memory Interleaving Fig. 17.11 Interleaved memory is more flexible than wide-access memory in that it can handle multiple independent accesses at once. July 2005 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design 17.5 Nonvolatile Memory ROM PROM EPROM Fig. 17.12 Read-only memory organization, with the fixed contents shown on the right. July 2005 Computer Architecture, Memory System Design

Computer Architecture, Memory System Design Flash Memory Fig. 17.13 EEPROM or Flash memory organization. Each memory cell is built of a floating-gate MOS transistor. July 2005 Computer Architecture, Memory System Design

17.6 The Need for a Memory Hierarchy The widening speed gap between CPU and main memory Processor operations take of the order of 1 ns Memory access requires 10s or even 100s of ns Memory bandwidth limits the instruction execution rate Each instruction executed involves at least one memory access Hence, a few to 100s of MIPS is the best that can be achieved A fast buffer memory can help bridge the CPU-memory gap The fastest memories are expensive and thus not very large A second (third?) intermediate cache level is thus often used July 2005 Computer Architecture, Memory System Design

Typical Levels in a Hierarchical Memory Fig. 17.14 Names and key characteristics of levels in a memory hierarchy. July 2005 Computer Architecture, Memory System Design