CENG 4480 L09 Memory 3

Similar documents
Lecture 20: CAMs, ROMs, PLAs

Lecture 14: CAMs, ROMs, and PLAs

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

+1 (479)

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

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

CENG 4480 L09 Memory 2

Introduction to SRAM. Jasur Hanbaba

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

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

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

CHAPTER 12 ARRAY SUBSYSTEMS [ ] MANJARI S. KULKARNI

Very Large Scale Integration (VLSI)

SRAM. Introduction. Digital IC

Introduction to CMOS VLSI Design Lecture 13: SRAM

Digital Integrated Circuits Lecture 13: SRAM

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

ELCT 912: Advanced Embedded Systems

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

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

PROGRAMMABLE LOGIC DEVICES

Memory and Programmable Logic

Semiconductor Memory Classification

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

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

Presentation 4: Programmable Combinational Devices

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

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

Integrated Circuits & Systems

Semiconductor Memories: RAMs and ROMs

Chapter 6 Selected Design Topics

Slide Set 10. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Magnetic core memory (1951) cm 2 ( bit)

Review: Chip Design Styles

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

Lecture 11: MOS Memory

PROGRAMMABLE MODULES SPECIFICATION OF PROGRAMMABLE COMBINATIONAL AND SEQUENTIAL MODULES

Hardware Design with VHDL PLDs I ECE 443. FPGAs can be configured at least once, many are reprogrammable.

Digital Systems. Semiconductor memories. Departamentul de Bazele Electronicii

Memory and Programmable Logic

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

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

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

Austin Herring Recitation 002 ECE 200 Project December 4, 2013

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

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

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

Digital Logic & Computer Design CS Professor Dan Moldovan Spring 2010

CSEE 3827: Fundamentals of Computer Systems. Storage

Very Large Scale Integration (VLSI)

Programmable Logic Devices Introduction CMPE 415. Programmable Logic Devices

ECE321 Electronics I

ENGR 303 Introduction to Logic Design Lecture 7. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

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

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

Introduction to Semiconductor Memory Dr. Lynn Fuller Webpage:

ece5745-pla-notes.txt

Lecture 13: Memory and Programmable Logic

Chapter 2. Boolean Expressions:

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

Memory in Digital Systems

EECS150 - Digital Design Lecture 16 Memory 1

MEMORIES. Memories. EEC 116, B. Baas 3

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

UNIT - V MEMORY P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

Introduction to CMOS VLSI Design. Programmable Logic. Peter Kogge Fall 2015

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

Combinational Logic Circuits

TSEA22, DIGITALTEKNIK LECTURE 7

CS 320 February 2, 2018 Ch 5 Memory

Read and Write Cycles

Combinational Circuits Digital Logic (Materials taken primarily from:

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

ECSE-2610 Computer Components & Operations (COCO)

ECEN 449 Microprocessor System Design. Memories

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

UNIT V (PROGRAMMABLE LOGIC DEVICES)

Memory and Programmable Logic

P-2 Digital Design & Applications

Code No: R Set No. 1

Experiment 4 Boolean Functions Implementation

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

NAND Flash Memory. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

II/IV B.Tech (Regular/Supplementary) DEGREE EXAMINATION. Answer ONE question from each unit.

MEMORY AND PROGRAMMABLE LOGIC

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

EECS150 - Digital Design Lecture 16 - Memory

Programmable Logic Devices. Programmable Read Only Memory (PROM) Example

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

Section 6. Memory Components Chapter 5.7, 5.8 Physical Implementations Chapter 7 Programmable Processors Chapter 8

QUESTION BANK FOR TEST

Allmost all systems contain two main types of memory :

Cell-phone ASIC complexity and cost

Spiral 2-8. Cell Layout

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS UNIT I

Model EXAM Question Bank

LSN 6 Programmable Logic Devices

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

Transcription:

CENG 4480 L09 Memory 3 Bei Yu Chapter 11 Memories Reference: CMOS VLSI Design A Circuits and Systems Perspective by H.E.Weste and D.M.Harris 1

Memory Arrays Memory Arrays Random Access Memory Serial Access Memory Content Addressable Memory (CAM) Read/Write Memory (RAM) (Volatile) Read Only Memory (ROM) (Nonvolatile) Shift Registers Queues Static RAM (SRAM) Dynamic RAM (DRAM) Serial In Parallel Out (SIPO) Parallel In Serial Out (PISO) First In First Out (FIFO) Last In First Out (LIFO) Mask ROM Programmable ROM (PROM) Erasable Programmable ROM (EPROM) Electrically Erasable Programmable ROM (EEPROM) Flash ROM 2

Read-Only Memories Read-Only Memories are nonvolatile Retain their contents when power is removed Mask-programmed ROMs use one transistor per bit Presence or absence determines 1 or 0 3

NOR ROM 4-word x 6-bit NOR-ROM Selected word-line high Represented with dot diagram A1 A0 weak pseudo-nmos pullups Word 0: 010101 Word 1: 011001 Word 2: 100101 Word 3: 101010 2:4 DEC ROM Array Y5 Y4 Y3 Y2 Y1 Y0 Looks like 6 4-input pseudo-nmos NORs 4

EX: NOR ROM Draw 4-word 4-bit NOR-ROM structure and dot diagram Word 0: 0100 Word 1: 1001 Word 2: 0101 Word 3: 0000 A1 A0 weak pseudo-nmos pullups 2:4 DEC ROM Array Y5 Y4 Y3 Y2 Y1 Y0 5

NAND ROM 4-word x 4-bit NAND-ROM All word-lines high with exception of selected row 6

EX. NAND ROM What s it function? WL[0]=0: WL[1]=0: WL[2]=0: WL[3]=0: 7

NOR ROM v.s. NAND ROM NOR ROM: (+) Faster (-) Larger Area (VDD lines) A1 A0 2:4 DEC weak pseudo-nmos pullups ROM Array Y5 Y4 Y3 Y2 Y1 Y0 NAND ROM: (+) High density, small area (-) Slower delay grows quadratically with the number of series transistors discharging the bitline. 8

NOR ROM Array Layout* Unit cell is 12 x 8 λ (about 1/10 size of SRAM) word3 word2 word1 word0 bit5 bit4 bit3 bit2 bit1 bit0 9

Row Decoders* ROM row decoders must pitch-match with ROM Only a single track per word! A0 A0 A1 A1 A0 A0 A1 A1 word3 word2 word1 word0 10

Complete ROM Layout* 11

PROMs and EPROMs* Programmable ROMs Build array with transistors at every site Burn out fuses to disable unwanted transistors Electrically Programmable ROMs Use floating gate to turn off unwanted transistors EPROM, EEPROM, Flash Source Gate Drain Polysilicon Floating Gate Thin Gate Oxide (SiO 2) n+ n+ p bulk Si 12

NOR / NAND Flash Memory* NOR flash: Intel 1988 NAND flash: Toshiba 1989 NOR: faster, more expensive [Toshiba 08] NAND: higher density 13

Building Logic with ROMs ROM as lookup table containing truth table n inputs, k outputs requires 2 n words x k bits Changing function is easy reprogram ROM Finite State Machine n inputs, k outputs, s bits of state Build with 2 n+s x (k+s) bit ROM and (k+s) bit reg inputs n DEC 2 n wordlines ROM Array inputs n ROM k s state outputs k s k outputs 14

Example: RoboAnt Let s build an Ant Sensors: Antennae (L,R) 1 when in contact Actuators: Legs Forward step F Ten degree turns TL, TR Goal: make our ant smart enough to get out of a maze Strategy: keep right antenna on wall L R (RoboAnt adapted from MIT 6.004 2002 OpenCourseWare by Ward and Terman) 15

16

Lost in space Action: go forward until we hit something Initial state 17

Bonk!!! Action: turn left (rotate counterclockwise) Until we don t touch anymore 18

A little to the right Action: step forward and turn right a little Looking for wall 19

Then a little to the right Action: step and turn left a little, until not touching 20

Whoops a corner! Action: step and turn right until hitting next wall 21

Simplification Merge equivalent states where possible 22

State Transition Table Current state Inputs Next state Output values S 1:0 L R S 1:0 TR TL F 00 0 0 00 0 0 1 Lost RCCW Wall1 Wall2 00 1 X 01 0 0 1 00 0 1 01 0 0 1 01 1 X 01 0 1 0 01 0 1 01 0 1 0 01 0 0 10 0 1 0 10 X 0 10 1 0 1 10 X 1 11 1 0 1 11 1 X 01 0 1 1 11 0 0 10 0 1 1 11 0 1 11 0 1 1 23

ROM Implementation 16-word x 5 bit ROM S 1 S 0 L R 4:16 DEC 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 L, R ROM S' 1:0 S 1:0 TL, TR, F S 1 ' S 0 ' TR'TL' F' 24

PLAs A Programmable Logic Array performs any function in sum-of-products form. Literals: inputs & complements Products / Minterms: AND of literals Outputs: OR of Minterms Example: Full Adder s = abc + abc + abc + abc AND Plane OR Plane bc ac ab abc abc abc abc Minterms c = ab + bc + ac out a b c s cout Inputs Outputs 25

NOR-NOR PLAs ANDs and ORs not very efficient in CMOS Dynamic or Pseudo-nMOS NORs very efficient Use DeMorgan s Law to convert to all NORs AND Plane OR Plane AND Plane OR Plane bc ac ab abc abc abc abc bc ac ab abc abc abc abc a b c s c out a b c s c out 26

PLA Schematic & Layout AND Plane OR Plane bc ac ab abc abc abc abc a b c s c out 27

PLAs vs. ROMs The OR plane of the PLA is like the ROM array The AND plane of the PLA is like the ROM decoder PLAs are more flexible than ROMs No need to have 2 n rows for n inputs Only generate the minterms that are needed Take advantage of logic simplification 28

RoboAnt PLA Convert state transition table to logic Karnaugh map S 1:0 L R S 1:0 TR TL F 00 0 0 00 0 0 1 00 1 X 01 0 0 1 00 0 1 01 0 0 1 01 1 01 0 1 0 01 0 1 01 0 1 0 01 0 0 10 0 1 0 10 X 0 10 1 0 1 10 X 1 11 1 0 1 11 1 X 01 0 1 1 11 0 0 10 0 1 1 11 0 1 11 0 1 1 29 TR TL = = S S S 1 0 0 F = S + S 1 0

EX. RoboAnt Dot Diagram S1' = S S + LS + LRS 1 0 1 0 S0' = R + LS + LS TR = TL = S S S 1 0 0 F = S + S 1 0 1 0 30

Memory Arrays* Memory Arrays Random Access Memory Serial Access Memory Content Addressable Memory (CAM) Read/Write Memory (RAM) (Volatile) Read Only Memory (ROM) (Nonvolatile) Shift Registers Queues Static RAM (SRAM) Dynamic RAM (DRAM) Serial In Parallel Out (SIPO) Parallel In Serial Out (PISO) First In First Out (FIFO) Last In First Out (LIFO) Mask ROM Programmable ROM (PROM) Erasable Programmable ROM (EPROM) Electrically Erasable Programmable ROM (EEPROM) Flash ROM 31

CAMs* Extension of ordinary memory (e.g. SRAM) Read and write memory as usual Also match to see which words contain a key adr data/key read write CAM match 32

10T CAM Cell* Add four match transistors to 6T SRAM 56 x 43 λ unit cell word bit bit_b match cell cell_b 33

CAM Cell Operation* Read and write like ordinary SRAM For matching: CAM cell Leave wordline low Precharge matchlines Place key on bitlines Matchlines evaluate Miss line address read/write row decoder column circuitry data clk weak miss match0 match1 match2 match3 Pseudo-nMOS NOR of match lines Goes high if no words match 34