Digital Logic & Design Dr. Waseem Ikram Lecture 06

24
Digital Logic & Design Dr. Waseem Ikram Lecture 06

description

Digital Logic & Design Dr. Waseem Ikram Lecture 06. Recap. Logic Gates Basic Building Blocks Symbol Performs unique function Represented by a function/truth table Function expression Timing Diagram. Recap. AND Gate F=A.B OR GateF=A+B NOT Gate AND Gate enables/disables device - PowerPoint PPT Presentation

Transcript of Digital Logic & Design Dr. Waseem Ikram Lecture 06

Page 1: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Digital Logic & Design

Dr. Waseem Ikram

Lecture 06

Page 2: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Recap

Logic Gates Basic Building Blocks Symbol Performs unique function Represented by a function/truth table Function expression Timing Diagram

Page 3: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Recap

AND Gate F=A.B OR Gate F=A+B NOT Gate AND Gate enables/disables device OR Gate car door alarm system NOT Gate 1’s complement

AF

Page 4: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Recap

Alternate Symbolic representations NAND Gate NOT-AND operation Universal NAND Gate NOR Gate NOT-OR operation Universal NOR Gate

BAF

BAF

Page 5: Digital Logic & Design Dr. Waseem Ikram Lecture 06

NOR Universal Gate

Input Output

A B F

0 0 0

0 1 1

1 0 1

1 1 1

1 2

Page 6: Digital Logic & Design Dr. Waseem Ikram Lecture 06

NOR Universal Gate

31

2

Input Output

A B F

0 0 0

0 1 0

1 0 0

1 1 1

Page 7: Digital Logic & Design Dr. Waseem Ikram Lecture 06

NAND-NOR Universal Gate

31

24 3

1

2

4

Page 8: Digital Logic & Design Dr. Waseem Ikram Lecture 06

NAND Gate Applications

Device Failure Alarm

ALARM

Page 9: Digital Logic & Design Dr. Waseem Ikram Lecture 06

NOR Gate Applications

Washing Machine Controller

Switch

Page 10: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XOR Gate

1 output 2 inputs Multiple inputs

=10

0

0

Page 11: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XOR Gate function

Input Output

A B F

0 0 0

0 1 1

1 0 1

1 1 0

BAF

Page 12: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XOR Gate Timing Diagram

t0 t4 t5 t6t1 t2 t3

Page 13: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XNOR Gate

1 output 2 inputs Multiple inputs

=0

0

0

Page 14: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XNOR Gate function

Input Output

A B F

0 0 1

0 1 0

1 0 0

1 1 1

BAF

Page 15: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XNOR Gate Timing Diagram

t0 t4 t5 t6t1 t2 t3

Page 16: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XOR Gate Applications

Detecting odd number of 1’s

1

2

3

A

B

C

D

Page 17: Digital Logic & Design Dr. Waseem Ikram Lecture 06

XNOR Gate Applications

Detecting even number of 1’s

1

2

3

A

B

C

D

Page 18: Digital Logic & Design Dr. Waseem Ikram Lecture 06

TTL/CMOS NOT Gate

+VCC

+VVo/p

Vi/p

+VDD

Vi/pVo/p

NPNTransistor N-Type

MOSFET

P-TypeMOSFET

Page 19: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Type of IC Logic Gates

74XX00 Quad 2-input NAND Gate 74XX02 Quad 2-input NOR Gate 74XX04 Hex Inverter 74XX08 Quad 2-input AND Gate 74XX10 Triple 3-input NAND Gate 74XX11 Triple 3-input AND Gate 74XX20 Dual 4-input NAND Gate

Page 20: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Type of IC Logic Gates

74XX21 Dual 2-input AND Gate 74XX27 Triple 3-input NOR Gate 74XX30 Single 8-input NAND Gate 74XX32 Quad 2-input OR Gate 74XX86 Quad 2-input XOR Gate 74XX133 Single 13-input NAND Gate

Page 21: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Logic Gate Integrated Circuits

1 2 3 4 5 6 7

891011121314

7400Four 2-Input NAND Gate

1 2 3 4 5 6 7

891011121314

7404Hex Inverters

1 2 3 4 5 6 7

7408Four 2-Input AND Gate

891011121314

1 2 3 4 5 6 7

891011121314

7432Four 2-Input OR Gate

Page 22: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Logic Gate Integrated Circuits

1 2 3 4 5 6 7

891011121314

7486Four 2-Input XOR Gate

1 2 3 4 5 6 7

891011121314

74266Four 2-Input XNOR Gate

1 2 3 4 5 6 7

7402Four 2-Input NOR Gate

891011121314

Page 23: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Integrated Circuits (IC)

CMOS Complementary Metal Oxide Logic TTL Transistor-Transistor Logic ECL Emitter Coupled Logic PMOS p-channel MOS transistor NMOS n-channel MOS transistor E2CMOS

Page 24: Digital Logic & Design Dr. Waseem Ikram Lecture 06

Operational Characteristics

DC Supply Voltage Noise Margin Power Dissipation Frequency Response Fan Out