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

Similar documents
Chapter Contents. Appendix A: Digital Logic. Some Definitions

Microprocessor Design

9 Programmable Logic Devices

Chapter 7 Memory and Programmable Logic

Introduction Actel Logic Modules Xilinx LCA Altera FLEX, Altera MAX Power Dissipation

Principles of Computer Architecture. Appendix A: Digital Logic

RELATED WORK Integrated circuits and programmable devices

Computer Architecture and Organization

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology

1. Convert the decimal number to binary, octal, and hexadecimal.

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

March 13, :36 vra80334_appe Sheet number 1 Page number 893 black. appendix. Commercial Devices

MODULE 3. Combinational & Sequential logic

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

Lecture 6: Simple and Complex Programmable Logic Devices. EE 3610 Digital Systems

Laboratory Objectives and outcomes for Digital Design Lab

EEE130 Digital Electronics I Lecture #1_2. Dr. Shahrel A. Suandi


(Refer Slide Time: 1:45)

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

Digital Circuits ECS 371

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

Field Programmable Gate Arrays (FPGAs)

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

Chapter 4. Logic Design

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

Theory Lecture Day Topic Practical Day. Week. number systems and their inter-conversion Decimal, Binary. 3rd. 1st. 1st

COE328 Course Outline. Fall 2007

CprE 281: Digital Logic

Course Plan. Course Articulation Matrix: Mapping of Course Outcomes (COs) with Program Outcomes (POs) PSO-1 PSO-2

DHANALAKSHMI SRINIVASAN INSTITUTE OF RESEARCH AND TECHNOLOGY CS6201-DIGITAL PRINCIPLE AND SYSTEM DESIGN. I Year/ II Sem PART-A TWO MARKS UNIT-I

Page No.1. CS302 Digital Logic & Design_ Muhammad Ishfaq

Figure 1: segment of an unprogrammed and programmed PAL.

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

Department of Computer Science and Engineering Question Bank- Even Semester:

THE KENYA POLYTECHNIC

FPGA Design with VHDL

DIGITAL FUNDAMENTALS

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

0 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 1 1 Stop bits. 11-bit Serial Data format

Chapter 9 MSI Logic Circuits

S.K.P. Engineering College, Tiruvannamalai UNIT I

CS302 Glossary. address : The location of a given storage cell or group of cells in a memory; a unique memory location containing one byte.

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute


LESSON PLAN. Sub Code: EE2255 Sub Name: DIGITAL LOGIC CIRCUITS Unit: I Branch: EEE Semester: IV

IE1204 Digital Design F11: Programmable Logic, VHDL for Sequential Circuits

Saturated Non Saturated PMOS NMOS CMOS RTL Schottky TTL ECL DTL I I L TTL

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

PURBANCHAL UNIVERSITY

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Examples of FPLD Families: Actel ACT, Xilinx LCA, Altera MAX 5000 & 7000

For Teacher's Use Only Q Total No. Marks. Q No Q No Q No

ROEVER COLLEGE OF ENGINEERING & TECHNOLOGY ELAMBALUR, PERAMBALUR DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

Helping Material of CS302

CSE140L: Components and Design Techniques for Digital Systems Lab. CPU design and PLDs. Tajana Simunic Rosing. Source: Vahid, Katz

Where Are We Now? e.g., ADD $S0 $S1 $S2?? Computed by digital circuit. CSCI 402: Computer Architectures. Some basics of Logic Design (Appendix B)

DIGITAL ELECTRONICS & it0203 Semester 3

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

ME 515 Mechatronics. Introduction to Digital Electronics

IE1204 Digital Design. F11: Programmable Logic, VHDL for Sequential Circuits. Masoumeh (Azin) Ebrahimi

Minnesota State College Southeast

LORDS INSTITUTE OF ENGINEERING & TECHNOLOGY

2 Marks Q&A. Digital Electronics. K. Michael Mahesh M.E.,MIET. Asst. Prof/ECE Dept.

UNIVERSITY OF MASSACHUSSETS LOWELL Department of Electrical & Computer Engineering Course Syllabus for Logic Design Fall 2013

VU Mobile Powered by S NO Group

CHAPTER1: Digital Logic Circuits

Combinational vs Sequential

EECS 270 Final Exam Spring 2012

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

Digital. Digital. Revision: v0.19 Date: : / 76

Computer Systems Architecture

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

Digital Principles and Design

Combinational Logic Design

I B.SC (INFORMATION TECHNOLOGY) [ ] Semester II CORE : DIGITAL COMPUTER FUNDAMENTALS - 212B Multiple Choice Questions.

Chapter 3. Boolean Algebra and Digital Logic

Logic Design II (17.342) Spring Lecture Outline

Prepared By Verified By Approved By Mr M.Kumar Mrs R.Punithavathi Dr. V.Parthasarathy Asst. Professor / IT HOD / IT Principal

WELCOME. ECE 2030: Introduction to Computer Engineering* Richard M. Dansereau Copyright by R.M. Dansereau,

WINTER 15 EXAMINATION Model Answer

L12: Reconfigurable Logic Architectures

CprE 281: Digital Logic

gate symbols will appear in schematic Dierent of a circuit. Standard gate symbols have been diagram Figures 5-3 and 5-4 show standard shapes introduce

ECE Lab 5. MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output

Subject : EE6301 DIGITAL LOGIC CIRCUITS


Reconfigurable Architectures. Greg Stitt ECE Department University of Florida

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

L11/12: Reconfigurable Logic Architectures

Transcription:

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

Learning Objectives 1. Explain the function of a multiplexer. Implement a multiplexer using gates. 2. Explain the operation of three-state buffers. Determine the resulting output when three-state buffer outputs are connected together. Use three-state buffers to multiplex signals onto a bus. 3. Explain the operation of a decoder and encoder. Use a decoder with added gates to implement a set of logic functions. Implement a decoder or priority encoder using gates. 4. Explain the operation of a read-only memory (ROM). Use a ROM to implement a set of logic functions. 2

Learning Objectives 5. Explain the operation of a programmable logic array (PLA). Use a PLA to implement a set of logic functions. Given a PLA table or an internal connection diagram for a PLA, determine the logic functions realized. 6. Explain the operation of a programmable array logic device (PAL). Determine the programming pattern required to realize a set of logic functions with a PAL. 7. Explain the operation of a complex programmable logic device (CPLD) and a field-programmable gate array (FPGA). 8. Use Shannon s expansion theorem to decompose a switching function. 3

Introduction Introduction: In this unit we introduce the use of more complex integrated circuits (ICs) in logic design. Integrated circuits may be classified as small-scale integration (SSI), medium-scale integration (MSI), large-scale integration (LSI), or very-large-scale integration (VLSI), depending on the number of gates in each integrated circuit package and the type of function performed. SSI functions include NAND, NOR, AND, and OR gates, inverters, and flip-flops. 4

Decoders and Encoders 3-8 Decoder Block Diagram and Truth Table: 5

Decoders and Encoders 4-10 Line Decoder Logic Diagram: 6

Decoders and Encoders 4-10 Decoder Block Diagram and Truth Table: 7

Decoders and Encoders General Line Decoder Output Equations: 8

Decoders and Encoders Realization of Functions Using Decoders: For functions f1 and f2: 9

iclicker Question 15 What type of logic gate (single gate) is required at the decoder output to realize f1 and f2? (1 minute) A) OR B) AND C) XOR D) NOR E) NAND 10

iclicker Question 15 What type of logic gate (single gate) is required at the decoder output to realize f1 and f2? (1 minute) A) OR B) AND C) XOR D) NOR E) NAND 11

Decoders and Encoders Realization of Functions Using Decoders: For functions f1 and f2: 12

Decoders and Encoders Realization of Functions Using Decoders: For functions f1 and f2: 13

Decoders and Encoders Encoders: Encoders have the inverse function of decoders. 14

Read-Only Memories Read-Only Memory: 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. 15

Read-Only Memories ROM with n-inputs and m-outputs: A ROM which has n input lines and m output lines (Figure 9-22) contains an array of 2 n words, and each word is m bits long. The input lines serve as an address to select one of the 2 n words. When an input combination is applied to the ROM, the pattern of 0 s and 1 s which is stored in the corresponding word in the memory appears at the output lines. A 2 n m ROM can realize m functions of n variables because it can store a truth table with 2 n rows and m columns. 16

Read-Only Memories Basic ROM Structure: A ROM basically consists of a decoder and a memory array, as shown in Figure 9-23. When a pattern of n 0 s and 1 s is applied to the decoder inputs, exactly one of the 2 n decoder outputs is 1. This decoder output line selects one of the words in the memory array, and the bit pattern stored in this word is transferred to the memory output lines. 17

Read-Only Memories 8-Word x 4-Bit ROM: 18

Read-Only Memories 8-Word by 4-Bit ROM Functions: 19

Read-Only Memories Hexadecimal-to-ASCII Code Converter: 20

Read-Only Memories ROM Realization of Code Converter: 21

Multiplexers Multiplexers: A multiplexer (or data selector, abbreviated as MUX) has a group of data inputs and a group of control inputs. The control inputs are used to select one of the data inputs and connect it to the output terminal. A 2-1 MUX and its logic equation are shown below: 22

Multiplexers More Multiplexers: Logic Equation for 4-1 MUX: Logic Equation for 8-1 MUX: Logic Equation for 2 n -1 MUX: 23

Multiplexers Logic Diagram for 8-to-1 MUX: 24

Multiplexers 8-to-1 MUX NAND Implementation: NAND Logic Equation from Factoring Equation 9-2: 25

Multiplexers Quad Multiplexers to Select Data: Multiplexers are often used to select data which is to be processed or stored in digital system design. 26

Multiplexers Enable: Another type of multiplexer has an additional input called an enable. (sometimes asynchronous) The 8-to-1 MUX in Figure 9-3 can be modified to include an enable by changing the AND gates to fiveinput gates. The enable signal E is connected to the fifth input of each of the AND gates. Then, if E = 0, Z = 0 independent of the gate inputs Ii and the select inputs a, b, and c. However, if E = 1, then the MUX functions as an ordinary 8-to-1 multiplexer. 27

Multiplexers 4-1 Multiplexer Combinations and Implemented Functions: 28

Three-State Buffers Buffers: A gate output can only be connected to a limited number of other device inputs without degrading the digital system s performance. A simple buffer may be used to increase the driving capability of a gate output. Figure 9-10 shows a buffer connected between a gate output and several gate inputs. Because no bubble is present 29

Three-State Buffers Four Kinds of Three State- Buffers: 30

Three-State Buffers Data Selection and Circuits with Three-State Buffers: 31

Three-State Buffers 4-Bit Adder and Bidirectional Input-Outputs: Bi-directional means that the same pin can be used as an input pin and as an output pin, but not both at the same time. 32

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 In this chapter we will study: Combinational PLDs Sequential PLDs 33

Programmable Logic Devices Programmable Logic Arrays (PLA): A PLA performs the same basic function as a ROM. A PLA with n inputs and m outputs (Figure 9-28) can realize m functions of n variables. 34

Programmable Logic Devices 35

Programmable Logic Devices 36

Programmable Logic Devices PLA Tables: The symbols 0, l, and indicate whether a variable is complemented, not complemented, or not present in the corresponding product term. The output side of the table specifies which product terms appear in each output function. A 1 or 0 indicates whether a given product term is present or not present in the corresponding output function. 37

Programmable Logic Devices PLA Tables and ROM Truth Tables: In a ROM truth table each row represents a minterm; therefore, exactly one row will be selected by each combination of input values. The 0 s and 1 s of the output portion of the selected row determine the corresponding output values. On the other hand, each row in a PLA table represents a general product term. Therefore, zero, one, or more rows may be selected by each combination of input values. To determine the value of fi for a given input combination, the values of fi in the selected rows of the PLA table must be ORed together. 38

Programmable Logic Devices Programmable Array Logic (PAL): The PAL (programmable array logic) is a special case of the programmable logic array in which the AND array is programmable and the OR array is fixed PAL has same structure as PLA in Figure 9-28. 39

Programmable Logic Devices 40

Programmable Logic Devices Implementing a Full Adder Using PAL: 41

Complex Programmable Logic Devices Complex Programmable Logic Devices (CPLD): Instead of a single PAL or PLA on a chip, many PALs or PLAs can be placed on a single CPLD chip and interconnected. 42

Complex Programmable Logic Devices Figure 9-35 shows how a signal generated in the PLA is routed to an I/O pin through a macrocell. 43

Field-Programmable Arrays Field-Programmable Gate Arrays (FPGA): An 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 consists of an array of logic cells, also called configurable logic blocks (CLBs). The array of CLBs is surrounded by a ring of inputoutput interface blocks. These I/O blocks connect the CLB signals to IC pins. The space between the CLBs is used to route connections between the CLB outputs and inputs. 44

Field-Programmable Arrays FPGAs and CLBs: 45

Field-Programmable Arrays Implementing a Function Generator with Inputs a,b,c,d: The numbers in the squares represent the bits stored in the LUT. These bits enable particular minterms. Because the function being implemented is stored as a truth table, a function with only one minterm or with as many as 15 minterms requires a single function generator. 46

Field-Programmable Arrays Decomposition of Switching Functions: One method of decomposition is Shannon s Expansion Theorem. 47

Field-Programmable Arrays Realization of 5- and 6- Variable Functions: 48

Women in Science and Engineering Advice I d Give My Younger Self You can access IEEE President and CEO Ms. Karen Bartleson talk at CSU: https://echo360.org/media/257f6c3e-3812-4f50-833b-779aff1c0731/public