COMP541 Memories II: DRAMs

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)
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.
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.
1 The Basic Memory Element - The Flip-Flop Up until know we have looked upon memory elements as black boxes. The basic memory element is called the flip-flop.
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 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.
1 Above: The first magnetic core memory, from the IBM 405 Alphabetical Accounting Machine. This experimental system was tested successfully in April 1952.
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 COMP 206: Computer Architecture and Implementation Montek Singh Mon., Nov. 18, 2002 Topic: Main Memory (DRAM) Organization – contd.
1 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
8-5 DRAM ICs High storage capacity Low cost Dominate high-capacity memory application Need “refresh” (main difference between DRAM and SRAM) -- dynamic.
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.6 Random Access Memories.
CSIT 301 (Blum)1 Memory. CSIT 301 (Blum)2 Types of DRAM Asynchronous –The processor timing and the memory timing (refreshing schedule) were independent.
CompE 460 Real-Time and Embedded Systems Lecture 5 – Memory Technologies.
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.
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.
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.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory and Storage Dr. Rebhi S. Baraka
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
Chapter 3 Memory Basics. Memory ??? A major component of a digital computer and many digital systems. Stores binary data, either permanently or temporarily.
University of Tehran 1 Interface Design DRAM Modules Omid Fatemi
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.
+ CS 325: CS Hardware and Software Organization and Architecture Memory Organization.
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.
Semiconductor Memory Types
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
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)
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
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
William Stallings Computer Organization and Architecture 8th Edition
Bob Reese Micro II ECE, MSU
Presentation transcript:

COMP541 Memories II: DRAMs Montek Singh Oct 19, 2015

Topics Last lecture: Today: Read-Only Memories (ROMs) Static Random-Access Memory (SRAM) Today: Dynamic Random-Access Memory (DRAM)

Dynamic RAM (DRAM) Very “lightweight” bit-level memory a single capacitor holds charge (= value) no charge = ‘0’ a single transistor acts as gate Write: connect switch & add charge to store a ‘1’… … then disconnect switch Read: read by connecting switch

DRAM Bit Cell Very lightweight contrast with SRAM DRAM cell consists of one transistor and one capacitor! SRAM cell has at least 6 transistors DRAM bit cell: SRAM bit cell:

Hydraulic Analogy: Writing Storage Full (1) Empty (0) Pump fills tank to 1 value Pump drains tank to 0 value

Hydraulic Analogy: Reading Outside water begins at intermediate level (black wavy line) Tank had a 1 value – raises water level Tank had a 0 value – lowers water level

DRAM Characteristics Destructive Read Refresh When cell is read, charge is (partially) removed Must be restored after each read! Refresh Also, there’s steady leakage and no transistor to constantly automatically replenish Charge must be restored periodically

DRAM Logical Diagram Control circuitry Core memory storage

Delay until data available DRAM Read Signaling Since DRAM is often on a separate chip number of pins available can be a limitation lower pin count by using same pins for row and column addresses Delay until data available

DRAM Write Signaling

DRAM Refresh Many strategies refresh circuits on chip here a simple row counter: reads and writes back

Refresh Timing Say, need to refresh every 64ms Distributed refresh Spread refresh out evenly over 64ms Say on a DRAM with 8192 rows (213), refresh window for each row = 64ms/8192=7.8 us Assume: time to refresh each row is 30ns Total time spent in refresh = 30ns * 8192 = 0.25ms but spread out Burst refresh Same 0.25ms, but all at once May not be good in a computer system an unlucky instruction will have to wait long… Refresh takes low % of total time 0.25 ms / 64 ms = less than 4%

Bidirectional Lines Another optimization for reducing pins: Many chips have one set of data pins same pins used as data input for write operations same pins used as data output for read operations otherwise float them (i.e., tri-state) Makes sense because don’t need both read/write data at once

Synchronous DRAM (SDRAM) Has a clock Common type in PCs late-90s Typical DRAMs still synchronous Multiple banks Pipelined Start read in one bank after another Come back and read the resulting values one after another

Modes of DRAM operation DRAMs optimized to read & write entire blocks or at least a few consecutive locations Several different modes normal/basic mode Nibble or Burst Mode Fast Page Mode Extended Data Out (EDO) Mode

Basic Mode of Operation Row Column Address RAS CAS Data Slowest mode Uses only single row and column address Row access is slow (60-70ns) compared to column access (5-10ns) Leads to three techniques for DRAM speed improvement Getting more bits out of DRAM on one access given timing constraints Pipelining the various operations to minimize total time Segmenting the data in such a way that some operations are eliminated for a given set of accesses

Nibble (or Burst) Mode Several consecutive columns are accessed RAS ---- ---- ---- ---- ---- ---- ---- ---- ---- CAS CAS CAS CAS RA CA D1 D2 D3 D4 Several consecutive columns are accessed Only first column address is explicitly specified Rest are internally generated using a counter

Fast Page Mode Accesses arbitrary columns within same row RAS ---- ---- ---- ---- ---- ---- ---- ---- ---- CAS CAS CAS CAS RA CA1 CA2 CA3 CA4 D1 D2 D3 D4 Accesses arbitrary columns within same row Static column mode is similar

EDO Mode Arbitrary column addresses Pipelined EDO = Extended Data Out RAS ---- ---- ---- ---- ---- ---- ---- ---- ---- CAS CAS CAS CAS CAS CAS CAS RA CA1 CA2 CA3 CA4 CA5 CA6 CA7 D1 D2 D3 D4 D5 D6 Arbitrary column addresses Pipelined EDO = Extended Data Out Has other modes like “burst EDO”, which allows reading of a fixed number of bytes starting with each specified column address

DDR DRAM Double Data Rate (DDR) SDRAM Transfers data on both edges of the clock Currently popular You get two memory accesses per clock cycle!

RAMBUS DRAM (RDRAM) Another attempt to alleviate pin limits Many (16-32) banks per chip Made to be read/written in packets Up to 1200MHz bus speeds XDR – 8 bits per clock, 16-bit wide bus, 6.4GB But DDR doing very well also Quite expensive almost disappeared from consumer PCs still present in servers and specialized chips

DRAM Controllers Very common to have a separate chip/module that controls memory Handles banks Handles refresh Multiplexes column and row addresses RAS and CAS timing Called “Northbridge” on PC chip set

Conclusions RAMs with different characteristics Static RAM Dynamic RAM For different purposes Static RAM Simple to use, small, expensive Fast, used for cache Dynamic RAM Complex to interface, largest, cheap Needs periodic refresh

Links Ram Guides (not very technical) Your Nexys 4 board manual http://arstechnica.com/paedia/storage.html Your Nexys 4 board manual