Programmable Logic Devices

Similar documents
PROGRAMMABLE LOGIC DEVICES

Presentation 4: Programmable Combinational Devices

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

Programmable Logic Devices (PLDs)

Combinational Logic with MSI and LSI

CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

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

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

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

Code No: 07A3EC03 Set No. 1

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

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

Code No: R Set No. 1

Memory and Programmable Logic

Topics. Midterm Finish Chapter 7

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

Memory and Programmable Logic

Model EXAM Question Bank

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

Lecture 13: Memory and Programmable Logic

Memory and Programmable Logic

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).

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

Code No: R Set No. 1

CS6201-DIGITAL PRINCIPLE AND SYSTEM DESIGN I YEAR/II SEM PART-B UNIT-I BOOLEAN ALGEBRA AND LOGIC GATES.

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

Injntu.com Injntu.com Injntu.com R16

R07

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

END-TERM EXAMINATION

MEMORY AND PROGRAMMABLE LOGIC

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

PALs, GALs & CUPL. What is Programmable Logic?


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

Code No: R Set No. 1

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

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

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

Combinational Circuits

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

Chapter 3. Gate-Level Minimization. Outlines

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

Programmable Logic Devices (PLDs) >Programmable Array Logic (PALs) >Programmable Logic Arrays (PLAs) PAL/GAL 16V8 CPLD: Altera s MAX 3064 & MAX V

Chapter 13 Programmable Logic Device Architectures

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

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

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

Recitation Session 6

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

Hours / 100 Marks Seat No.

SHRI ANGALAMMAN COLLEGE OF ENGINEERING. (An ISO 9001:2008 Certified Institution) SIRUGANOOR, TIRUCHIRAPPALLI

ELCT 912: Advanced Embedded Systems

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

CS/IT DIGITAL LOGIC DESIGN

ECE 331 Digital System Design

Review: Chip Design Styles

Simplification of Boolean Functions

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

NADAR SARASWATHI COLLEGE OF ENGINEERING AND TECHNOLOGY Vadapudupatti, Theni

3. The high voltage level of a digital signal in positive logic is : a) 1 b) 0 c) either 1 or 0

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

CS470: Computer Architecture. AMD Quad Core

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

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

Hours / 100 Marks Seat No.

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

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

SECTION-A

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.

UNIT V (PROGRAMMABLE LOGIC DEVICES)

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

CSCI 220: Computer Architecture I Instructor: Pranava K. Jha. Simplification of Boolean Functions using a Karnaugh Map

QUESTION BANK FOR TEST

Scheme G. Sample Test Paper-I

Chapter 2 Combinational Logic Circuits

DIGITAL ELECTRONICS. Vayu Education of India

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

Chapter 2 Combinational

Combinational Logic Circuits

Gate Level Minimization Map Method

Chapter 6 Selected Design Topics

Boolean Analysis of Logic Circuits

ece5745-pla-notes.txt

Lecture (05) Boolean Algebra and Logic Gates

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY

Question No: 1 ( Marks: 1 ) - Please choose one A SOP expression is equal to 1

Simplification of Boolean Functions

VALLIAMMAI ENGINEERING COLLEGE

KING FAHD UNIVERSITY OF PETROLEUM & MINERALS COMPUTER ENGINEERING DEPARTMENT

A B AB CD Objectives:

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

Experiment 4 Boolean Functions Implementation

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

Semiconductor Memories: RAMs and ROMs

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Digital Design Using Digilent FPGA Boards -- Verilog / Active-HDL Edition

ENGINEERS ACADEMY. 7. Given Boolean theorem. (a) A B A C B C A B A C. (b) AB AC BC AB BC. (c) AB AC BC A B A C B C.

Outline. Field Programmable Gate Arrays. Programming Technologies Architectures. Programming Interfaces. Historical perspective

1. Fill in the entries in the truth table below to specify the logic function described by the expression, AB AC A B C Z

Transcription:

Programmable Logic Devices

Programmable Logic Devices Fig. (1) General structure of PLDs Programmable Logic Device (PLD): is an integrated circuit with internal logic gates and/or connections that can in some way be changed by a programming process Examples: PROM Programmable Logic Array (PLA) Programmable Array Logic (PAL) device Complex Programmable Logic Device (CPLD) Field-Programmable Gate Array (FPGA) A PLD s function is not fixed and can be programmed to perform different functions.

75 Types of PLDs: Device PROM FPLA PAL FPGA PLA And-array Fixed programmable programmable programmable Fixed OR-array Programmable Programmable Fixed - Fixed FPLA= Field PLA

76

Fig. (2) a) Circuit diagram (b) Symbolic representation

77 PLA (Programmable Logic Array): The combinational circuit do not use all the minterms every time. Occasionally, they have don't care conditions. Don't care condition when implemented with a PROM becomes an address input that will never occur. The result is that not all the bit patterns available in the PROM are used, which may be considered a waste of available equipment. For cases where the number of don't care conditions is excessive, it is more economical to use a second type of LSI component called a Programmable Logic Array (PLA). A PLA is similar to a PROM in concept; however it does not provide full decoding of the variables and does not generates all the min. terms as in the PROM. The PLA replaces decoder by group of AND gates, each of which can be programmed to generate a product term of the input variables. In PLA, both AND and OR gates have fuses at the inputs, therefore in PLA both AND and OR gates are programmable. Fig.(3) shows the block diagram of PLA. It consists of n-inputs, output buffer with m outputs, m product terms, m sum terms, input and output buffers. The product terms constitute a group of m AND gates and the sum terms constitute a group of m OR gates, called OR matrix. Fuses are inserted between all n-inputs and their complement values to each of the AND gates. Fuses are also provided between the outputs of the AND gates and the inputs of the OR gates. The third set of fuses in the output inverters allows the output function to be generated either in the AND-OR form or in the AND-OR-INVERT form. When inverter is bypassed by link we get AND -OR implementation. To get AND -OR- INVERTER implementation inverter link has to be disconnected.

78 Fig.(3) Block diagram of a PLA Input Buffer: Input buffers are provided in the PLA to limit loading of the sources that drive the inputs. They also provide inverted and non-inverted form of inputs at its output. Figure (4) shows two ways of representing input buffer for single input. Fig. (4) Input buffer for single input line Output Buffer: The driving capacity of PLA is increased by providing buffers at the output. They are usually TTL compatible. Figure (5) shows the tri-state, TTL compatible

output buffer. The output buffer may provide totem-pole, open collector or tri-state output. 79 Fig.(5) Output buffers Output through Flip-Flops: For the implementation of sequential circuits we need memory elements, flipflops and combinational circuitry for deriving the flip-flop inputs. To satisfy both the needs some PLAs are provided with flip-flop at each output, as shown in the Fig. (6).

Fig. (6) PLA with flip-flop at the output 80 Implementation of Combination Logic Circuit using PLA: Like ROM, PLA can be mask-programmable or field-programmable. With a mask-programmable PLA, the user must submit a PLA program table to the manufacturer. This table is used by the vendor to produce a user-made PLA that has the required internal paths between inputs and outputs. A second type of PLA available is called a field-programmable logic array or FPLA. The FPLA can be programmed by the user by means of certain recommended procedures. FPLAs can be programmed with commercially available programmer units. As mentioned earlier, user has to submit PLA program table to the manufacturers to get the user-made PLA. Let us study how to determine PLA program table with the help of example. Example1: A combinational circuit is defined by the functions : ( )

outputs. ( ) Implement the circuit with a PLA having 3 inputs, 3 product terms and two Solution : Let us determine the truth table for the given Boolean functions 81 Table (1): Truth table A B C F 1 F 2 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 0 1 1 0 1 1 1 1 1 0 0 0 1 1 1 1 1 K-map simplification

Product term Fig. (7) Table (2): PLA program table Inputs Outputs A B C F 1 F 2 1 1-1 1 1 2-1 1 1-3 1 0 - - 1 T T T/C 82 From the truth table, the Boolean functions are simplified, as shown in the Figure. The simplified functions in sum of products are obtained from the maps are : Therefore, there are three distinct product terms : AC, BC and A, and two sum terms. The PLA program table shown in Table 2 consists of three columns specifying product terms, inputs and outputs. The first column gives the lists of product terms numerically. The second column specifies the required paths between inputs and AND gates. The third column specifies the required paths

between the AND gates and the OR gates. Under each output variable, we write a T (for true) if the output inverter is to be bypassed, and C (for complement) if the function is to be complemented with the output inverter. The product terms listed on the left of first column are not the part of PLA program table they are included for reference only. Fig. (8) 83 Example 2 : Illustrate how a PLA can be used for combinational logic design with reference to the functions : ( ) ( ) ( ) ( )

Realize the same assuming, that a 3 4 2 PLA is available. Solution: K-map simplification Fig. (9) Table (3) Inputs Outputs Product terms A b c F 1 F 2 0 0 1 - c 0-1 1 1 a 1 0 - - 1 b 0 1 - - 1 T T Implementation 84

Fig. (10) Example3: Implement the following multi Boolean function using 3 4 2 PLA PLD. ( ) ( ) ( ) ( ) Solution : Let us simplify the functions using K-maps.

Fig. (11) 85 To implement functions f 1 and f 2 we require 3 5 2 PLA and we have to implement them using 3 4 2 PLA. Therefore, we have to examine product terms by grouping 0s instead of 1. That is product terms for complement of a function. Fig. (12) Looking at function outputs we can realize that product terms and are common in both functions. Therefore, we need only 4 product terms and functions can be implemented using a 3 4 2 PLA as shown in Table (4) and Fig. (13). Table (4) Product terms Inputs Outputs 1-0 1 1-1 0 1 1 1 1-1 0 0 - - 1

C C 86 (13) Fig. As shown in the Fig. (13) exclusive-or gate is programmed to invert the function to get the desired function outputs.

Example 4 : Design a BCD to Excess-3 code converter and implement using suitable PLA. Solution : Let us derive the truth table of BCD to Excess-3 converter as shown in Table (5). Table (5) Truth table for BCD to Excess- 3 code converter 87

88 Table (6)

Fig.(14): BCD to Excess-3 code converter using PLA Implementation

89 Fig. (15) Example 5 : A combinational circuit is defined by the function ( ) ( ) ( ) Implement the circuit with PLA

Solution: Let us determine truth table for the given Boolean function. 90 Table (7): Truth table A B C F 1 F 2 0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 1 1 1 0 0 0 1 1 1 0 0 Table (8): PLA program table K-map simplification

91 Fig. (16)

Example 6: Solution: x 0 x x 1 x' 29

Fig. (17) 93 Programmable Array Logic (PAL): The programmable array logic (PAL) is a logic device with fixed OR array and a programmable AND array. It is user friendly PAL : easier to program but not as flexible as PLA.

Example 7: What are the equations for F1 through F4. F1 = + F2 = + AC + A F3 = AD + BD + F1 F4 = AB + CD + 94

Example 8: 4 inputs/4 outputs with fixed 3-input OR gates W = A B + C X =? Y =?

Z =? 95 Example 9: Using a PAL of the structure showing in Fig. implements the following Boolean function.

Solution: 29

97 ************************************************************** 98