Digital Integrated Circuits Lecture 14: CAMs, ROMs, and PLAs

Similar documents
6. Finite State Machines

Digital Integrated Circuits A Design Perspective. Semiconductor. Memories. Memories

Semiconductor Memories

SEMICONDUCTOR MEMORIES

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Lecture 25. Semiconductor Memories. Issues in Memory

Digital Integrated Circuits A Design Perspective

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Hw 6 and 7 Graded and available Project Phase 2 Graded Project Phase 3 Launch Today

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

EE241 - Spring 2000 Advanced Digital Integrated Circuits. References

Semiconductor memories

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Semiconductor Memories

Semiconductor Memory Classification

Floating Point Representation and Digital Logic. Lecture 11 CS301

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

GMU, ECE 680 Physical VLSI Design 1

Semiconductor Memories

Section 3: Combinational Logic Design. Department of Electrical Engineering, University of Waterloo. Combinational Logic

Fundamentals of Computer Systems

DIGITAL LOGIC CIRCUITS

Memory, Latches, & Registers

EECS 312: Digital Integrated Circuits Final Exam Solutions 23 April 2009

Chapter Overview. Memory Classification. Memory Architectures. The Memory Core. Periphery. Reliability. Memory

Semiconductor Memories

Semiconductor Memories

CS470: Computer Architecture. AMD Quad Core

Magnetic core memory (1951) cm 2 ( bit)

COSC3330 Computer Architecture Lecture 2. Combinational Logic

Memory Trend. Memory Architectures The Memory Core Periphery

Software Engineering 2DA4. Slides 8: Multiplexors and More

Digital Design. Digital Design

Lecture 22 Chapters 3 Logic Circuits Part 1

3 Logic Function Realization with MSI Circuits

Unit 9. Multiplexers, Decoders, and Programmable Logic Devices. Unit 9 1

DIGITAL LOGIC CIRCUITS

This form sometimes used in logic circuit, example:

CMPEN 411 VLSI Digital Circuits Spring Lecture 21: Shifters, Decoders, Muxes

Chapter 7. VLSI System Components

211: Computer Architecture Summer 2016

Fundamentals of Computer Systems

EE141- Fall 2002 Lecture 27. Memory EE141. Announcements. We finished all the labs No homework this week Projects are due next Tuesday 9am EE141

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Multiplexers Decoders ROMs (LUTs) Page 1

C.K. Ken Yang UCLA Courtesy of MAH EE 215B

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

L2: Combinational Logic Design (Construction and Boolean Algebra)

State Machines. Example FSM: Roboant

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

EE141. EE141-Spring 2006 Digital Integrated Circuits. Administrative Stuff. Class Material. Flash Memory. Read-Only Memory Cells MOS OR ROM

Review for Test 1 : Ch1 5

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Every time has a value associated with it, not just some times. A variable can take on any value within a range

ECE520 VLSI Design. Lecture 23: SRAM & DRAM Memories. Payman Zarkesh-Ha

Building a Computer Adder

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

CMOS Inverter. Performance Scaling


ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Unit 8A Computer Organization. Boolean Logic and Gates

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

FERROELECTRIC RAM [FRAM] Submitted in partial fulfillment of the requirement for the award of degree of Bachelor of Technology in Computer Science

CHAPTER1: Digital Logic Circuits Combination Circuits

AE74 VLSI DESIGN JUN 2015

Shift Register Counters

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

Vidyalankar. S.E. Sem. III [EXTC] Digital System Design. Q.1 Solve following : [20] Q.1(a) Explain the following decimals in gray code form

EE141-Fall 2011 Digital Integrated Circuits

Introduction to CMOS VLSI Design Lecture 1: Introduction

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

NAND3_X1. Page 104 of 969

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

Standard Expression Forms

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Logic Design Combinational Circuits. Digital Computer Design

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

University of Guelph School of Engineering ENG 2410 Digital Design Fall There are 7 questions, answer all questions.

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

MTJ-Based Nonvolatile Logic-in-Memory Architecture and Its Application

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Chapter 2 Boolean Algebra and Logic Gates

L2: Combinational Logic Design (Construction and Boolean Algebra)

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Chapter 2 Boolean Algebra and Logic Gates

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

Chapter 2 Combinational Logic Circuits

SUMMER 18 EXAMINATION Subject Name: Principles of Digital Techniques Model Answer Subject Code:

Lecture 1: Circuits & Layout

VLSI Design. [Adapted from Rabaey s Digital Integrated Circuits, 2002, J. Rabaey et al.] ECE 4121 VLSI DEsign.1

ALU A functional unit

Review. EECS Components and Design Techniques for Digital Systems. Lec 06 Minimizing Boolean Logic 9/ Review: Canonical Forms

Administrative Stuff

Lecture 2 Review on Digital Logic (Part 1)

Transcription:

Digital Integrated Circuits Lecture 4: CAMs, ROMs, and PLAs Chih-Wei Liu VLSI Signal Processing LAB National Chiao Tung University cwliu@twins.ee.nctu.edu.tw DIC-Lec4 cwliu@twins.ee.nctu.edu.tw

Outline Content-Addressable Memories Read-Only Memories Programmable Logic Arrays DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 2

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 DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 3

T CAM Cell Add four match transistors to 6T SRAM 56 x 43 λ unit cell word bit bit_b match cell cell_b DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 4

CAM Cell Operation Read and write like ordinary SRAM CAM cell For matching: Leave wordline low Precharge matchlines address row decoder clk weak miss match match match2 Place key on bitlines Matchlines evaluate read/write column circuitry data match3 Miss line Pseudo-nMOS NOR of match lines Goes high if no words match DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 5

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 or DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 6

ROM Example 4-word x 6-bit ROM Represented with dot diagram Dots indicate s in ROM Word : Word : Word 2: A A weak pseudo-nmos pullups Word 3: 2:4 DEC ROM Array Y5 Y4 Y3 Y2 Y Y Looks like 6 4-input pseudo-nmos NORs DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 7

ROM Array Layout Unit cell is 2 x 8 λ (about / size of SRAM) Unit Cell DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 8

Row Decoders ROM row decoders must pitch-match with ROM Only a single track per word! DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 9

Complete ROM Layout DIC-Lec4 cwliu@twins.ee.nctu.edu.tw

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 DIC-Lec4 cwliu@twins.ee.nctu.edu.tw

Building Logic with ROMs Use ROM as lookup table containing truth table n inputs, k outputs requires words x bits Changing function is easy reprogram ROM Finite State Machine n inputs, k outputs, s bits of state Build with bit ROM and bit reg inputs n DEC 2 n wordlines ROM Array inputs n ROM k s state outputs k s k outputs DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 2

Building Logic with ROMs Use 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 DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 3

Example: RoboAnt Let s build an Ant Sensors: Antennae (L,R) when in contact Actuators: Legs Forward step F Ten degree turns TL, TR L R Goal: make our ant smart enough to get out of a maze Strategy: keep right antenna on wall (RoboAnt adapted from MIT 6.4 22 OpenCourseWare by Ward and Terman) DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 4

Lost in space Action: go forward until we hit something Initial state DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 5

Bonk!!! Action: turn left (rotate counterclockwise) Until we don t touch anymore DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 6

A little to the right Action: step forward and turn right a little Looking for wall DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 7

Then a little to the left Action: step and turn left a little, until not touching DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 8

Whoops a corner! Action: step and turn right until hitting next wall DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 9

Simplification Merge equivalent states where possible DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 2

DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 2 State Transition Table X X X X X F TL TR S : R L S : Lost RCCW Wall Wall2

ROM Implementation 6-word x 5 bit ROM S S L R L, R ROM TL, TR, F 4:6 DEC S' : S : S ' S 'TR'TL'F' DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 22

ROM Implementation 6-word x 5 bit ROM S S L R L, R ROM TL, TR, F 4:6 DEC S' : S : S ' S 'TR'TL'F' DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 23

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 = + + + c = ab+ bc+ ac out AND Plane OR Plane a b c s cout Inputs Outputs bc ac ab Minterms DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 24

NOR-NOR PLAs ANDs and ORs are not very efficient in CMOS Dynamic or Pseudo-nMOS NORs are very efficient Use DeMorgan s Law to convert to all NORs AND Plane OR Plane AND Plane OR Plane bc bc ac ac ab ab a b c s c out a b c s c out DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 25

PLA Schematic & Layout AND Plane OR Plane bc ac ab a b c s c out DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 26

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 DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 27

Example: RoboAnt PLA Convert state transition table to logic equations S : L R S : TR TL F X X X X X TR = S S TL = S F = S + S DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 28

RoboAnt Dot Diagram AND Plane OR Plane S' = S S + LS + LRS S' = R+ LS + LS TR = S S TL = S F = S + S S S S LS LS R LRS LS SS S S L R S ' S ' TR TL F DIC-Lec4 cwliu@twins.ee.nctu.edu.tw 29