nocti review lesson 4 objectives: explain the principles of basic gates. describe the principles of...

25
NOCTI Review Lesson 4 Objectives: •Explain the principles of Basic gates. •Describe the principles of the other logical gates.

Upload: shanna-wilkinson

Post on 28-Dec-2015

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

NOCTI Review Lesson 4

Objectives:

• Explain the principles of Basic gates.

• Describe the principles of the other logical gates.

Page 2: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

There are three basic logic gates each of which performs a basic logic function, they are called NOT, AND and OR.

Basic Logic Gates

Page 3: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

All other logic functions can ultimately be derived from combinations of these three.

Page 4: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The NOT gate

The input to the NOT gate is inverted i.e the binary input state of 0 gives an output of 1 and the binary input state of 1 gives an output of 0.

Page 5: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

               

0 1

1 0

is known as "NOT A" or alternatively as the complement of A . The truth table for the NOT gate appears as below

Page 6: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The AND gate

The AND gate has two or more inputs. The output from the AND gate is 1 if and only if all of the inputs are 1, otherwise the output from the gate is 0.

Page 7: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The AND gate is drawn as follows

Page 8: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The truth table for a two-input AND gate looks like

                               

0 0 0

0 1 0

1 0 0

1 1 1

Page 9: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates
Page 10: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The OR gate

The OR gate has two or more inputs. The output from the OR gate is 1 if any of the inputs is 1. The gate output is 0 if and only if all inputs are 0.

Page 11: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The OR gate is drawn as follows

                                                                                                   

Page 12: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The truth table for a two-input OR gate looks like

                                

0 0 0

0 1 1

1 0 1

1 1 1

Page 13: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

Other Logic Gates

The three basic logic gates can be combined to provide more complex logical functions. Namely NAND, NOR, XOR and XNOR.

Page 14: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The NAND gate has two or more inputs. The output from the NAND gate is 0 if and only if all of the inputs are 1 otherwise the output is 1.

The NAND gate

Page 15: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The NAND gate is drawn as follows

                                                                                                    

Page 16: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The truth table for a two-input NAND gate looks like

                               

0 0 1

0 1 1

1 0 1

1 1 0

Page 17: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The NOR gate

The NOR gate has two or more inputs. The output from the NOR gate is 1 if and only if all of the inputs are 0, otherwise the output is 0.

Page 18: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The NOR gate is drawn as follows

                                                                                                   

Page 19: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The truth table for a two-input NOR gate looks like

                                 

0 0 1

0 1 0

1 0 0

1 1 0

Page 20: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The eXclusive-OR (XOR) gate

The exclusive-OR or XOR gate has two or more inputs. An XOR gate gives an output value of 1 when there are an odd number of 1's on the inputs to the gate.

Page 21: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The XOR gate is drawn as

                                                                                                   

Page 22: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The truth table for a two-input XOR gate looks like

                                

0 0 0

0 1 1

1 0 1

1 1 0

Page 23: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The eXclusive-NOR (XNOR) gate

The exclusive-NOR or XNOR gate has two or more inputs. An XNOR gate gives an output value of 1 when there are an even number of 1's on the inputs to the gate.

Page 24: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The XNOR gate is drawn using the same symbol as the XOR gate with an invert bubble on the output line as is illustrated below

                                                                                                   

Page 25: NOCTI Review Lesson 4 Objectives: Explain the principles of Basic gates. Describe the principles of the other logical gates

The truth table for a two-input XNOR gate looks like

                                

0 0 1

0 1 0

1 0 0

1 1 1