Memory.

Slides:



Advertisements
Similar presentations
Outline Memory characteristics SRAM Content-addressable memory details DRAM © Derek Chiou & Mattan Erez 1.
Advertisements

Chapter 5 Internal Memory
Computer Organization and Architecture
Computer Organization and Architecture
+ CS 325: CS Hardware and Software Organization and Architecture Internal Memory.
Sistemi Elettronici Programmabili1 Progettazione di circuiti e sistemi VLSI Anno Accademico Lezione Memorie (vedi anche i file pcs1_memorie.pdf.
COEN 180 DRAM. Dynamic Random Access Memory Dynamic: Periodically refresh information in a bit cell. Else it is lost. Small footprint: transistor + capacitor.
Digital Integrated Circuits A Design Perspective
Elettronica T AA Digital Integrated Circuits © Prentice Hall 2003 SRAM & DRAM.
Chapter 10. Memory, CPLDs, and FPGAs
11/29/2004EE 42 fall 2004 lecture 371 Lecture #37: Memory Last lecture: –Transmission line equations –Reflections and termination –High frequency measurements.
Digital Integrated Circuits© Prentice Hall 1995 Memory SEMICONDUCTOR MEMORIES.
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.
Computer Organization and Architecture
Chapter 5 Internal Memory
Spring 2002EECS150 - Lec19-memory Page 1 EECS150 - Digital Design Lecture 18 - Memory April 4, 2002 John Wawrzynek.
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 EE365 Read-only memories Static read/write memories Dynamic read/write memories.
12/1/2004EE 42 fall 2004 lecture 381 Lecture #38: Memory (2) Last lecture: –Memory Architecture –Static Ram This lecture –Dynamic Ram –E 2 memory.
Khaled A. Al-Utaibi Memory Devices Khaled A. Al-Utaibi
Lecture on Electronic Memories. What Is Electronic Memory? Electronic device that stores digital information Types –Volatile v. non-volatile –Static v.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 5 Internal Memory.
TEJ3M Teacher: Ms. Luce Name: Alex H. Date: February 18th 2010
Digital Integrated Circuits© Prentice Hall 1995 Memory SEMICONDUCTOR MEMORIES Adapted from Jan Rabaey's IC Design. Copyright 1996 UCB.
Chapter 5 Internal Memory. Semiconductor Memory Types.
Memory /27/081ECE Lecture 13 Memory 2.
Chapter 8 Memory Interface
Modern VLSI Design 4e: Chapter 6 Copyright  2008 Wayne Wolf Topics Memories: –ROM; –SRAM; –DRAM; –Flash. Image sensors. FPGAs. PLAs.
Chapter 3 Internal Memory. Objectives  To describe the types of memory used for the main memory  To discuss about errors and error corrections in the.
Internal Memory.
Digital Design: Principles and Practices
Computer Architecture Lecture 24 Fasih ur Rehman.
Semiconductor Memory Types
Computer Architecture Chapter (5): Internal Memory
Chapter 5 - Internal Memory 5.1 Semiconductor Main Memory 5.2 Error Correction 5.3 Advanced DRAM Organization.
Memory and Programmable Logic
COMP541 Memories II: DRAMs
Chapter 5 Internal Memory
William Stallings Computer Organization and Architecture 7th Edition
Homework Reading Tokheim, Chapter 12-1 through 12-4.
COMP211 Computer Logic Design
Recap DRAM Read Cycle DRAM Write Cycle FAST Page Access Mode
Internal Memory.
COMP541 Memories II: DRAMs
Memory Units Memories store data in units from one to eight bits. The most common unit is the byte, which by definition is 8 bits. Computer memories are.
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
שמות מאפיינים ומטרות של זיכרונות ROM - ו RAM
Information Storage and Spintronics 10
Computer Architecture
William Stallings Computer Organization and Architecture 7th Edition
William Stallings Computer Organization and Architecture 8th Edition
BIC 10503: COMPUTER ARCHITECTURE
Semiconductor Memories
Chapter 4: MEMORY.
Chapter 4 Internal Memory
William Stallings Computer Organization and Architecture 8th Edition
Bob Reese Micro II ECE, MSU
Semiconductor memories are classified in different ways. A distinction is made between read-only (ROM) and read-write (RWM) memories. The contents RWMs.
Presentation transcript:

Memory

Memory Decoders

Array-Structured Memory

Array Decoding

Hierarchical Memory Arrays

Memory Timing Definitions

Memory Timing Approaches

Example: HM6264 8kx8 SRAM

HM6264 Interface

Function Table

Timing

Read Cycle 1

Read Cycle 1 85ns min 85ns max 85ns max 10ns min 30ns min 85ns max

Read Cycle 2

Read Cycle 2 85ns max 10ns min 10ns min

Write Timing

Write Cycle

Write Cycle 85ns min 75ns min 0ns min 75ns min 55ns min 0ns min 0ns min, 30ns max 40ns min 0ns min

What Does All This Mean For a read: For a write: If you assert CS1, CS2, address, and OE all at the same time, it will be max 85ns before valid data are available at chip outputs For a write: You can assert CS1, CS2, address, data, and WE all at the same time if you want to You need to wait 55ns from WE edge, or 75ns from CS1/CS2 edge for write to have happened

R/W Memories In General

SRAM Circuits

SRAM Cell, Transistors

SRAM, Resistive Pullups

Array-Structured Memory

Memory Column Each column has all the support circuits

Reading the Bit Single-ended read using an inverter Dynamic pre-charge on the bit lines P-types pull bit lines high

Reading the Bit 2 Single-ended read using an inverter Dynamic pre-charge on the bit lines Note the N-types used as pull-ups

Reading the Bit 3 Differential read using sense amp Static N-type pullup on the bit lines

Read Waveforms

Sense Amp

Sense Amp Transistors

Column Organization

Write Circuits

Write Circuit Simulation

Analog Sim, Circuit

Analog Analysis, Write

Analog Analysis, Read

6T SRAM Layout

Another 6T SRAM Layout

SRAM bit from makemem (v1)

SRAM bit from makemem (v2)

Array-Structured Memory

Row Decoders Select exactly one of the memory rows Simple versions are just gates

Row Decoder Gates Standard gates Or, pseudo-nmos gates with static pull up Easier to make large fan-in NOR

Pre-decode Row Decoder Multiple levels of decoding can be more efficient layout

Pre-decode Row Decoder Other circuit tricks for building row decoders…

Array-Structured Memory

Array-Structured Memory

Sharing Sense Amps

Sense Amp Mux

Sense Amp Mux

Decoded Column Decode

Improving Speed, Power

Multi-Port Memory Very common to require multiple read ports Think about a register file, for example

Multi-Port Register Re1 Re0 Slightly larger cell, but with single-ended read – makes a great register file

Register File Slightly larger cell, but with single-ended read – makes a great register file

Dynamic RAM Get rid of the pull-ups! Store info on capacitors Means that stored information leaks away

Dynamic RAM… Once you agree to use a capacitor for charge storage there are other ways to build this…

3T DRAM Circuit

3T DRAM Layout BL2 BL1 GND RWL M3 M2 WWL M1

1 T DRAM Circuit

2-T (1-T) DRAM layout Note the increased gate size of the storage transistor Increases the capacitance

1T DRAM Observations

1T DRAM Read/Write

1T DRAM Cell “Folded bit line”

Array of DRAM Cells “Folded Bit Line”

Reading a 1T DRAM Cell Charge Sharing

DRAM Sense Amp

Photo of 1T DRAM

Advanced DRAM Cells Try to get more capacitance per unit area… Trench Capacitor

Examples of Advanced DRAMs Word line Cell plate Capacitor dielectric layer Insulating Layer Cell Plate Si Capacitor Insulator Transfer gate Isolation Refilling Poly Storage electrode Storage Node Poly Si Substrate 2nd Field Oxide Trench Cell Stacked-capacitor Cell

Memory Timing Approaches

DRAM Interface

Extended Data Out Page Mode

Comments on Timing

Architectural Issues

SDRAM - Use CAS for Bursts

DDR SDRAM Double Data Rate

DRAM Timing

RAMBUS DRAM (RDRAM)

RDRAM Bandwidth

Maximum Bandwidth

Normal Bus for DRAM DIMMs

RDRAM Bus

Deep Pipelining - High Latency

RDRAM Addressing

Row Activate Command

RDRAM System Arch

RDRAM Internal Arch

Regular DRAM

Single Bank DRAM

Multi-Bank DRAM

Peak Bandwidth

ROM

ROM

ROM

ROM

ROM Layout

ROM Layout

Precharged ROM

Precharged ROM

Other Memory Cells

Non-Volatile ROM EPROM EEPROM Flash EEPROM Erasable Programmable ROM EEPROM Electrically Erasable Programmable ROM Flash EEPROM Electrically Erasable Programmable ROM that is erased in large chunks All these devices rely on trapping charge on a floating gate

EPROM

Programming EPROM Higher Vth (around 7v) means that 5v Vgs no longer turns on the transistor SiO2 is an excellent insulator Trapped charge can stay for years

Erasing an EPROM Erase by shining UV light through window in the package UV radiation makes oxide slightly conductive Erasure is slow - from seconds to minutes depending on UV intensity Also the erase/program cycles are limited (around 1000), mainly as a result of the UV erasing But, EPROMs are simple and dense

EEPROM Thin oxide allows erasing in-system Fowler-Nordheim Tunneling Floating Gate Tunneling Oxide transistor Thin oxide allows erasing in-system Fowler-Nordheim Tunneling

EEPROM Two transistors instead of one Bigger and not as dense as EPROM The second keeps you from removing too much charge during erasure Bigger and not as dense as EPROM But, more erase/program cycles On the order of 105 Eventually you get permanently trapped charge in the SiO2

Flash EEPROM Essentially the same as EEPROM But, large regions erased at once Means you can monitor the voltages and don’t need the extra access transistor

EEPROM Flash

Realistic PROM Devices

Content Addressable Mem Asks the question: Are there are any locations that hold this value? Used for tag memories in associative caches Or translation lookaside buffers Or other pattern matching applications

Content Addressable Mem Add the Match line Essentially a distributed NOR gate

Content Addressable Mem

Programmable Logic Array

PLA Still useful for random combinational logic Standard cell ASIC tools may be replacing them They can generate dense AND-OR circuits

Pseudo-Static PLA Circuit

Dynamic PLA

PLA Layout

PLA vs. ROM

FPGAs Field Programmable Gate Arrays Array of P-type and N-type transistors Sources and drains connected to Power and ground Metal Map gate structures to sea of gates Less expensive – only modify metal masks