Programmable Logic Devices (PLDs)

Similar documents
Programmable Logic Devices

CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

PROGRAMMABLE LOGIC DEVICES

Code No: R Set No. 1

Presentation 4: Programmable Combinational Devices

Injntu.com Injntu.com Injntu.com R16

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

R10. II B. Tech I Semester, Supplementary Examinations, May

PART B. 3. Minimize the following function using K-map and also verify through tabulation method. F (A, B, C, D) = +d (0, 3, 6, 10).

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April

Introduction to Programmable Logic Devices (Class 7.2 2/28/2013)

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

ECE 331 Digital System Design

Code No: R Set No. 1

Lecture 13: Memory and Programmable Logic

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

Code No: R Set No. 1

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

Code No: 07A3EC03 Set No. 1

Fig. 6-1 Conventional and Array Logic Symbols for OR Gate

UNIT I BOOLEAN ALGEBRA AND COMBINATIONAL CIRCUITS PART-A (2 MARKS)

Experiment 4 Boolean Functions Implementation

Recitation Session 6

R07

END-TERM EXAMINATION

I 4 I 3 I 2 I 1 I 0 A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 T-125. ROM Truth Table (Partial) 1997 by Prentice-Hall, Inc.

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE4220. PROGRAMMABLE LOGIC DEVICES (PLDs)

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment

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

Topics. Midterm Finish Chapter 7

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK NAME OF THE SUBJECT: EE 2255 DIGITAL LOGIC CIRCUITS

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

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

Embedded Controller Design. CompE 270 Digital Systems - 5. Objective. Application Specific Chips. User Programmable Logic. Copyright 1998 Ken Arnold 1

(ii) Simplify and implement the following SOP function using NOR gates:

EECS 150 Homework 7 Solutions Fall (a) 4.3 The functions for the 7 segment display decoder given in Section 4.3 are:

Memory and Programmable Logic

QUESTION BANK FOR TEST

Memory and Programmable Logic

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

ELCT 501: Digital System Design

MEMORY AND PROGRAMMABLE LOGIC

Question Total Possible Test Score Total 100

Boolean Algebra. BME208 Logic Circuits Yalçın İŞLER

LSN 6 Programmable Logic Devices

BHARATHIDASAN ENGINEERING COLLEGE Degree / Branch : B.E./ECE Year / Sem : II/ III Sub.Code / Name : EC6302/DIGITAL ELECTRONICS

CSEE 3827: Fundamentals of Computer Systems. Storage

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

FYSE420 DIGITAL ELECTRONICS. Lecture 7

problem maximum score 1 10pts 2 8pts 3 10pts 4 12pts 5 7pts 6 7pts 7 7pts 8 17pts 9 22pts total 100pts

INTRODUCTION TO FPGA ARCHITECTURE

Memory and Programmable Logic

Lecture (05) Boolean Algebra and Logic Gates

ELCT 912: Advanced Embedded Systems

Combinational Circuits

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

Model EXAM Question Bank

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function.

UNIT V (PROGRAMMABLE LOGIC DEVICES)

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

Logic Gates and Boolean Algebra ENT263

CONTENTS CHAPTER 1: NUMBER SYSTEM. Foreword...(vii) Preface... (ix) Acknowledgement... (xi) About the Author...(xxiii)

CS470: Computer Architecture. AMD Quad Core

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

ece5745-pla-notes.txt

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

VALLIAMMAI ENGINEERING COLLEGE

Evolution of Implementation Technologies. ECE 4211/5211 Rapid Prototyping with FPGAs. Gate Array Technology (IBM s) Programmable Logic

Chapter 10: Design Options of Digital Systems

Programmable Logic Devices

Synthesis of combinational logic

FPGA for Complex System Implementation. National Chiao Tung University Chun-Jen Tsai 04/14/2011

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 16 READ ONLY MEMORIES

R.M.D. ENGINEERING COLLEGE R.S.M. Nagar, Kavaraipettai

COPYRIGHTED MATERIAL INDEX

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Ch. 5 : Boolean Algebra &

Digital Systems Design with PLDs and FPGAs Kuruvilla Varghese Department of Electronic Systems Engineering Indian Institute of Science Bangalore

Chapter 4: Combinational Logic

Design Methodologies. Full-Custom Design

Combinational Circuits Digital Logic (Materials taken primarily from:

Chapter 13 Programmable Logic Device Architectures

Review: Chip Design Styles

R a) Simplify the logic functions from binary to seven segment display code converter (8M) b) Simplify the following using Tabular method

Programmable Logic Devices I. EECE143 Lecture 4. PALs, GALs & CUPL. A lesson on Programmable Logic Devices and programming them using CUPL

2. (a) Compare the characteristics of a floppy disk and a hard disk. (b) Discuss in detail memory interleaving. [8+7]

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.


ECE/Comp Sci 352 Digital Systems Fundamentals Kewal K. Saluja and Yu Hen Hu Spring Logic and Computer Design Fundamentals.

Combinational Logic Circuits

Summary. Boolean Addition

CHAPTER X MEMORY SYSTEMS

CS/IT DIGITAL LOGIC DESIGN

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

PALs, GALs & CUPL. What is Programmable Logic?

10EC33: DIGITAL ELECTRONICS QUESTION BANK

1/28/2013. Synthesis. The Y-diagram Revisited. Structural Behavioral. More abstract designs Physical. CAD for VLSI 2

CSE A215 Assembly Language Programming for Engineers

Purdue IMPACT 2015 Edition by D. G. Meyer. Introduction to Digital System Design. Module 2 Combinational Logic Circuits

Transcription:

Programmable Logic Devices (PLDs) 212: Digital Design I, week 13 PLDs basically store binary information in a volatile/nonvolatile device. Data is specified by designer and physically inserted (Programmed) into the device. Any Boolean function can be expressed in Sum of Products. SOP. In turn the SOP can be implemented in an AND-OR form. ROM, PAL, PLA are different optimized implementations of a given circuit using the AND-OR planes. Inputs (logic variables) Logic Gates and Programmable switches Outputs ( logic functions) Programmable Logic Device as a black box Page 1 of 15 COEN 212/Week 13

x1 x2 xn-1 xn Input Buffers and Inverters Any combinational logic can be implemented with Sum of Product which is AND-OR implementation. x1 x1 xn xn P 1 f 1 AND Plane OR Plane P k f m Page 2 of 15 COEN 212/Week 13

Programming the AND_OR Plane ROM: AND Fixed, OR Programmable PAL: AND Programmable, OR fixed PLA: AND Programmable, OR Programmable FPGA: Programmable Logic Blocks, Programmable Interconnect Example of programming the AND-OR planes f1 (x1,x2,x3) = x1. x2 + x1. x3 + x1.x2. x3 f2 (x1,x2,x3) = x1. x2 + x1.x2. x3 + x3 x1 x2 x3 Product P1 Programmable Fuses OR plane P2 P3 P4 SUM AND plane f1 f2 Page 3 of 15 COEN 212/Week 13

PLD basic cells: The number of inputs and outputs are usually high. To avoid drawing all the inputs and outputs all the inputs to a gate is shown with one line only and the actual inputs are are shown as an intersection as shown below AND gate... OR gate... Input {...... Programming Device AND PLANE Programmable switches OR PLANE PLD before programming Page 4 of 15 COEN 212/Week 13

So the previous example after programming will look like this f1 (x1,x2,x3) = x1. x2 + x1. x3 + x1. x2. x3 f2 (x1,x2,x3) = x1. x2 + x1. x2. x3 + x1 x3 OR plane x1 x2 x3 P1 P2 P3 P4 AND plane f1 f2 Page 5 of 15 COEN 212/Week 13

Programmable Array Logic (PAL ) In this category of Programmable Logic devices the AND Plane is programmable and the OR Plane is fixed Previous Example: f1 (x1,x2,x3) = x1 x2 x3 f2 (x1,x2,x3) = x1. x2 + x1.x2 x3 + x1.x2 x3 OR plane (Fixed) x1 x2 x3 P1 f1 P2 P3 f2 P4 AND plane (Programmable) Page 6 of 15 COEN 212/Week 13

Programmable Logic Array (PLA) Both AND-Plane and the OR-Plane are programmable. Example: Implement the following functions on a PLA F0 AC AB F1 A BC F2 BC AB F3 BC A Size of the Device related to: cost;? speed; power. You should choose: 3 variable input 5 product terms -> 5 AND gates 4 outputs -> 4 OR gates Page 7 of 15 COEN 212/Week 13

Personality Matrix Product Input Output A B C F0 F1 F2 F3 AB 1 1-1 - 1 - BC - 0 1 - - - 1 AC 1-0 1 - - - BC - 0 0-1 1 - A 1 - - - 1-1 For AND gate programming For OR gate programming 1 connection 0 complementary - no connection A B C AB B C AC B C A F 0 F 1 F 2 F 3 After programming (* unused inputs of AND gates are connected to 1 ; ** unused inputs of OR gates are connected to 0 ) Page 8 of 15 COEN 212/Week 13

When it is necessary to implement a Finite state machine, then we need a PAL or PLA that has extra circuitry such as a register and a Feedback path, Then the following general circuitry can be added to some of the PLD devices. Selec Enabl Flip- f D Q Cloc To AND Page 9 of 15 COEN 212/Week 13

Example: Implement the Finite state Machine given by the following equations on a suitable PAL. The PAL has SR flip Flops. These equations were derived for a particular state machine using SR-Flip Flops. Excitation Vector: S2 = P Q y1, R2 = y2, S1 = P Q, R1 = Q + P Output : Z= y2 y1 P Q, P & Q are inputs y2 & y1 are the states z is the output Page 10 of 15 COEN 212/Week 13

Programming the devices: Programming the PAL Logic expressions first must be minimized before programming the Pal. PALs are programmed electrically using binary patterns (as JEDEC ASCII/hexadecimal files) and by using electronic programming device from a certain manufacturer such as Data I/O Corporation's Model 60A Logic Programmer. User circuits are implemented in the programmable devices by configuring or programming these devices. Due to the large number of programmable switches in commercial chips; it is not feasible to specify manually the desired programming state for each switch. CAD systems are used to solve this problem. Computer system that runs the CAD tools is connected to a programming unit. After design of a circuit has been completed, CAD tool generates a file (programming file or fuse map) that specifies the state of each switch in PLD. PLD is then placed into the programming unit and the programming file is transferred from the computer system to the unit. Programming unit then programs each switch individually. Most General of all PLDs is the FPGA or Field Programmable Gate Arrays, where, both cells of combinational logic and the routing can be programmed. Current FPGA s are available in 10nm technology having millions of gates. Prices range from $500 $1000 So all you need is a Personal computer, PLD CAD tool, The programming device and its software and the kind of PLD that the device accepts. Tutorial for PAL can be found at http://courses.cs.washington.edu/courses/cse370/06au/tutorials/tutorial_pal.htm Page 11 of 15 COEN 212/Week 13

Schematic of an FPGA is shown below. Logic Block I/O Cell Page 12 of 15 COEN 212/Week 13

Example: Design a PLA, PAL and ROM at a gate level to realize the following sum of product functions: X(A,B,C) = A.B + A.B.C + A.B.C Y(A,B,C) = A.B + A.B.C Z(A,B,C) = A + B AND PLANE OR PLANE ROM Implementation A B C X = m6, m7 Y = m6, m7 Z = m7, m6, m5, m4, m3, m2 Fixed programmed ROM, generate the minterms X Y Z OR, generate the Functions Page 13 of 15 COEN 212/Week 13

PAL Implementation A B C Product terms ABC,AB,A,B Fixed programmed X Y Z PLA Implementation A B C X Y PLA Z Fixed programmed Page 14 of 15 COEN 212/Week 13

Example 2 Design a function generator F=x 2 where x is a 3-bit unsigned binary number. What size of ROM is required for this generator. Show your ROM and its content. Answer: For the 3-bit word there is 8 possibilities, we draw the Truth Table x2 x1 x0 x f5 f4 f3 f2 f1 f0 F 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 1 0 2 0 0 0 1 0 0 4 0 1 1 3 0 0 1 0 0 1 9 1 0 0 4 0 1 0 0 0 0 16 1 0 1 5 0 1 1 0 0 1 25 11 0 6 1 0 0 1 0 0 36 111 7 1 1 0 0 0 1 49 Therefore the size of the ROM will be 8 words each of 6 bits. It may be further minimized by noticing that f0=x0 and that f1 is=0. If we take these into account the size of the ROM is 8words of 4 bits each. 3 to 8 Decoder f5 f4 f3 f2 f1 f0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 0 0 1 1 0 0 1 0 0 1 1 0 0 01 Programming point F= f5 f4 f3 f2 f1 f0 2 5 2 4 2 3 2 2 2 1 2 0 Page 15 of 15 COEN 212/Week 13