Multi-Level Gate Circuits. Chapter 7 Multi-Level Gate Circuits NAND and NOR Gates. Some Terminologies (Cont.) Some Terminologies

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

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

THE KENYA POLYTECHNIC

A Review of logic design

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

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.

Computer Architecture and Organization

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

Code No: A R09 Set No. 2

Software Engineering 2DA4. Slides 3: Optimized Implementation of Logic Functions

Department of CSIT. Class: B.SC Semester: II Year: 2013 Paper Title: Introduction to logics of Computer Max Marks: 30

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

St. MARTIN S ENGINEERING COLLEGE

Experiment (6) 2- to 4 Decoder. Figure 8.1 Block Diagram of 2-to-4 Decoder 0 X X

EECS 270 Final Exam Spring 2012

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

EE292: Fundamentals of ECE

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING

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

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

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

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

Question Bank. Unit 1. Digital Principles, Digital Logic

Laboratory Objectives and outcomes for Digital Design Lab

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout =

MODULE 3. Combinational & Sequential logic

ME 515 Mechatronics. Introduction to Digital Electronics

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

211: Computer Architecture Summer 2016

CS 151 Final. Instructions: Student ID. (Last Name) (First Name) Signature

CS 61C: Great Ideas in Computer Architecture

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

EECS 270 Midterm Exam Spring 2011

DIGITAL LOGIC DESIGN. Press No: 42. Second Edition

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

Subject : EE6301 DIGITAL LOGIC CIRCUITS

EC6302-DIGITAL ELECTRONICS II YEAR /III SEMESTER ECE ACADEMIC YEAR

EE 210. LOGIC DESIGN LAB.

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

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

Encoders and Decoders: Details and Design Issues

Final Examination (Open Katz, Calculators OK, 3 hours)

Final Exam review: chapter 4 and 5. Supplement 3 and 4

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

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)


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

When the OR-array is pre-programed (fixed) and the AND-array. is programmable, you have what is known as a PAL/GAL. These are very low

REPEAT EXAMINATIONS 2002

DIGITAL PRINCIPLES AND SYSTEM DESIGN

9 Programmable Logic Devices

RELATED WORK Integrated circuits and programmable devices

Syllabus. Digital Electronics 3 rd SEM ECE 15ES33. Unit & Topic of Discussion. Module-1: Principles of combinational logic-1

Microprocessor Design

Vtusolution.in SUBJECT CODE: 15ES33

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

DIGITAL ELECTRONICS & it0203 Semester 3

Chapter 5 Sequential Circuits

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


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

PURBANCHAL UNIVERSITY

Combinational Logic Gates

Chapter 5: Synchronous Sequential Logic

Chapter 7 Memory and Programmable Logic

Digital Circuits. Electrical & Computer Engineering Department (ECED) Course Notes ECED2200. ECED2200 Digital Circuits Notes 2012 Dalhousie University

Vignana Bharathi Institute of Technology UNIT 4 DLD

Chapter 4. Logic Design

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

1. What does the signal for a static-zero hazard look like?

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

DIGITAL ELECTRONICS MCQs

Principles of Computer Architecture. Appendix A: Digital Logic

Combinational / Sequential Logic

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

TEST-3 (DIGITAL ELECTRONICS)-(EECTRONIC)

Chapter Contents. Appendix A: Digital Logic. Some Definitions


MC9211 Computer Organization

BHARATHIDASAN ENGINEERING COLLEGE, NATTRAMPALLI DEPARTMENT OF ECE

SEMESTER ONE EXAMINATIONS 2002

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

RAO PAHALD SINGH GROUP OF INSTITUTIONS BALANA(MOHINDER GARH)123029

Analogue Versus Digital [5 M]

EFM8LB1 Configurable Logic Unit (CLU) 1 8 N O V

EECS 270 Homework the Last Winter 2017

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

NAND/NOR Implementation of Logic Functions

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

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

EC6302 DIGITAL ELECTRONICS L T P C OBJECTIVES:

DIGITAL CIRCUIT PROJECTS

VU Mobile Powered by S NO Group

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

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

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

WINTER 15 EXAMINATION Model Answer

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

LOGIC DESIGN (Common to CSE & ISE)

Transcription:

Chapter 7 Multi-Level Gate Circuits NAND and NOR Gates iaojun Qi Multi-Level Gate Circuits Design Find the inputs and outputs Find the relationship between inputs and outputs (i.e., For each input combination, find the corresponding output. You may build a truth table to do it.) Simply the function Implement the circuit Some Terminologies The number of levels of gates: The maximum number of gates cascaded in series between a circuit input and the output. AND-OR circuit: A two-level circuit composed of a level of AND gates followed by an OR gate at the output. OR-AND circuit: A two-level circuit composed of a level of OR gates followed by an AND gate at the output. OR-AND-OR circuit: A three-level circuit composed of a level of OR gates followed by a level of AND gates followed by an OR gate at the output. Some Terminologies (Cont.) Circuit of AND and OR gates implies no particular ordering of the gates. The output gate may be either AND or OR. The four common forms for the final implementation are: AND-OR circuit NAND-NAND circuit OR-AND circuit NOR-NOR circuit Four-Level Realization of Z Three-Level Realization of Z

Find a circuit of AND and OR gates to realize f(a,b,c,d)= m(1,5,6,10,13,14) Minimized SOP: F=a c d+bc d+bcd +acd F=a c d+bc d+bcd +acd =c d(a +b)+cd (a+b) Find the minimized POS by circling 0 s F = c d +ab c +cd+a b c F=(c+d)(a +b+c)(c +d )(a+b+c ) F=(c+d)(a +b+c)(c +d )(a+b+c ) F=(c+d)(a +b+c)(c +d )(a+b+c ) =[c+d(a +b)][c +d (a+b)] =(c+a d+bd)(c +ad +bd )

Summary For this particular example: The best 2-level solution had an AND gate at the output. The best 3-level solution had an OR gate at the output. In general, to be sure of obtaining a minimum solution, one must find both the circuit with the AND-gate output and the one with the OR-gate output. NAND and NOR Gates NAND and NOR gates are generally faster and use fewer components than AND or OR gates. Any logic function can be implemented using only NAND gates or only NOR gates. NAND gate or NOR gate forms a functionally complete set since any switching function can be expressed in terms of NAND gate or NOR gate. Similarly, the set AND, OR, and NOT forms a functionally complete set since any Boolean function can be expressed in terms of SOP and POS using only the AND, OR, and NOT operations. N-input NAND gate: F=( 1 2 n ) = 1 + 2 + + n N-input NOR gate: F=( 1 + 2 + + n ) = 1 2 n OR can be realized using AND and NOT AND and NOT are a functionally complete set of gates. NAND Gate Realization of NOT, AND, and OR What is the NOR Gate Realization of NOT, AND, and OR, respectively?

Design of 2-Level Circuits using NAND and NOR Gates Procedure for designing a minimum 2-level NAND-NAND circuit 1. Find a minimum SOP expression for F. 2. Draw the corresponding 2-level AND-OR circuit. 3. Replace all gates with NAND gates leaving the gate interconnections unchanged. If the output gate has any single literals as inputs, complement these literals. Design of 2-Level Circuits using NAND and NOR Gates Procedure for designing a minimum 2-level NOR-NOR circuit 1. Find a minimum POS expression for F. 2. Draw the corresponding 2-level OR-AND circuit. 3. Replace all gates with NOR gates leaving the gate interconnections unchanged. If the output gate has any single literals as inputs, complement these literals. 4 Basic Forms for 2- Level Circuits 4 Basic Forms for 2- Level Circuits Section 7.3, p. 187 AND-OR to NAND-NAND Transformation It shows that the NAND-NOR form can realize only a product of literals and not a sum of products. Therefore, the other eight possible 2-level forms (AND- AND, OR-OR, OR-NOR, AND-NAND, NAND-NOR, NAND- OR, NOR-NAND, NOR-AND) are degenerate in the sense that they cannot realize all switching functions.

Design of Multi-Level NANDand NOR-Gate Circuits The procedure to design multi-level NAND-gate circuits is: 1. Simplify the switching function to be realized. 2. Design a multi-level circuit of AND and OR gates. The output gate must be OR. AND gate outputs cannot be used as AND-gate inputs; OR-gate outputs cannot be used as OR-gate inputs. 3. Number the levels starting with the output gate as level 1. Replace all gates with NAND gates, leaving all interconnections between gates unchanged. Leave the inputs to levels 2, 4, 6, unchanged. Invert any literals which appear as inputs to levels 1, 3, 5, Design of Multi-Level NANDand NOR-Gate Circuits The procedure to design multi-level NOR-gate circuits is: 1. Simplify the switching function to be realized. 2. Design a multi-level circuit of AND and OR gates. The output gate must be AND. AND gate outputs cannot be used as AND-gate inputs; OR-gate outputs cannot be used as OR-gate inputs. 3. Number the levels starting with the output gate as level 1. Replace all gates with NOR gates, leaving all interconnections between gates unchanged. Leave the inputs to levels 2, 4, 6, unchanged. Invert any literals which appear as inputs to levels 1, 3, 5, Design of 2-Level, Multiple- Output Circuits Solution of digital design problems often requires the realization of several functions of the same variables. Although each function could be realized separately, the use of some gates in common between two or more functions sometimes leads to a more economical realization. Multi-Level Circuit Conversion to NAND Gates =ABC +ACD+A CD Karnaugh Maps for Equations (7-22) Realization of Equations (7-22)

Multiple-Output Realization of Equations (7-22) f1 = a bd+abd+ab c +b c f2 =c+a bd f3=bc+ab c +abd Determination of Essential Prime Implicants for Multiple-Output Realization Determination of Essential Prime Implicants for Multiple-Output Realization 1. Each minterm must have a flag to show which function it is a minterm of. 2. Two minterms can be combined only if they possess one or more common flags in addition to being logically adjacent. The resulting term from the combination carries only those flags that are common to both terms that were combined. 3. A term can be checked off from the list of terms only if all the flags that the term possesses appear in the resulting term when two terms are combined. Minimize Step 1: A( P, Q, R, S) = B( P, Q, R, S) = C( P, Q, R, S) = Minterm Minterm Index Functions 0 0000 AC 2 0010 ABC 4 0100 B 6 0110 B 10 1010 AC 12 1100 A 14 1110 C 15 1111 C m(0,2,10,12) m(2,4,6) m(0,2,10,14,15) Note that 0 can be combined only with 2, resulting with (0, 2) with a flag of AC. 0 and 4 cannot be combined since they have no common flag. Furthermore, 2 cannot be checked off since all the three flags of 2 cannot be attached to (0, 2) but 0 can be checked off.

Step 2: The following list shows the result of combining these terms. Term PQRS Flag (0,2) 00-0 AC (2,6) 0-10 B (2, 10) -010 AC (4,6) 01-0 B (10,14) 1-10 C (14, 15) 111- C Step 3: PI Flag (2) ABC (12) A (0,2) AC (2,6) B (2, 10) AC (4,6) B (10,14) C (14,15) C A 0 2 10 12 * * * B 2 4 6 * C 0 2 10 14 15 * * From this chart, we can see that all Prime Implicants (PIs) except (2), (2, 6) and (10, 14) are essential. The following are the minimum covers: Function A: (0, 2), (12), and (2, 10) Function B: (4, 6) and select (2, 6) as nonessential PI. Function C: (0,2), (14,15) and select (2,10) as nonessential PI. Multiple-Output NAND and NOR Circuits If all of the output gates are OR gates, direct conversion to a NAND-gate circuit is possible. If all of the output gates are AND gates, direct conversion to a NORgate circuit is possible. Multi-Level Circuit Conversion to NOR Gates