Docsity

Digital Logic Gates: NOT, AND, OR, NAND, NOR, XOR, XNOR, Inverter Characteristics - Prof. , Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Digital Logic Gates: NOT, AND, OR, NAND, NOR, XOR, XNOR, Inverter Characteristics - Prof. and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Lecture 32

Digital Logic Gates

Reading: Jaeger 6.1-6.4 and Notes

Basic Logic Gates

NOT or Inverter Gate: (Asks, is the input false?)Logic Function:Truth Table:

A

Z^

A

Input

Output

A

Z

Input

Output

Z

False=State “0”True=State “1”

Basic Logic Gates

OR Gate: (Asks, is any input true?)Logic Function:Truth Table:

B

A

Z^

A B
Z

Inputs

Output

A^

B^

Z

Inputs

Output

Basic Logic Gates

Any more complex functionality can be constructed from the

three basic gates by using DeMorgan’s Law:

Note: Only the AND, ORand Inverter gates areconsidered “Basic” logicGates

N CB A N

C B A

N

C B A N

ABC

...

...

...

...

=

=

The complement of theproduct is replaced with thesum of the complementsThe complement of the sumis replaced with the productof the complements

NOR Gate: (Asks, are all inputs false?)Logic Function:Truth Table:

B

A

Z^

A B

Inputs

Output

A^

B^

Z

Inputs

Output

Z

Non-Basic Logic Gates

XOR Gate, Exclusive OR Gate: (Asks, are the inputs not equal? Inequality test) Georgia Tech

Logic Function:Truth Table:

BA

BA

Z^

= A B

Z

Inputs

Output

A^

B^

Z

Inputs

Output

Non-Basic Logic Gates

Georgia Tech

Ideal Inverter Characteristics

•The easiest gate to analyze is the inverter (NOT) gate. By looking at the inverterwe can learn a great deal about all gate physical implementations.•The

Voltage Transfer Characteristic

( VTC

) of an ideal inverter is:

vi

Definitions:•V

OH

=Logic state “1” or “True”. The highest possible output voltage. •V

OL =Logic state “0” or “False”. The Lowest possible output voltage. •V

REF

=Voltage for which the inverter switches from Logic state “1” to Logic state “0”•The transition is abrupt.

ECE 3040 - Dr. Alan Doolittle

Georgia Tech

Actual Inverter Implementation

•The simplest implementation of the inverter consists of a resistor and a switch.•The switch can be an actual switch (user interaction required) or a transistor that iselectrically “turned on or off”.

Closed Switch, Vo=V

OL^

Vo=0V

Vo=V

DS^

of Ms

Vo=V

CE^

of Qs

Open Switch, Vo=V

OH

Vo=V+

Vo=V+

Vo=V+

Actual Inverter Characteristics

Noise Margins•Safety Factor to insure that theoutput state does not change due to“extra” unwanted signals.

NM
=VH^

OH

- V

IH

NM
=VL^
-VIL^

OL

State “1”

State “0”

ECE 3040 - Dr. Alan Doolittle

Actual Inverter Characteristics

State “1”

State “0”

V+ VOH VIH VIL VOL V^ -

vo

1 NM

H

vi^1

NM

L

Georgia Tech

Inverter Time Response

State transitions require finite amounts of time to occur. Thus, we can characterizethe Rise, and Fall of the signals by:

Rise Time, t

, = The time required forr

the input/output to transition from 10%to 90% of its total voltage excursion.I.E.:

∆V= V

OH

- V

OL

V10%
=V

OL

∆V
V90%
=V

OL

∆V

Fall Time, t

, = The time required for thef

input/output to transition from 90% to10% of its total voltage excursion.

ECE 3040 - Dr. Alan Doolittle

Inverter Time Response

State transitions require finite amounts of time to pass from the input of the gate tothe output of the gate. This “time required for a state change” can be characterizedby the propagation delays.

Propagation Delay from high-to-low, τPHL

, = The time delay between the 50% points on the input and outputwaveforms during the high-to-lowoutput transitionPropagation Delay from low-to-high, τPLH

, = The time delay between the 50% points on the input and outputwaveforms during the low-to-highoutput transitionAverage Propagation Delay, τ=0.5(P^

τPHL

+^ τ

PLH

The 50% points are:

V50%
=0.5(V

OH

+ V

OL