• No results found

The OR Gate Y = A + B

N/A
N/A
Protected

Academic year: 2022

Share "The OR Gate Y = A + B"

Copied!
46
0
0

Loading.... (view fulltext now)

Full text

(1)

(2)

Introduction

A Logic Gate is an electronic circuit capable of making logical decisions.

It has one output and one or more inputs.

Basic building blocks of digital systems.

0 and 1.

0 means 0 to 0.8 V.

1 means 3 to 5 V.

0.8 V to 3 V is undefined.

2

(3)

The OR Gate Y = A + B

“The output is high when

one or more inputs are high.”

(4)

Meaning of + sign

4

(5)

Implementation of OR gate

(6)

6

A Practical Application of OR Gate

Alarm is activated whenever temperature or pressure goes above certain level.

(7)

Three-input OR Gate

(8)

8

Example : Find the OR gate output.

(9)

The AND Gate The output is high

when all the inputs are high.

(10)

10

“Y equals A AND B.”

Implementation of AND gate.

(11)

Three-input AND Gate

(12)

12

Example : Determine the variation with time of the output Y.

(13)

Example : Determine the variation with time of the output Y.

B input works as a control.

B = 0 inhibit condition; B = 1 enable condition

(14)

The NOT Gate

Y =

Y equals NOT A.

Y equals inverse of A.

Y equals complement of A.

14

(15)
(16)

Summary

16

(17)

The NOR Gate

(18)

18

Truth Table of NOR Gate

The output is HIGH only

when all the inputs are LOW.

(19)

The NAND Gate

(20)

20

Truth Table of NAND Gate

The output goes LOW

when all the inputs are HIGH.

(21)

Example : Determine the output waveform.

(22)

22

Example : Determine the output waveform.

(23)

Example : Implement the function, using only NOR and NAND gates:

Solution :

(24)

Boolean Theorems

24

(25)
(26)

26

(27)
(28)

28

Duality

There are useful identities of Boolean expressions that can help us to transform an expression A into an

equivalent expression B

We can derive additional identities with the help of the dual of a Boolean expression.

The dual of a Boolean expression is obtained by

interchanging Boolean sums and Boolean products and interchanging 0s and 1s.

(29)

Duality

Examples:

The dual of x(y + z)

is x + yz.

The dual of -x1 + (-y + z) is

(-x + 0)((-y)z).

The dual of a Boolean function F

represented by a Boolean expression is the function represented by the dual of this

expression.

(30)

DeMorgan’s Theorems

1. The complement of a sum equals the product of the complements.

2. The complement of a product equals the sum of the complements.

30

A B A B A B A B

  

  

(31)

 Theorems are dual of each other.

 Simply exchange OR (+) and AND (∙) sings.

 applicable for any number of variables.

D C

B A

D C

B A

D C

B A

D C

B A

(32)

Examples

 Simplify the following Boolean Expressions :

32

( ) a z   A BC ( ) b z  ( AB C  )

( ) c z  ( A C  ) (  BD )

(33)

Solutions

( ) a z   A BC   A BC

C A B

A C

B A

BC

A      

 ( )

( ) b z  ( AB C  )  ( AB C )   ( A B C  )  C

B A ).

( 

C B C

A

(34)

34

( )c z  (A C ) ( BD)  (A C ) ( BD)

( ) ( )

z A C B D AC BD

   

 

(35)

Implications of

De Morgan’s Theorems

Alternative symbol of NOR function.

(36)

36

Alternative symbol of NAND function.

(37)

UNIVERSAL GATE

 Basic gates are OR, AND and NOT.

 Any function can be implemented using the above.

 However, it is possible to implement any logic function using NAND gates only.

 So, NAND gate is called universal gate.

 Similarly, NOR gate is also universal gate.

(38)

38

NAND Gate

(39)
(40)

40

NOR Gate

(41)
(42)

42

7400 IC – a quad

(43)

XOR Gate

(Exclusive-OR Gate)

Output is HIGH whenever two inputs are at

opposite levels.

(44)

44

Logic circuit of XOR Gate

(45)

XNOR Gate

(Exclusive-NOR Gate)

Output is HIGH

whenever two inputs

are at same level.

(46)

46

Logic circuit of XNOR Gate

References

Related documents

While raising the investment limit on the basis of some valid and generally admissible criteria, other factors like the number of employees in the enterprises and the turnover,

Failing to address climate change impacts can undermine progress towards most SDGs (Le Blanc 2015). Many activities not only declare mitigation targets but also cite the importance

t hi s.Thewi zardwast hepersonwho ful fi l l edever yone’ swi shes.Hehadr i d Rogerskunkoft hebadodour.Soshe want edherfat hert oendt hest or ywi t h RogerSkunkhavi nganewandpl

and livin g phytoplankt.on. The problems of qu"n lHative sa mpling of zoo- plankton are extremely diflicnlt an d so a thoHnigh prograllllueof research ill~O

The jurisdiction maps for Cyberabacl West shall be shown in Annexure-I and IL G - zzt lz. Comrniqsionerate

Then, the HSC composite tablets were fabricated by using three components: s-HAp or b-HAp powder as a main com- ponent, sodium silicate solution as a binder and citric acid solution

New hybrid full adder uses semi XOR-XNOR gates and GDI-MUX full adder with a new design which eliminates the use XOR-XNOR gates and also uses GDI (gate diffusion

a) To design a Target localization algorithm using the detected sensor data and the communication among the neighborhood sensors. b) To implement single target