Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lab 04 :Serial Data Control Systems : Slide 2 Slide 3 Slide 4 NOR Gate: NAND Gate: NOR / NAND Alternate Symbols: Slide 5 XOR and XNOR Gate: Serial Data.

Similar presentations


Presentation on theme: "Lab 04 :Serial Data Control Systems : Slide 2 Slide 3 Slide 4 NOR Gate: NAND Gate: NOR / NAND Alternate Symbols: Slide 5 XOR and XNOR Gate: Serial Data."— Presentation transcript:

1 Lab 04 :Serial Data Control Systems : Slide 2 Slide 3 Slide 4 NOR Gate: NAND Gate: NOR / NAND Alternate Symbols: Slide 5 XOR and XNOR Gate: Serial Data Basics: Slide 6 AND Gating Serial Data: Slide 7 Rule for using alternate symbols: Slide 8

2 Logic 1 Logic 0 Logic 1 Logic 0 Logic 1 Lab 04 : NOR Gate The NOR gate is equivalent to an OR gate with a NOT gate connected to its output. NOR comes from the words Not OR. Continue to see the standard symbol for NOR. Input A Output X Input B NOR 5v Logic 0 Logic 1 Logic 0 System animation: In order to see how it works, the gate has been connected to 2 switches and LED. Continue to see the system in action… Boolean Equation: here is the equation for the NOR gate. ABX 001 010 100 110 NOR Symbol Truth Table: The table shows that the NOR gate responds with a low at the output if the signal applied to the input A or B is high. Slide #2

3 5v Logic 1 Logic 0 Logic 1 Logic 0 Logic 1 Lab 04 : NAND Gate The NAND gate is equivalent to an AND gate with a NOT gate connected to its output. NAND comes from the words Not AND. Continue to see the standard symbol for NAND. Input A Output X Input B NAND Logic 0 Logic 1 Logic 0 System animation: In order to see how it works, the gate has been connected to 2 switches and LED. Continue to see the system in action… Boolean Equation: here is the equation for the NAND gate. ABX 001 011 101 110 NAND Symbol Truth Table: The table shows that the NAND gate responds with a low at the output if the signal applied to the input A and B is high. Slide #3

4 Lab 04 : XOR Gate The XOR gate is an exclusive OR gate. It will output a logic 1 if there is an exclusive logic 1 at input A or B. Exclusive means: Only one input can be high at one time. Input A Output X Input B XOR XOR Boolean Equation: ABX 000 011 101 110 Truth Table: The table shows that the XOR gate responds with a high at the output if the signal applied to the input A or B is high (but not both high). The XNOR gate is an exclusive OR gate with an NOT gate at the output. It will output a logic 0 if there is an exclusive logic 1 at input A or B. ABX 001 010 100 111 Input A Output X Input B XNOR XOR Boolean Equation: Slide #4

5 Lab 04 : NOR and NAND Gate Alternate Symbols: The NAND and NOR logic gate symbols you have studied are called the “standard” symbols. Each gate also has an “alternate” symbol. NANDNORNOT Alternate NOR Alternate NAND ABX 001 011 101 110 ABX 001 010 100 110 Alternate NOR GATE: The bubbles at the input of the NOR gate implies that a “logic 0” at input A and a “logic 0” at input B are required to produce a “logic 1” at output X (NO bubble at output). 0 AND 0 = 1 Alternate NAND GATE: The bubbles at the input of the NAND gate implies that a “logic 0” at input A or a “logic 0” at input B are required to produce a “logic 1” at output X (NO bubble at output). 0 OR 0 = 1 The “standard” logic symbols for the NAND and NOR gates indicates a gates response to “logic 1” at the input. Slide #5

6 Lab 04 :Rule for Using the Alternate symbols : The basic logic gates AND, OR, and NOT have standard logic symbols and alternate logic symbols. A general rule for using alternate symbols exists. The rule is a guide and not a strict rule. Some designers do not use the rule but many do. = StandardAlternate = = The rule is simple : Active high device connects to active high symbol : Active low device connects to the active low symbol. Example: Connect an LED to an AND gate: There are two types of LED connections. Active High LED A logic 1 lights the LED 1 Active Low LED 5V A logic 0 lights the LED 0 Active high device connects to active high symbol (standard). Active low device connects to the active low symbol (alternate). Slide #6

7 Lab 04 : Gating digital signals: Basic Theory Digital systems communicate to each other using a Serial Data stream. You will learn what Serial Data is and how logic gates can be used to control the flow of this digital information. Serial Data is a pulse waveform The pulse waveform represents a series of 1’s and 0’s. 100111010 The series of 1’s and 0’s can sent to a device like a printer. The printer can group the bits into a code. The code could be used to print out a character on a piece of paper. A 1 0 0 1 1 1 0 1 0 A Logic Gate and a Control Switch can be used to build a control system. This system can alter the transfer of Serial Data from input B to output Y. Logic Gate Control Switch 5v A B Y The position of the Control Switch (1 or 0) and the type of Logic Gate (AND, OR, NOR …) create different control schemes. However all control schemes generate responses from a group of 4: 1- The Serial Data is transferred. Y=B 0 1 3- The Serial Data is blocked. Output Y= Logic 0. 0 1 4- The Serial Data is blocked. Output Y= Logic 1. 0 1 2- The inverse of the Serial Data is transferred. Y = B 0 1 Slide #7

8 Lab 04 : AND Gating digital signals The “And Gate” will be used to control the flow of Serial Data. Waveforms will be drawn to determine the output response (Y). The position of the Control Switch is represented by waveform A. When A=0 the switch is in the lower position. When A=1 the switch is in the upper position. Proceed to view the animation. Control Switch 5v A B Y AND Gate 10011100110 B A To draw the output response (Y) it is helpful to draw vertical lines at each transition of waveform A and B. Y The vertical lines create horizontal sections. These sections will be used to determine the output response. Start at the the first section B=1 and A=0. For an AND gate the response is Y=0. Draw Y for that section. The next section B=0 and A=0. For an AND gate the response is Y=0. Draw Y for that section. The next section B=0 and A=1. For an AND gate the response is Y=0. Draw Y for that section. The next section B=1 and A=1. For an AND gate the response is Y=1. Draw Y for that section. Continue to use this technique to complete the drawing of output waveform Y. Now that the waveform is drawn we can proceed to a more general discussion about the control system. The AND gate blocks the Serial Data and Y=0 when the Control Switch is 0. The AND gate passes the Serial Data and Y=B when the Control Switch is 1. Slide #8


Download ppt "Lab 04 :Serial Data Control Systems : Slide 2 Slide 3 Slide 4 NOR Gate: NAND Gate: NOR / NAND Alternate Symbols: Slide 5 XOR and XNOR Gate: Serial Data."

Similar presentations


Ads by Google