CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

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

ECE 331 Digital System Design

Programmable Logic Devices

Programmable Logic Devices (PLDs)

Presentation 4: Programmable Combinational Devices

Memory and Programmable Logic

PROGRAMMABLE LOGIC DEVICES

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

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

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.

Code No: 07A3EC03 Set No. 1

END-TERM EXAMINATION

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

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

Injntu.com Injntu.com Injntu.com R16

Memory and Programmable Logic

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

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

LSN 6 Programmable Logic Devices

1. Mark the correct statement(s)

MEMORY AND PROGRAMMABLE LOGIC

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

PROGRAMMABLE MODULES SPECIFICATION OF PROGRAMMABLE COMBINATIONAL AND SEQUENTIAL MODULES

Very Large Scale Integration (VLSI)

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

Topics. Midterm Finish Chapter 7

Programmable Logic Devices

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

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

Code No: R Set No. 1

Chapter 4: Combinational Logic

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

R07

QUESTION BANK FOR TEST

ELCT 912: Advanced Embedded Systems

Code No: R Set No. 1

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

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

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

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

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

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

Chapter 13 Programmable Logic Device Architectures

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

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

2008 The McGraw-Hill Companies, Inc. All rights reserved.

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

A B AB CD Objectives:

Basic FPGA Architectures. Actel FPGAs. PLD Technologies: Antifuse. 3 Digital Systems Implementation Programmable Logic Devices

PLAs & PALs. Programmable Logic Devices (PLDs) PLAs and PALs

Combinational Logic Circuits

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

Hours / 100 Marks Seat No.

INTRODUCTION TO FPGA ARCHITECTURE

Model EXAM Question Bank

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

Review. EECS Components and Design Techniques for Digital Systems. Lec 03 Field Programmable Gate Arrays

Lecture 13: Memory and Programmable Logic

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

VALLIAMMAI ENGINEERING COLLEGE

Lecture 7. Standard ICs FPGA (Field Programmable Gate Array) VHDL (Very-high-speed integrated circuits. Hardware Description Language)

Workshop on Digital Circuit Design in FPGA


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

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

DLD VIDYA SAGAR P. potharajuvidyasagar.wordpress.com. Vignana Bharathi Institute of Technology UNIT 3 DLD P VIDYA SAGAR

ELCT 501: Digital System Design

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

D I G I T A L C I R C U I T S E E

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

SUBJECT CODE: IT T35 DIGITAL SYSTEM DESIGN YEAR / SEM : 2 / 3

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.

COMBINATIONAL LOGIC CIRCUITS

Digital Electronics 27. Digital System Design using PLDs

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY

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

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

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

Review: Chip Design Styles

DKT 122/3 DIGITAL SYSTEM 1

FPGA: What? Why? Marco D. Santambrogio

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

CS470: Computer Architecture. AMD Quad Core

IMPLEMENTATION DESIGN FLOW

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

VALLIAMMAI ENGINEERING COLLEGE

Combinational Logic Use the Boolean Algebra and the minimization techniques to design useful circuits No feedback, no memory Just n inputs, m outputs

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

Combinational Circuits

Computer Architecture

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

10EC33: DIGITAL ELECTRONICS QUESTION BANK

Ch. 5 : Boolean Algebra &

CHAPTER-2 STRUCTURE OF BOOLEAN FUNCTION USING GATES, K-Map and Quine-McCluskey

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

IT 201 Digital System Design Module II Notes

NODIA AND COMPANY. GATE SOLVED PAPER Computer Science Engineering Digital Logic. Copyright By NODIA & COMPANY

Digital logic fundamentals. Question Bank. Unit I

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

Transcription:

CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES This chapter in the book includes: Objectives Study Guide 9.1 Introduction 9.2 Multiplexers 9.3 Three-State Buffers 9.4 Decoders and Encoders 9.5 Read-Only Memories 9.6 Programmable Logic Devices 9.7 Complex Programmable Logic Devices 9.8 Field Programmable Gate Arrays Problems

Multiplexers A multiplexer has a group of data inputs and a group of control inputs used to select one of the data inputs and connect it to the output terminal. Z = A I0 + AI1 Figure 9-1: 2-to-1 Multiplexer and Switch Analog

8-to-1 MUX equation: Z = A B C I0 + A B CI1 + A BC I2 + A BCI3 AB C I4 + AB CI5 + ABC I6 + ABCI7 (9-2) Figure 9-2: Multiplexers +

Figure 9-3: Logic Diagram for 8-to-1 MUX

Control Variable A selects one of two 4-bit data words. Figure 9-4: Quad Multiplexer Used to Select Data

Figure 9-5: Quad Multiplexer with Bus Inputs and Output

F=C Figure 9-6: Gate Circuit with Added Buffer

Figure 9-7: Three-State Buffer

(a) Figure 9-8: (b) (c) (d) Four Kinds of Three-State Buffers

Data Selection Using Three-State Buffers Figure 9-9:

F is determined from the following table: S1 S2 Circuit with Two Three-State Buffers Figure 9-10:

Figure 9-11: 4-Bit Adder with Four Sources for One Operand

Integrated Circuit with Bi-Directional Input/Output Pin Figure 9-12:

Decoders The decoder is another commonly used type of integrated circuit. The decoder generates all of the minterms of the three input variables. Exactly one of the output lines will be 1 for each combination of the values of the input variables. Section 9.4 (p. 256)

Figure 9-13: 3-to-8 Line Decoder

Figure 9-13: 3-to-8 Line Decoder

Figure 9-14a: A 4-to-10 Line Decoder

A B C D 7442 Figure 9-14b: A 4-to-10 Line Decoder (b) Block diagram

Figure 9-14c: A 4-to-10 Line Decoder (c) Truth Table

f1(a, b, c, d) = m1 + m2 + m4 f2(a, b, c, d) = m4 + m7 + m9 Rewriting f1 and f2, we have f1 = (m1 m2 m4 ) f2 = (m4 m7 m9 ) Figure 9-15: Realization of a Multiple-Output Circuit Using a Decoder

Encoders An encoder performs the inverse function of a decoder. If input yi is 1 and the other inputs are 0, then abc outputs represent a binary number equal to i. For example, if y3 = 1, then abc = 011. If more than one input is 1, the highest numbered input determines the output. An extra output, d, is 1 if any input is 1, otherwise d is 0. This signal is needed to distinguish the case of all 0 inputs from the case where only y0 is 1. Section 9.4 (p. 258)

Figure 9-16: 8-to-3 Priority Coder

Read-Only Memories A read-only memory (ROM) consists of an array of semiconductor devices that are interconnected to store an array of binary data. Once binary data is stored in the ROM, it can be read out whenever desired, but the data that is stored cannot be changed under normal operating conditions. Section 9.5 (p. 259)

(a) Block diagram Figure 9-17: An 8-Word x 4-Bit ROM

Read-Only Memory with n Inputs and m Outputs Figure 9-18:

Figure 9-19: Basic ROM Structure

Figure 9-21: Equivalent OR Gate for F0 Figure 9-20: An 8-Word x 4-Bit ROM

Figure 9-22: Hexadecimal to ASCII Code Converter

Figure 9-22: Hexadecimal to ASCII Code Converter

Figure 9-23: ROM Realization of Code Converter

Programmable Logic Devices A programmable logic device (or PLD) is a general name for a digital integrated circuit capable of being programmed to provide a variety of different logic functions. When a digital system is designed using a PLD, changes in the design can easily be made by changing the programming of the PLD without having to change the wiring in the system. Section 9.6 (p. 263)

Programmable Logic Arrays A programmable logic array (PLA) performs the same basic function as a ROM. A PLA with n inputs and m outputs can realize m functions of n variables. The internal organization of the PLA is different from that of the ROM in that the decoder is replaced with an AND array which realizes selected product terms of the input variables. The OR array Ors together the product terms needed to form the output functions, so a PLA implements a sum-of-products expression. Section 9.6 (p. 263)

Figure 9-24: Programmable Logic Array Structure

PLA with Three Inputs, Five Product Terms, and Four Outputs Figure 9-25:

Figure 9-26: AND-OR Array Equivalent to Figure 9-25

Table 9-1. PLA Table for Figure 9-25

PLA Tables The input side of a PLA table defines the product terms generated by the AND array: 0 indicates a complemented variable 1 indicates an uncomplemented variable indicates a missing variable The output side of a PLA table specifies which product terms are ORed together to form the output functions: 0 indicates a product term is not present 1 indicates a product term is present. Unlike a truth table, zero, one, or more rows in a PLA table can be selected at the same time.

(a) PLA table Figure 9-27b: PLA Realization of Equations

Programmable Array Logic The PAL (programmable array logic) is a special case of the PLA in which the AND array is programmable and the OR array is fixed. Because only the AND array is programmable, the PAL is less expensive than the more general PLA, and the PAL is easier to program. Section 9.6 (p. 263)

Buffer logically equivalent to Section 9.6 (p. 266)

Section 9.6 (p. 267)

Figure 9-28: PAL Segment

Figure 9-29: Implementation of a Full Adder Using a PAL

Complex Programmable Logic Devices As integrated circuit technology continues to improve, more and more gates can be placed on a single chip. This has allowed the development of complex programmable logic devices (CPLDs). Instead of a single PAL or PLA on a chip, many PALs or PLAs can be placed on a single CPLD chip and interconnected. When storage elements such as flip-flops are also included on the same integrated circuit (IC), a small digital system can be implemented with a single CPLD. Section 9.7 (p. 268)

Figure 9-30: Architecture of Xilinx XCR3064XL CPLD (Figure based on figures and text owned by Xilinx, Inc., Courtesy of Xilinx, Inc. Xilinx, Inc. 1999-2003. All rights reserved.)

Signals generated in a PLA can be routed to an I/O pin through a macrocell. Figure 9-31: CPLD Function Block and Macrocell (A Simplified Version of XCR3064XL)

Field-Programmable Gate Arrays A field-programmable gate array (FPGA) is an IC that contains an array of identical logic cells with programmable interconnections. The user can program the functions realized by each logic cell and the connections between the cells. The interior of the FPGA consists of an array of logic cells, also called configurable logic blocks (CLBs). The array of CLBs is surrounded by a ring of I/O interface blocks. These I/O blocks connect the CLB signals to IC pins. Section 9.8 (p. 270)

Figure 9-32: Layout of a Typical FPGA

Simplified Configurable Logic Block (CLB) Figure 9-33:

A four-input LUT is essentially a reprogrammable ROM with 16 1-bit words. Figure 9-34: Implementation of a Lookup Table (LUT)

Shannon s Expansion Theorem In order to implement a switching function of more than three variables using 3-variable function generators, the function must be decomposed into subfunctions where each subfunction requires only three variables. For example, we can expand a function of the variables a, b, c, and d about the variable a: f (a, b, c, d) = a'f (0, b, c, d) + a f (1, b, c, d) = a'f0 + a f1 (9-6) f (a, b, c, d) = c'd'+ a'b'c + bcd + ac' (9-7) = a'(c'd'+ b c + bcd) + a(c'd'+ bcd + c') = a'(c'd'+ b'c + cd) + a(c'+ bd) = a'f0 + a f1 Section 9.8 (p. 271-272)

Figure 9-35: Function Expansion Using a Karnaugh Map

The general form of Shannon s expansion theorem for expanding an n-variable function about the variable xi is f (x1, x2,..., xi 1, xi, xi+1,..., xn) = xi f (x1, x2,..., xi 1, 0, xi+1,..., xn) + xi f (x1, x2,..., xi 1, 1, xi+1,..., xn) = xi f0 + xi f1 (9-8) Where f0 is the (n 1)-variable function obtained by setting xi to 0 in the original function and f1 is the (n 1)-variable function obtained by setting xi to 1 in the original function.

Realization of a 5-Variable Function with Function Generators and a MUX Figure 9-36:

G(a, b, c, d, e, f) = a'g0 + ag1 G0 = b'g00 + bg01 G1 = b'g10 + bg11 Realization of a 6-Variable Function with Function Generators and a MUX Figure 9-36: