University of Tehran 1 Interface Design DRAM Modules Omid Fatemi

Slides:



Advertisements
Similar presentations
Chapter 5 Internal Memory
Advertisements

Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
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)
Anshul Kumar, CSE IITD CSL718 : Main Memory 6th Mar, 2006.
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
EKT 221 : DIGITAL 2. Today’s Outline  Dynamic RAM (DRAM)  DRAM Cell – The Hydraulic Analogy  DRAM Block Diagram  Types of DRAM.
EECC341 - Shaaban #1 Lec # 19 Winter Read Only Memory (ROM) –Structure of diode ROM –Types of ROMs. –ROM with 2-Dimensional Decoding. –Using.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
DRAM. Any read or write cycle starts with the falling edge of the RAS signal. –As a result the address applied in the address lines will be latched.
1 COMP 206: Computer Architecture and Implementation Montek Singh Wed., Nov. 19, 2003 Topic: Main Memory (DRAM) Organization.
1 Above: The first magnetic core memory, from the IBM 405 Alphabetical Accounting Machine. This experimental system was tested successfully in April 1952.
1 COMP 206: Computer Architecture and Implementation Montek Singh Mon., Nov. 18, 2002 Topic: Main Memory (DRAM) Organization – contd.
Main Memory by J. Nelson Amaral.
8-5 DRAM ICs High storage capacity Low cost Dominate high-capacity memory application Need “refresh” (main difference between DRAM and SRAM) -- dynamic.
CSIT 301 (Blum)1 Memory. CSIT 301 (Blum)2 Types of DRAM Asynchronous –The processor timing and the memory timing (refreshing schedule) were independent.
Memory Technology “Non-so-random” Access Technology:
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
Main Memory Background Random Access Memory (vs. Serial Access Memory) Cache uses SRAM: Static Random Access Memory –No refresh (6 transistors/bit vs.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
Survey of Existing Memory Devices Renee Gayle M. Chua.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL RAM Basics Anselmo Lastra.
CMPUT 429/CMPE Computer Systems and Architecture1 CMPUT429 - Winter 2002 Topic5: Memory Technology José Nelson Amaral.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Systems Overview Computer is composed of three main components: CPU Main memory IO devices Refers to page
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Main Memory CS448.
CPEN Digital System Design
Asynchronous vs. Synchronous Counters Ripple Counters Deceptively attractive alternative to synchronous design style State transitions are not sharp! Can.
 Seattle Pacific University EE Logic System DesignMemory-1 Memories Memories store large amounts of digital data Each bit represented by a single.
Chapter 6: Internal Memory Computer Architecture Chapter 6 : Internal Memory Memory Processor Input/Output.
It is the work space for the CPU Temporary storage for data/programs the CPU is working with. Started as a collection of IC’s on Motherboard. Two main.
Memory Cell Operation.
University of Tehran 1 Microprocessor System Design Memory Timing Omid Fatemi
Overview Memory definitions Random Access Memory (RAM)
Dynamic Random Access Memory (DRAM) CS 350 Computer Organization Spring 2004 Aaron Bowman Scott Jones Darrell Hall.
Computer Architecture Lecture 24 Fasih ur Rehman.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 2.
Semiconductor Memory Types
COMP541 Memories II: DRAMs
1 Memory Hierarchy (I). 2 Outline Random-Access Memory (RAM) Nonvolatile Memory Disk Storage Suggested Reading: 6.1.
Chapter 5 Internal Memory. contents  Semiconductor main memory - organisation - organisation - DRAM and SRAM - DRAM and SRAM - types of ROM - types of.
Computer Architecture Chapter (5): Internal Memory
“With 1 MB RAM, we had a memory capacity which will NEVER be fully utilized” - Bill Gates.
Types of RAM (Random Access Memory) Information Technology.
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
COMP541 Memories II: DRAMs
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
7-5 DRAM ICs High storage capacity Low cost
Types of RAM (Random Access Memory)
DRAM in Personal Computes
COMP541 Memories II: DRAMs
William Stallings Computer Organization and Architecture 7th Edition
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
William Stallings Computer Organization and Architecture 8th Edition
Bob Reese Micro II ECE, MSU
Presentation transcript:

University of Tehran 1 Interface Design DRAM Modules Omid Fatemi

University of Tehran 2 Dynamic RAM Capacitor can hold charge Transistor acts as gate No charge is a 0 Can close switch & add charge to store a 1 Then open switch (disconnect) Can read by closing switch –Sense amps

University of Tehran 3 Hydraulic Analogy Storage Full (1) Empty (0) Pump fills tank to 1 value Pump drains tank to 0 value

University of Tehran 4 Reading Tank had a 1 value – raises water level Outside water begins at intermediate level (black wavy line) Tank had a 0 value – lowers water level

University of Tehran 5 DRAM Refreshing Refresh –Destructive read –Also, there’s steady leakage –Charge must be restored periodically

University of Tehran 6 DRAM Logical Diagram

University of Tehran 7 DRAM Read Signaling Lower pin count by using same pins for row and column addresses Delay until data available

University of Tehran 8 Standard DRAM Timing

University of Tehran 9 DRAM Write Timing

University of Tehran 10 PC RAM Interface

University of Tehran 11 DRAM Connections in PC

University of Tehran 12 Wait State Generation

University of Tehran 13 DRAM Refresh Many strategies Logic on chip Here a row counter

University of Tehran 14 DRAM Types (refresh) Standard refresh (every 15.6 micro-sec) Extended refresh (every 125 micro-sec)

University of Tehran 15 Refresh Methods Burst refresh Distributed refresh

University of Tehran 16 Timing Say need to refresh every 64ms Distributed refresh –Spread refresh out evenly over 64ms –Say on a 4Mx4 DRAM, refresh every 64ms/4096=15.6 us –Total time spent is 0.25ms, but spread Burst refresh –Same 0.25ms, but all at once –May not be good in a computer system Refresh takes low % of total time

University of Tehran 17 RAS Only Refresh

University of Tehran 18 CAS Before RAS Refresh On-board refresh counter applies the row addresses

University of Tehran 19 Hidden Refresh

University of Tehran 20 RAS Only Refresh in PC

University of Tehran 21 Standard DRAM Enhancements Page Mode DRAM –Toggle CAS –Provide column

University of Tehran 22 Static Column Mode No CAS Provide Column Assert CS

University of Tehran 23 Nibble Mode DRAM Toggle CAS No column address

University of Tehran 24 DRAM Burst Access Mode

University of Tehran 25 DRAM Timing

University of Tehran 26 EDO DRAM Extended Data Out –Data stays when there is no CAS

University of Tehran 27 Synchronous DRAM (SDRAM) Has a clock! Common type in PCs late-90s Multiple banks Pipelined –Start read in one bank after another –Come back and read the resulting values one after another

University of Tehran 28 Basic Organisation Interleaved Memory Banks (1)

University of Tehran 29 Typical Timing Diagram Interleaved Memory Banks (2)

University of Tehran 30 SDRAM Timing

University of Tehran 31 SDRAM Commands

University of Tehran 32 DDR DRAM Double Data Rate SDRAM Transfers data on both edges of the clock The internal databus is twice the width of the external For high speed data integrity –Differential inputs –Differential clocks Currently popular

University of Tehran 33 SDR vs. DDR

University of Tehran 34 DDR Read

University of Tehran 35 RAMBUS DRAM (RDRAM) Another attempt to alleviate pinout limits Many (16-32) banks per chip Made to be read/written in packets Up to 400MHz bus speeds –But DDR doing very well also Each bank, 1MB Each bank 512 rows of 128 dualocts (16 bytes) Only half of banks open at once (sense amp sharing) Multiplexing

University of Tehran 36 DRAM Controllers Very common to have chip that controls memory –Handles banks –Handles refresh Multiplexes column and row addresses –RAS and CAS timing Northbridge on PC chip set

University of Tehran 37 Pentium 4 cache – no on chip cache – 8k using 16 byte lines and four way set associative organization Pentium (all versions) – two on chip L1 caches —Data & instructions Pentium 4 – L1 caches —8k bytes —64 byte lines —four way set associative L2 cache —Feeding both L1 caches —256k —128 byte lines —8 way set associative

University of Tehran 38 Comparison of Cache Sizes