You are on page 1of 24

Unit 7 Multi-Level Gate Circuits / NAND and NOR Gates

Ku-Yaw Chang canseco@mail.dyu.edu.tw


Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University

Contents
7.1 Multi-Level Gate Circuits 7.2 NAND and NOR Gates 7.3 Design of Two-Level Circuits Using NAND and NOR Gates

7.4 Design of Multi-Level NAND and NOR Gate Circuits


7.5 Circuit Conversion Using Alternative Gate Symbols 7.6 Design of Two-Level, Multiple-Output Circuits 7.7 Multiple-Output NAND and NOR Circuits
2004/03/04 Fundamentals of Logic Design 2

7.4 Design of Multi-Level NANDand NOR-Gates Circuits


Multi-Level NAND-gate circuits

Simplify the switching function to be realized. 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. Number the levels starting with the output gate as level 1. Replace all gates with NAND gates, leaving all interconnections between unchanged. Leave the inputs to levels 2, 4, 6, unchanged. Invert any literals which appear as inputs to levels 1, 3, 5,
Fundamentals of Logic Design 3

2004/03/04

Multi-Level NAND-gate circuits

2004/03/04

Fundamentals of Logic Design

Contents
7.1 Multi-Level Gate Circuits 7.2 NAND and NOR Gates 7.3 Design of Two-Level Circuits Using NAND and NOR Gates 7.4 Design of Multi-Level NAND and NOR Gate Circuits

7.5 Circuit Conversion Using Alternative Gate Symbols


7.6 Design of Two-Level, Multiple-Output Circuits 7.7 Multiple-Output NAND and NOR Circuits
2004/03/04 Fundamentals of Logic Design 5

7.5 Circuit Conversion Using Alternative Gate Symbols


An inverter can be represented by

Inversion bubble
At the input At the output

2004/03/04

Fundamentals of Logic Design

Alternative Gate Symbols


AND, OR, NAND, and NOR gates

Based on DeMorgans law

2004/03/04

Fundamentals of Logic Design

Alternative Gate Symbols


Why alternative symbols?

Facilitate the analysis and design of NAND and NOR gate circuits

2004/03/04

Fundamentals of Logic Design

NAND Gate Circuit Conversion

2004/03/04

Fundamentals of Logic Design

Conversion to NOR Gates

2004/03/04

Fundamentals of Logic Design

10

Conversion of AND-OR Circuit to NAND Gates


Convert all AND gates to NAND gates

Adding an inversion bubble at the output

Convert all OR gates to NAND gates

Adding inversion bubbles at the inputs

An inverted output drives an inverted input

No further action

2004/03/04

Fundamentals of Logic Design

11

Conversion of AND-OR Circuit to NAND Gates


A non-inverted gate output drives an inverted gate input or vice versa

Insert an inverter Complement the variable

A variable drives an inverted input

2004/03/04

Fundamentals of Logic Design

12

Conversion of AND-OR Circuit to NAND Gates

2004/03/04

Fundamentals of Logic Design

13

Contents
7.1 Multi-Level Gate Circuits 7.2 NAND and NOR Gates 7.3 Design of Two-Level Circuits Using NAND and NOR Gates 7.4 Design of Multi-Level NAND and NOR Gate Circuits 7.5 Circuit Conversion Using Alternative Gate Symbols

7.6 Design of Two-Level, Multiple-Output Circuits


7.7 Multiple-Output NAND and NOR Circuits

2004/03/04

Fundamentals of Logic Design

14

7.6 Design of Two-Level, Multiple-Output Circuits


The realization of several functions of the same variables

A more economical realization

2004/03/04

Fundamentals of Logic Design

15

Multi-Output Function
Given Functions F1(A, B, C, D) = m(11, 12, 13, 14, 15) F2(A, B, C, D) = m(3, 7, 11, 12, 13, 15) F3(A, B, C, D) = m(3, 7, 12, 13, 14, 15)

2004/03/04

Fundamentals of Logic Design

16

Separate Realizations

2004/03/04

Fundamentals of Logic Design

17

Multiple-Output Simplification
F1 = AB + ACD F2 = ABC + CD F3 = ACD + AB AB: F1 and F3 CD (F2) can be replaced by ACD + ACD

F2 = ABC + ACD + ACD


Fundamentals of Logic Design 18

2004/03/04

Multiple-Output Realization

2004/03/04

Fundamentals of Logic Design

19

Comparison
Gates Gate Inputs Level

Separate Realization Multiple-Output Realization


2004/03/04

21

18

Fundamentals of Logic Design

20

Multiple-Output Simplification
If several solutions are available

Try to minimize the total number of gates required Choose the one with minimum gates inputs

2004/03/04

Fundamentals of Logic Design

21

Contents
7.1 Multi-Level Gate Circuits 7.2 NAND and NOR Gates 7.3 Design of Two-Level Circuits Using NAND and NOR Gates 7.4 Design of Multi-Level NAND and NOR Gate Circuits 7.5 Circuit Conversion Using Alternative Gate Symbols 7.6 Design of Two-Level, Multiple-Output Circuits

7.7 Multiple-Output NAND and NOR Circuits


2004/03/04 Fundamentals of Logic Design 22

7.7 Multiple-Output NAND and NOR Circuits

2004/03/04

Fundamentals of Logic Design

23

Homework #1
1. 2. 3. 4. 5. 7.1 7.3 7.4 7.8 7.10 6. 7.17 7. 7.19 8. 7.20 9. 7.25 10. 7.26

Paper Submission, due on March 22, 2004. Late submission will not be accepted.
2004/03/04 Fundamentals of Logic Design 24

You might also like