CS 312 Computer Architecture Memory Basics Department of Computer Science Southern Illinois University Edwardsville Summer, 2015 Dr. Hiroshi Fujinoki E-mail:

Slides:



Advertisements
Similar presentations
COMPUTER SYSTEMS An Integrated Approach to Architecture and Operating Systems Chapter 9 Memory Hierarchy ©Copyright 2008 Umakishore Ramachandran and William.
Advertisements

Main MemoryCS510 Computer ArchitecturesLecture Lecture 15 Main Memory.
Cache Heng Sovannarith
5-1 Memory System. Logical Memory Map. Each location size is one byte (Byte Addressable) Logical Memory Map. Each location size is one byte (Byte Addressable)
These slides incorporate figures from Digital Design Principles and Practices, third edition, by John F. Wakerly, Copyright 2000, and are used by permission.
1 DIGITAL DESIGN I DR. M. MAROUF MEMORY Read-only memories Static read/write memories Dynamic read/write memories Author: John Wakerly (CHAPTER 10.1 to.
Memory (RAM) Organization Each location is addressable Addresses are binary numbers Addresses used at different granularities –each bit is possible, but.
Main Mem.. CSE 471 Autumn 011 Main Memory The last level in the cache – main memory hierarchy is the main memory made of DRAM chips DRAM parameters (memory.
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
Computer Architecture 2011 – peripherals 1 Computer Architecture Peripherals By Dan Tsafrir, 6/6/2011 Presentation based on slides by Lihu Rappoport.
CS.305 Computer Architecture Memory: Structures Adapted from Computer Organization and Design, Patterson & Hennessy, © 2005, and from slides kindly made.
Memories and the Memory Subsystem; The Memory Hierarchy; Caching; ROM.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
Memory Interface Dr. Esam Al_Qaralleh CE Department
Memory Hierarchy.1 Review: Major Components of a Computer Processor Control Datapath Memory Devices Input Output.
ENEE350 Ankur Srivastava University of Maryland, College Park Based on Slides from Mary Jane Irwin ( )
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
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.
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.6 Random Access Memories.
Physical Memory and Physical Addressing By: Preeti Mudda Prof: Dr. Sin-Min Lee CS147 Computer Organization and Architecture.
Memory Technology “Non-so-random” Access Technology:
Chapter 4 ระบบหน่วยความจำ The Memory System
CPE232 Memory Hierarchy1 CPE 232 Computer Organization Spring 2006 Memory Hierarchy Dr. Gheith Abandah [Adapted from the slides of Professor Mary Irwin.
CSIE30300 Computer Architecture Unit 07: Main Memory Hsin-Chou Chi [Adapted from material by and
Survey of Existing Memory Devices Renee Gayle M. Chua.
1 CSCI 2510 Computer Organization Memory System I Organization.
9/26: Memory ROM vs. RAM ROM –BIOS RAM –changeable –different kinds & uses inc. VRAM, SRAM –how it works image courtesy of How Computers Work CD.
Systems Overview Computer is composed of three main components: CPU Main memory IO devices Refers to page
Lecture 19 Today’s topics Types of memory Memory hierarchy.
EEE-445 Review: Major Components of a Computer Processor Control Datapath Memory Devices Input Output Cache Main Memory Secondary Memory (Disk)
Lecture 13 Main Memory Computer Architecture COE 501.
Main Memory CS448.
Hyper Threading (HT) and  OPs (Micro-Operations) Department of Computer Science Southern Illinois University Edwardsville Summer, 2015 Dr. Hiroshi Fujinoki.
University of Tehran 1 Interface Design DRAM Modules Omid Fatemi
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
Memory and Storage. Computer Memory Processor registers – Temporary storage locations within the CPU – Examples Instruction register – holds the instruction.
COMP203/NWEN Memory Technologies 0 Plan for Memory Technologies Topic Static RAM (SRAM) Dynamic RAM (DRAM) Memory Hierarchy DRAM Accelerating Techniques.
COMP541 Memories II: DRAMs
1 Adapted from UC Berkeley CS252 S01 Lecture 18: Reducing Cache Hit Time and Main Memory Design Virtucal Cache, pipelined cache, cache summary, main memory.
Memory 2 ©Paul Godin Created March 2008 Memory 2.1.
Contemporary DRAM memories and optimization of their usage Nebojša Milenković and Vladimir Stanković, Faculty of Electronic Engineering, Niš.
COMPUTER SYSTEMS ARCHITECTURE A NETWORKING APPROACH CHAPTER 12 INTRODUCTION THE MEMORY HIERARCHY CS 147 Nathaniel Gilbert 1.
CS35101 Computer Architecture Spring 2006 Lecture 18: Memory Hierarchy Paul Durand ( ) [Adapted from M Irwin (
5-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL
CSE431 L18 Memory Hierarchy.1Irwin, PSU, 2005 CSE 431 Computer Architecture Fall 2005 Lecture 18: Memory Hierarchy Review Mary Jane Irwin (
“With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
CPEG3231 Integration of cache and MIPS Pipeline  Data-path control unit design  Pipeline stalls on cache misses.
Advanced Computer Architecture CS 704 Advanced Computer Architecture Lecture 25 Memory Hierarchy Design (Storage Technologies Trends and Caching) Prof.
MICROPROCESSOR BASED SYSTEM DESIGN BY PROF. DR. B. S. CHOWDHRY Lecture #
Chapter 2 content Basic organization of computer What is motherboard
CS 704 Advanced Computer Architecture
CS 1251 Computer Organization N.Sundararajan
Chapter 5 Internal Memory
Yu-Lun Kuo Computer Sciences and Information Engineering
CS 286: Memory Paging and Virtual Memory
William Stallings Computer Organization and Architecture 8th Edition
Computer Architecture
Introduction to Computing
William Stallings Computer Organization and Architecture 8th Edition
MICROPROCESSOR MEMORY ORGANIZATION
Word Assembly from Narrow Chips
Chapter 4: MEMORY.
CS 286 Computer Architecture & Organization
William Stallings Computer Organization and Architecture 8th Edition
Bob Reese Micro II ECE, MSU
Presentation transcript:

CS 312 Computer Architecture Memory Basics Department of Computer Science Southern Illinois University Edwardsville Summer, 2015 Dr. Hiroshi Fujinoki MemoryBasics/000

CS 312 Computer Architecture MemoryBasics/001 The problem in memory system “An improvement rate of 60%/year in microprocessor performance, while the access time to DRAM has been improving at less than 10%/year” “The Gap between Processor and Memory Speeds” by Carlos Carvalho Throughput

What is “memory” in a computer system? (1) Memory is a collection of capacitors that can hold electricity (3) Memory is referenced by ROW address and COLUMN address (2) Condensers are organized as an N  N matrix (4) Two types of memory: - Dynamic RAM (DRAM) and Static RAM (SRAM) (5) SRAM is faster (i.e., shorter access latency) than DRAM - SRAM is used for L2 (or L3 cache) CS 312 Computer Architecture MemoryBasics/002

Row Address Column Address Signal Condenser (capacitor) - holds electricity for ms. Internal structure of typical DRAM one bit = CS 312 Computer Architecture MemoryBasics/003

 Linear Address (00000~FFFFF)  Column Address  Memory Precharge Memory access architecture for DRAM CPU Memory Controller  Data Out  Data  Row Address CS 312 Computer Architecture MemoryBasics/004

(1) CPU sends memory access request to the memory controller (2) The memory controller issues RAS (Row Access Strobe) (3) The memory controller issues CAS (Column Access Strobe) (4) Memory chip waits for stabilized (5) Memory chip responds Time (6) PreCharge CS 312 Computer Architecture MemoryBasics/005

CPU registers Cache memory within a CPU (Level-1 Cache) Cache memory on a motherboard (Level-2 Cache) Main memory Memory Hierarchy Hard drive Fastest Slowest CS 312 Computer Architecture MemoryBasics/006

CPU registers Cache memory within a CPU (Level-1 Cache) Cache memory on a motherboard (Level-2 Cache) Main memory Memory Hierarchy Hard drive Fastest Slowest Highest Cost Lowest Cost We have a trade-off problem “Cost” = $$$ amount for each byte CS 312 Computer Architecture MemoryBasics/007

Level-1 Cache (Part 1 – Intel’s i486) The L1-cache in i486 CS 312 Computer Architecture MemoryBasics/008

Level-1 (L1) Cache Level-1 Cache (Part 2 – Intel’s Pentium 4) CS 312 Computer Architecture MemoryBasics/009

(1) (2)(3) (1) (2)(3) (1) (2)(3) (1) (2)(3) (1) RAS Strobe (Issuing Row Address) (2) CAS Strobe (Issuing Column Address) (3) Data Out/In (Data Read/Write) Memory Pipelining - Concept CS 312 Computer Architecture MemoryBasics/010

Row Strobe Memory Pipelining Column Strobe Output Time Memory Chip A memory access technique used in SDRAM Access latency for each memory chip is still slow (40-60 ns) CS 312 Computer Architecture MemoryBasics/011

One memory bank Row Address Module Selector Memory Inter-leave (address) MOD 3 = 0 (address) MOD 3 = 1 (address) MOD 3 = 2 Column Address CS 312 Computer Architecture MemoryBasics/012