Semiconductor Memory Classification. Today. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. CPU Memory Hierarchy.

Similar documents
Semiconductor Memory Classification

! Memory Overview. ! ROM Memories. ! RAM Memory " SRAM " DRAM. ! This is done because we can build. " large, slow memories OR

! Memory. " RAM Memory. " Serial Access Memories. ! Cell size accounts for most of memory array size. ! 6T SRAM Cell. " Used in most commercial chips

ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems

CENG 4480 L09 Memory 2

Introduction to SRAM. Jasur Hanbaba

Magnetic core memory (1951) cm 2 ( bit)

+1 (479)

Lecture 11 SRAM Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

! Serial Access Memories. ! Multiported SRAM ! 5T SRAM ! DRAM. ! Shift registers store and delay data. ! Simple design: cascade of registers

Digital Integrated Circuits Lecture 13: SRAM

SRAM. Introduction. Digital IC

Introduction to CMOS VLSI Design Lecture 13: SRAM

Lecture 13: SRAM. Slides courtesy of Deming Chen. Slides based on the initial set from David Harris. 4th Ed.

Memory. Outline. ECEN454 Digital Integrated Circuit Design. Memory Arrays. SRAM Architecture DRAM. Serial Access Memories ROM

Memory Design I. Array-Structured Memory Architecture. Professor Chris H. Kim. Dept. of ECE.

Integrated Circuits & Systems

CMPEN 411 VLSI Digital Circuits Spring Lecture 22: Memery, ROM

MEMORIES. Memories. EEC 116, B. Baas 3

Memory Design I. Semiconductor Memory Classification. Read-Write Memories (RWM) Memory Scaling Trend. Memory Scaling Trend

Based on slides/material by. Topic 7-4. Memory and Array Circuits. Outline. Semiconductor Memory Classification

Memory Arrays. Array Architecture. Chapter 16 Memory Circuits and Chapter 12 Array Subsystems from CMOS VLSI Design by Weste and Harris, 4 th Edition

Very Large Scale Integration (VLSI)

Introduction to Semiconductor Memory Dr. Lynn Fuller Webpage:

Module 6 : Semiconductor Memories Lecture 30 : SRAM and DRAM Peripherals

ECE 152 Introduction to Computer Architecture

Sense Amplifiers 6 T Cell. M PC is the precharge transistor whose purpose is to force the latch to operate at the unstable point.

EECS 427 Lecture 17: Memory Reliability and Power Readings: 12.4,12.5. EECS 427 F09 Lecture Reminders

EE141-Fall 2007 Digital Integrated Circuits. ROM and Flash. Announcements. Read-Only Memory Cells. Class Material. Semiconductor Memory Classification

ECE 485/585 Microprocessor System Design

Memories. Design of Digital Circuits 2017 Srdjan Capkun Onur Mutlu.

Memory and Programmable Logic

Digital Integrated Circuits (83-313) Lecture 7: SRAM. Semester B, Lecturer: Dr. Adam Teman Itamar Levi, Robert Giterman.

Memory in Digital Systems

Lecture 11: MOS Memory

Concept of Memory. The memory of computer is broadly categories into two categories:

CENG 4480 L09 Memory 3

ECSE-2610 Computer Components & Operations (COCO)

Chapter 3 Semiconductor Memories. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

CHAPTER 8. Array Subsystems. VLSI Design. Chih-Cheng Hsieh

The Memory Hierarchy 1

CHAPTER 12 ARRAY SUBSYSTEMS [ ] MANJARI S. KULKARNI

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ECE321 Electronics I

CS250 VLSI Systems Design Lecture 9: Memory

Silicon Memories. Why store things in silicon? It s fast!!! Compatible with logic devices (mostly)

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Column decoder using PTL for memory

Internal Memory. Computer Architecture. Outline. Memory Hierarchy. Semiconductor Memory Types. Copyright 2000 N. AYDIN. All rights reserved.

Introduction to CMOS VLSI Design. Semiconductor Memory Harris and Weste, Chapter October 2018

ELCT 912: Advanced Embedded Systems

Lecture-14 (Memory Hierarchy) CS422-Spring

! Memory. " Periphery. " Serial Access Memories. ! Design Methodologies. " Hierarchy, Modularity, Regularity, Locality. ! Implementation Methodologies

CMOS Logic Circuit Design Link( リンク ): センター教官講義ノートの下 CMOS 論理回路設計

Memory Classification revisited. Slide 3

Memory in Digital Systems

ECEN 449 Microprocessor System Design. Memories

The Memory Hierarchy. Daniel Sanchez Computer Science & Artificial Intelligence Lab M.I.T. April 3, 2018 L13-1

Memory in Digital Systems

CS311 Lecture 21: SRAM/DRAM/FLASH

STUDY OF SRAM AND ITS LOW POWER TECHNIQUES

Embedded Systems Design: A Unified Hardware/Software Introduction. Outline. Chapter 5 Memory. Introduction. Memory: basic concepts

Embedded Systems Design: A Unified Hardware/Software Introduction. Chapter 5 Memory. Outline. Introduction

CENG4480 Lecture 09: Memory 1

CS 152 Computer Architecture and Engineering

Design with Microprocessors

ECE 2300 Digital Logic & Computer Organization

Unleashing the Power of Embedded DRAM

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

Design with Microprocessors

ECE 341. Lecture # 16

Design and Analysis of 32 bit SRAM architecture in 90nm CMOS Technology

Prototype of SRAM by Sergey Kononov, et al.

RTL Design (2) Memory Components (RAMs & ROMs)

Basic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types

ECEN 449 Microprocessor System Design. Memories. Texas A&M University

P-2 Digital Design & Applications

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

Chapter 5 Internal Memory

Cell-phone ASIC complexity and cost

The Memory Hierarchy Part I

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

ENEE 759H, Spring 2005 Memory Systems: Architecture and

Silicon Memories. Why store things in silicon? It s fast!!! Compatible with logic devices (mostly) The main goal is to be cheap

Mark Redekopp, All rights reserved. EE 352 Unit 10. Memory System Overview SRAM vs. DRAM DMA & Endian-ness

Spiral 2-9. Tri-State Gates Memories DMA

Dual Port SRAM. Research Article. Rajeshwari Mathapati a*, Geetanjali Kamble a and S.K.Shirakol a

EE577b. Register File. By Joong-Seok Moon

Design and Implementation of an AHB SRAM Memory Controller

CS 320 February 2, 2018 Ch 5 Memory

! Design Methodologies. " Hierarchy, Modularity, Regularity, Locality. ! Implementation Methodologies. " Custom, Semi-Custom (cell-based, array-based)

The Memory Hierarchy. Silvina Hanono Wachman Computer Science & Artificial Intelligence Lab M.I.T.

Memory Technology. (ROM) (Nonvolatile) (Nonvolatile) SerialInIn (SIPO) Erasable Erasable. Erasable Erasable Programmable

chapter 8 The Memory System Chapter Objectives

Power Reduction Techniques in the Memory System. Typical Memory Hierarchy

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

ENGIN 112 Intro to Electrical and Computer Engineering

Random Access Memory (RAM)

William Stallings Computer Organization and Architecture 8th Edition. Chapter 5 Internal Memory

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Transcription:

ESE 57: Digital Integrated Circuits and VLSI Fundamentals Lec : April 4, 7 Memory Overview, Memory Core Cells Today! Memory " Classification " ROM Memories " RAM Memory " Architecture " Memory core " SRAM " DRAM " Periphery (time permitting) CPU Memory Hierarchy Memory Overview CPU Chip L on-cpu cache off-chip cache memory L L3 L4 k to 64 k SRAM (register file) 64k to 4M 4M to 3M SRAM or DRAM 8M 4 Locality and Cacheing Semiconductor Memory Classification! Memory hierarchies exploit locality by cacheing (keeping close to the processor) data likely to be used again! This is done because we can build " large, slow memories OR " small, fast memories BUT " we can t build large, fast memories! If hierarchy works, we get the illusion of SRAM access time with disk based memory capacity. " SRAM (static RAM) -- 5- ns access time, very expensive (on-cpu faster) " DRAM (dynamic RAM) -- 6- ns, cheaper " Disk -- access time measured in milliseconds, very cheap Random Access SRAM DRAM RWM NVRWM ROM Non-Random Access FIFO LIFO Shift Register CAM EPROM E PROM FLASH Mask-Programmed Programmable (PROM) 5

Memory Architecture: Core Memory Architecture: Decoders M bits M bits M bits M bits N Words S S S S N- S N_ Word Word Word Word N- Word N- Storage Cell A A A K- Decoder S Word Word Word Word N- Word N- Storage Cell N Words S S S S N- S N_ Word Word Word Word N- Word N- Storage Cell A A A K- Decoder S Word Word Word Word N- Word N- Storage Cell Input-Output (M bits) Input-Output (M bits) Input-Output (M bits) Input-Output (M bits) N words > N select signals Too many select signals Decoder reduces # of select signals K logn N words > N select signals Too many select signals Decoder reduces # of select signals K logn Array-Structured Memory Architecture Problem: ASPECT RATIO or HEIGHT >> WIDTH L-K Bit Line Storage Cell Latches/Register Can Store a State! Build master-slave register from pair of latches! Control with non-overlapping clocks A K A K+ A L- Row Decoder Word Line Sense Amplifiers / Drivers M. K Amplify swing to rail-to-rail amplitude A A K- Column Decoder Selects appropriate word Input-Output (M bits) MOS NOR ROM ROM Memories [] [] [] [3] [] [] [] [3]

MOS NOR ROM MOS NOR ROM [] [] [] [] [] [3] [] [3] [] [] [] [3] [] [] [] [3] MOS NAND ROM MOS NAND ROM [] [] [] [3] [] [] [] [3] [] [] [] [] [] [] [3] [3] All word lines high by default with exception of selected row All word lines high by default with exception of selected row MOS NAND ROM Non-Volatile Memory ROM PseudonMOS NOR gate [] [] [] [3] [] [] [] [3] All word lines high by default with exception of selected row 8 Kenneth R. Laker, University of Pennsylvania, updated Apr5 3

Contact-Mask Programmable ROM Contact-Mask Programmable ROM 9 Read-Write Memories (RAM) Latches/Register Can Store a State! Static (SRAM) " Data stored as long as supply is applied " Large (6 transistors/cell " Fast " Differential! Dynamic (DRAM) " Periodic refresh required " Small (-3 transistors/cell) " Slower " Single ended! Build master-slave register from pair of latches! Control with non-overlapping clocks Gate Based Latch 6T SRAM Cell! How many transistors in this latch?! Cell size accounts for most of memory array size! 6T SRAM Cell " Used in most commercial chips " Data stored in cross-coupled inverters! Read: " Precharge, bit " Raise word! Write: " Drive data onto, " Raise bit_b 3 4 4

6-transistor CMOS SRAM Cell 6-transistor CMOS SRAM Cell M M M M 6-transistor CMOS SRAM Cell CMOS SRAM Analysis (stored ) Assume is stored () M M M 6-transistor CMOS SRAM Cell CMOS SRAM Analysis (Read) Assume is stored () Read Operation: - First bitlines get precharged high (Vdd) - Then wordline goes high (Vdd) M M V M k n, --------------- ----------- V Tn ----------- k nm, ( V ) V Tn ----------- DD ----------- 8 (W/L)n, (W/L)n,M (supercedes read constraint) 5

CMOS SRAM Analysis (Read) CMOS SRAM Analysis (Read) V M V M k n, ΔV V Tn ( ) k n,m ( V Tn )ΔV ΔV W k n, L 5 k n,m W L ( V Tn )ΔV ΔV ( ΔV V Tn ) CMOS SRAM Analysis (Read) CMOS SRAM Analysis (Read) V M Voltage Rise (V)..8.6.4. W k n, L 5 k n,m W L ( V Tn )ΔV ΔV ( ΔV V Tn ) ΔV V Tn W L 5 W L (.5V Tn )V Tn V Tn ( ).5..5 Cell Ratio (CR).5 3 6-transistor CMOS SRAM Cell CMOS SRAM Analysis (Write) Assume is stored () Write Operation: - Want to write a - First drive bitlines with input data - Then wordline goes high (Vdd) M M k n, ( V ) Tn ---------- ---------- 8 M k p, ( V ) Tp ---------- ---------- 8 (W/L) n,.33 (W/L) p, k n, ------------- ---------- V Tn ---------- kn, ( M ) V DD V VTn ---------- DD ----------- 8 (W/L) n, (W/L) n,m 6

CMOS SRAM Analysis (Write) CMOS SRAM Analysis (Write) M M ( ) k n,m 4 ( V Tp )V V k n,m 6 V Tn k n,m 4 k n,m 6 ( V Tn ) ( V Tp )V V CMOS SRAM Analysis (Write) CMOS SRAM Analysis (Write) PR W 4 L 4 W 6 L 6 PR W 4 L 4 W 6 L 6 M k n,m 4 k n,m 6 ( V Tn ) ( V Tp )V V V V Tn k n,m 4 k n,m 6 ( V Tn ) ( V Tp )V Tn V Tn DRAM 3-Transistor DRAM Cell! Smaller than SRAM! Require data refresh to compensate for leakage W W R R M X M X -VT C S -VT ΔV No constraints on device ratios Reads are non-destructive Value stored at node X when writing a V W-V Tn 4 7

-Transistor DRAM Cell DRAM Cell Observations C M C S X / C ΔV V V ( PRE V BIT V ) S ----------------------- PRE C S + C Write "" Read "" V T sensing / Write: CS is charged or discharged by asserting and. Read: Charge redistribution takes places between bit line and storage capacitance T DRAM requires a sense amplifier for each bit line, due to charge redistribution read-out. DRAM memory cells are single ended in contrast to SRAM cells. The read-out of the T DRAM cell is destructive; read and refresh operations are necessary for correct operation. Unlike 3T cell, T cell requires presence of an extra capacitance that must be explicitly included in the design. When writing a into a DRAM cell, a threshold voltage is lost. This charge loss can be circumvented by bootstrapping the word lines to a higher value than. Voltage swing is small; typically around 5 mv. Periphery Memory Periphery! Decoders! Sense Amplifiers! Input/Output Buffers! Control/Timing Circuitry Array Architecture Array Architecture! n words of m bits each! Good regularity easy to design! Very high density if good cells are used! n words of m bits each! Good regularity easy to design! Very high density if good cells are used 47 48 8

Array Architecture Array Architecture! n words of m bits each! Good regularity easy to design! Very high density if good cells are used! n words of m bits each! Good regularity easy to design! Very high density if good cells are used 49 5 Decoders Decoders! n: n decoder consists of n n-input AND gates " One output needed for each row of memory " Build AND from NAND or NOR gates Static CMOS A A word word A A 8 4 word word word3 5 Large Decoders! For n > 4, NAND gates become slow " Break large gates into multiple smaller gates A3 A A A word Predecoding! Many of these gates are redundant " Factor out common A3 gates into predecoder A " Saves area " Same path effort A A predecoders word word of 4 hot predecoded lines word word word3 word word3 word5 word5 53 54 9

Row Select: Precharge NAND Row Select: Precharge NOR 55 56 Array Architecture Column Circuitry & Bit-line Conditioning! n words of m bits each! Good regularity easy to design! Very high density if good cells are used 58 Column Circuitry Bitline Conditioning! Some circuitry is required for each column! Precharge bitlines high before reads " Bitline conditioning " Precharging " Driving input data to bitline bit φ bit_b " Sense amplifiers " Column multiplexing (AKA Column Decoders) 59 6

Bitline Conditioning! Precharge bitlines high before reads Bitline Conditioning! Precharge bitlines high before reads bit φ bit_b bit φ bit_b! What if pre-charged to Vdd/? " Pros: reduces read-upset " Challenge: generate Vdd/ voltage on chip 6 6 Sense Amplifiers Idea! Bitlines have many cells attached " Ex: 3-kbit SRAM has 8 rows x 56 cols " 8 cells on each bitline! t pd (C/I) ΔV " Even with shared diffusion contacts, 64C of diffusion capacitance (big C) " Discharged slowly through small transistors in each memory cell (small I)! Sense amplifiers are triggered on small voltage swing V (ΔV) V()! Memory for compact state storage! Share circuitry across many bits " Minimize area per bit # maximize density! Aggressively use: " Pass transistors, Ratioing " Precharge, Amplifiers to keep area down V PRE ΔV V() Sense amp activated Word line activated t 63 64 Admin! Homework 7 due Thursday " Extra Credit due Sunday! Project partners due Thursday " Email your team names to me " taniak@seas.upenn.edu! Final Project " Design and layout memory " Handout posted before Thursday class " Due 4/5 (last day of class) " Everyone gets an extension until 5/3 (day of final exam) 65