gate networks sets of gates: (and or not ...web.cs.ucla.edu/logic_design/slpdf/ch4.pdfdescription...

32
1 DESCRIPTION AND ANALYSIS OF GATE NETWORKS GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR XOR ANALYSIS AND DESCRIPTION OF GATE NETWORKS Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Upload: others

Post on 05-Apr-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

1DESCRIPTION AND ANALYSIS OF GATE NETWORKS

• GATE NETWORKS

• SETS OF GATES: (AND OR NOT), NAND NOR XOR

• ANALYSIS AND DESCRIPTION OF GATE NETWORKS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 2: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

2

Combinational module Combinational module

Combinational system

Figure 4.1: HIERARCHICAL IMPLEMENTATION OF A MODULE

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 3: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

3GATE NETWORKS

z1

z0

x3

x2

x1

x0

Figure 4.2: A GATE NETWORK

• GATES

• EXTERNAL INPUTS AND OUTPUTS

• CONNECTIONS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 4: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

4

GATE NETWORKS (cont.)

G 1 G 3

G 2illegal

G 1F=10 L=1

G 0

G 2

G 8

(a) (b)

L=1

L=1

G 1

G 3

G 2

(c)

G 1

G 3

G 2

(d)

Figure 4.3: a) ILLEGAL NETWORK CONNECTION. b) ACCEPTABLE OUTPUT LOAD. c) LOOP-FREE NETWORK. d) LOOPNETWORK

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 5: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

5DESCRIPTION OF GATE NETWORKS

• LOGIC DIAGRAM (GRAPHICAL REPRESENTATION)

• NET LIST (TABULAR REPRESENTATION)

• HDL DESCRIPTION (PROGRAM)

x3

x2x1x0

z

A

B

C

1

2

123

1

23

3

4

Figure 4.4: a) GRAPHICAL REPRESENTATION (LOGIC DIAGRAM)

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 6: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

6

Gate Type Inputs OutputA and − 2 A1 A3

A2

B and − 3 B1 B4

B2

B3

C or − 2 C1 C3

C2

Gates

From Tox3 A1

x2 A2

x2 B1

x1 B2

x0 B3

A3 C1

B4 C2

C3 z

Connections(b)

A_3 <= x3 and x2;

B_4 <= x2 and x1 and x0;

C_3 <= A_3 or B_4;

z <= C_3;

(c)

Figure 4.4: NETWORK REPRESENTATION: a) GRAPHICAL; b) TABULAR; c) hdl-BASED.

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 7: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

7CHARACTERIZATION OF A GATE NETWORK

• FUNCTIONAL SPECIFICATION

• INPUT LOAD FACTORS OF THE NETWORK INPUTS;

• FAN-OUT FACTOR OF THE NETWORK OUTPUTS (ONLY FOR SOMETECHNOLOGIES); AND

• PROPAGATION DELAYS THROUGH THE NETWORK

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 8: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

8UNIVERSAL SETS OF GATES

• Set {AND,OR,NOT}

z = (((x0 x1)x2)′ x2x3 x4)

zx3

x2

x1

x0

x4

Figure 4.5: CORRESPONDENCE AMONG SWITCHING EXPRESSION ANd AND-OR-NOT NETWORK

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 9: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

9

UNIVERSAL SETS OF GATES (cont.)

• Sets {AND,NOT} and {OR,NOT}

xn−1 xn−2 . . . xi . . . x0 = (x′n−1x

′n−2 . . . x′

i . . . x′0)

zx1

x0

x 2n-

x 1n-

Figure 4.6: AND-NOT IMPLEMENTATION OF AN OR GATE

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 10: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

10

UNIVERSAL SETS OF GATES (cont.)

• Sets {NAND} and {NOR}

x′ = (xx)′

NOT (x) = NAND(x, x)

x1x0 = ((x1x0)′)′ = ((x1x0)

′(x1x0)′)′

AND(x1, x0) = NAND(NAND(x1, x0), NAND(x1, x0))

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 11: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

11

UNIVERSAL SETS OF GATES (cont.)

x x’

x1

x0

x x’

xx’

1

x1x0

x1

x0

(a)

(b)

Figure 4.7: IMPLEMENTATIONS WITH NAND GATES: a) NOT; b) AND

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 12: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

12MIXED-LOGIC NOTATION

zx 1n-

x0

zx 1n-

x0

zx 1n-

x0

zx 1n-

x0

(a)

(b)

1 01n-z = x ... x x ’

1 01n-z = x’ + ... + x’+ x’

1 01n-z = x + ... + x + x ’

1 01n-z = x’ ... x’ x’

( )

( )

Figure 4.8: MIXED-LOGIC NOTATION: a) NAND GATE b) NOR GATE

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 13: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

13COMPLEX GATE STRUCTURES

(b)

x3

x2x1

x0

z

OR-NAND

x3

x2

x1x0

z

AND-NOR

(a)

zx0

x1

XOR

zx0

x1

XNOR

Figure 4.9: ADDITIONAL GATES IN CMOS a) XOR and XNOR, b) COMPLEX GATE STRUCTURES: AND-OR and OR-AND

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 14: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

14ANALYSIS OF GATE NETWORKS

• FUNCTIONAL ANALYSIS:

1. OBTAIN I/O SWITCHING EXPRESSIONS

2. OBTAIN A TABULAR REPRESENTATION OF THE (BINARY) FUNC-TION (IF FEW VARIABLES)

3. DEFINE HIGH-LEVEL INPUT AND OUTPUT VARIABLES;

USE CODES TO RELATE THESE VARIABLES WITH THE BIT-VECTORS

4. OBTAIN A HIGH-LEVEL SPECIFICATION OF THE SYSTEM

• NETWORK CHARACTERISTICS:

INPUT LOAD FACTORS, FAN-OUT FACTORS, AND DELAYS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 15: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

15OBTAIN SWITCHING EXPRESSIONS

• ASSIGN NAMES TO EACH CONNECTION IN THE NETWORK

• WRITE SWITCHING EXPRESSIONS FOR EACH GATE OUTPUT

• SUBSTITUTE ALL INTERNAL NAMES TO OBTAIN

EXTERNAL OUTPUTS IN TERMS OF EXTERNAL INPUTS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 16: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

16Example

x3

z0

z1

x’0 x’1 x2

x0

x’2

x1

T1

T2

T3

T4

T5

T6

Figure 4.10: GATE NETWORK FOR ANALYSIS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 17: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

17

EXAMPLE (cont.)

OUTPUT EXPRESSIONS:

z0 = T2 T3

= x′0x

′1x2 x0T1

= x′0x

′1x2 x0(x

′2 x3)

= x′0x

′1x2 x0x

′2 x0x3

z1 = T5 T6

= x1x2x3 T ′4

= x1x2x3 (T1x′0x1)

= x1x2x3 T ′1 x0 x′

1

= x1x2x3 x2x′3 x0 x′

1

REDUCED EXPRESSIONS:

z0 = x′0x

′1x2 x0x

′2 x0x3 (no reduction possible)

z1 = x0 x′1 x2

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 18: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

18HIERARCHICAL APPROACH

• DECOMPOSE THE NETWORK INTO SUBNETWORKS (MODULES)

• ANALYZE EACH SUBNETWORK SEPARATELY

• USE SUBSTITUTION TO OBTAIN THE NETWORK FUNCTION

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 19: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

19

x2x1x0

O1t

M1N1

y2

w2

A1 A2

O2

y1

w1

A3 A4

O3

y0

w0

A5 A6

O4M2

O6O5

A7 A8 A9 A10 A11

M3

N2 N3 N4

v2 v1 v0

z2 z1 z0

Figure 4.11: NETWORK FOR HIERARCHICAL ANALYSIS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 20: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

20EXAMPLE cont.

VERIFY THAT THE NETWORK SATISFIES THE SPECIFICATION:

Inputs: x, y, w ∈ {0, 1, . . . , 7}Output: z ∈ {0, 1, . . . , 7}

Function: z =

(y + 1) mod 8 if x 6= 0(w + 1) mod 8 if x = 0

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 21: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

21• SUBNETWORKSM1:

t = x2 x1 x0

t =

1 if x 6= 00 otherwise

M2:vi = yit wit

′ (i = 0, 1, 2)

v =

y if t = 1w if t = 0

v =

y if t = 1w if t = 0

M3:

z2 = v′2v1v0 v2v′1 v2v

′0

z1 = v1v′0 v′1v0

z0 = v′0

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 22: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

22

EXAMPLE (cont.)

• HIGH-LEVEL SPECIFICATION:

v2 v1 v0 z2 z1 z0

0 0 0 0 0 10 0 1 0 1 00 1 0 0 1 10 1 1 1 0 01 0 0 1 0 11 0 1 1 1 01 1 0 1 1 11 1 1 0 0 0

v z

0 11 22 33 44 55 66 77 0

FROM TABLE, WE GET

z = (v + 1) mod 8

SECOND LEVEL OF ANALYSIS:

z =

(y + 1) mod 8 if x 6= 0(w + 1) mod 8 if x = 0

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 23: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

23ANALYSIS OF NETWORKS WITH NOT, NAND and NOR

z

(a)

1

23

3

4

x5

x’4x3x2

x1

x’0

(b)

z

23

4

x5

x’4x3x2

x1

x’0

1

3

(c)

z

23

4

x’5

x4

x’3x’2

x1

x’0

1

3

Figure 4.12: a) NAND NETWORK; b) NETWORK REDRAWN IN MIXED-LOGIC NOTATION

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 24: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

24

ANALYSIS (cont.)

• USE MIXED-LOGIC TRANSFORMATIONS

z = x′5 (x4 x′

3)(x′2 x1x

′0)

= x′5 x4x

′2 x3x

′2 x4x1x

′0 x′

3x1x′0

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 25: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

25

z

(a)

x1

12

34

4

2

x 2

x’2

x’2

x’1

x’1

x0

x0

z

(b)

x1

23

4

4

2

x2

x’2

x’2

x’1

x’1

x0

x0

1

z

(c)

x1

23

4

4

2

x2

x’2

x’2

x’1

x’1

x0

x0

1

Figure 4.13: a) NOR NETWORK; b) NETWORK REDRAWN IN MIXED-LOGIC NOTATION

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 26: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

26

ANALYSIS (cont.)

z = ((x2 x′1)(x

′2 x1) x0)(x

′2 x′

1 x′0)

= (x2 x′1 x0)(x

′2 x1 x0)(x

′2 x′

1 x′0)

= (x2x1 x′2x

′1 x0)(x

′2 x′

1 x0)= x′

2x′1 x0

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 27: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

27ANALYSIS OF CHARACTERISTICS

• LOAD FACTOR OF A NETWORK INPUT

• FAN-OUT FACTOR OF A NETWORK OUTPUT

• SIZE OF THE NETWORK

• NETWORK (PROPAGATION) DELAY

• NUMBER OF LEVELS OF A NETWORK

• DYNAMIC CHARACTERISTICS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 28: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

28

Table 4.3: Characteristics of a family of cmos gates

Gate Fan- Propagation delays Load factor Sizetype in tpLH tpHL

[ns] [ns] [standard [equiv.loads] gates]

AND 2 0.15 + 0.037L 0.16 + 0.017L 1.0 2

AND 3 0.20 + 0.038L 0.18 + 0.018L 1.0 2AND 4 0.28 + 0.039L 0.21 + 0.019L 1.0 3

OR 2 0.12 + 0.037L 0.20 + 0.019L 1.0 2

OR 3 0.12 + 0.038L 0.34 + 0.022L 1.0 2OR 4 0.13 + 0.038L 0.45 + 0.025L 1.0 3

NOT 1 0.02 + 0.038L 0.05 + 0.017L 1.0 1NAND 2 0.05 + 0.038L 0.08 + 0.027L 1.0 1

NAND 3 0.07 + 0.038L 0.09 + 0.039L 1.0 2NAND 4 0.10 + 0.037L 0.12 + 0.051L 1.0 2

NAND 5 0.21 + 0.038L 0.34 + 0.019L 1.0 4NAND 6 0.24 + 0.037L 0.36 + 0.019L 1.0 5

NAND 8 0.24 + 0.038L 0.42 + 0.019L 1.0 6NOR 2 0.06 + 0.075L 0.07 + 0.016L 1.0 1

NOR 3 0.16 + 0.111L 0.08 + 0.017L 1.0 2NOR 4 0.23 + 0.149L 0.08 + 0.017L 1.0 4

NOR 5 0.38 + 0.038L 0.23 + 0.018L 1.0 4NOR 6 0.46 + 0.037L 0.24 + 0.018L 1.0 5

NOR 8 0.54 + 0.038L 0.23 + 0.018L 1.0 6XOR 2* 0.30 + 0.036L 0.30 + 0.021L 1.1 3

0.16 + 0.036L 0.15 + 0.020L 2.0

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 29: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

29

x2x1x0

O1t

M1N1

y2

w2

A1 A2

O2

y1

w1

A3 A4

O3

y0

w0

A5 A6

O4M2

O6O5

A7 A8 A9 A10 A11

M3

N2 N3 N4

v2 v1 v0

z2 z1 z0

Figure 4.14: NETWORK FOR HIERARCHICAL ANALYSIS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 30: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

30

EXAMPLE (cont.)

TYPES OF GATES USED: 2-input AND, 3-input AND, etc.

LOAD FACTORS: NETWORK INPUTS: 1; GATE INPUTS: 1

FANOUT FACTORS: F = 12 (assumed)

F (z2) = F (z1) = 12, F (z0) = 12 − 2 = 10

NETWORK SIZE : 38 [equiv. gates] 21 [actual]

NUMBER OF LEVELS: 7

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 31: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

31NETWORK DELAY Example of path delay calculation:

O1 → N1 → A2 → O2 → N2 → A9 → O5

TpLH(x1, z2) = tpLH(O1) + tpHL(N1) + tpHL(A2) + tpHL(O2)

+ tpLH(N2) + tpLH(A9) + tpLH(O5)

TpHL(x1, z2) = tpHL(O1) + tpLH(N1) + tpLH(A2) + tpLH(O2)

+ tpHL(N2) + tpHL(A9) + tpHL(O5)

Gate Identifier Output load tpLH tpHL

[ns] [ns]

OR3 O1 4 0.27 0.43

NOT N1 3 0.13 0.10

AND2 A2 1 0.19 0.18

OR2 O2 3 0.23 0.26

NOT N2 1 0.06 0.07

AND3 A9 1 0.24 0.20

OR3 O5 L 0.12 + 0.038L 0.34 + 0.022L

TpLH(x1, z2) = 0.27 + 0.10 + 0.18 + 0.26 + 0.06

+0.24 + 0.12 + 0.038L = 1.23 + 0.038L [ns]

TpHL(x1, z2) = 0.43 + 0.13 + 0.19 + 0.23 + 0.07

+0.20 + 0.34 + 0.022L = 1.59 + 0.022L [ns]

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis

Page 32: GATE NETWORKS SETS OF GATES: (AND OR NOT ...web.cs.ucla.edu/Logic_Design/SLPDF/ch4.pdfDESCRIPTION AND ANALYSIS OF GATE NETWORKS 1 GATE NETWORKS SETS OF GATES: (AND OR NOT), NAND NOR

32TIMING DIAGRAM

z0z1z2

x0x1x2

S TpLH

TpHL

x1

z2

Figure 4.15: TIMING DIAGRAM FROM NETWORK ANALYSIS

Introduction to Digital Systems 4 – Gate Networks: Description and Analysis