Exercise 1: AND/NAND Logic Functions

Similar documents
Exercise 2: OR/NOR Logic Functions

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

Exercise 1: DC Operation of a NOT and an OR-TIE

Exercise 1: Circuit Block Familiarization

Exercise 2: Current in a Series Resistive Circuit

Exercise 1: Tri-State Buffer Output Control

Exercise 2: Source and Sink Current

Exercise 1: Inductors

TECH 3232 Fall 2010 Lab #1 Into To Digital Circuits. To review basic logic gates and digital logic circuit construction and testing.

Exercise 3: Voltage in a Series Resistive Circuit

Exercise 3: Ohm s Law Circuit Voltage

Exercise 2: Ohm s Law Circuit Current

Exercise 3: Power in a Series/Parallel Circuit

Exercise 1: Series RLC Circuits

Exercise 2: Inductors in Series and in Parallel

Lab 5. Binary Counter

Schmitt Trigger Inputs, Decoders

Lab 6. Binary Counter

Exercise 2: Temperature Measurement

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

In this experiment you will study the characteristics of a CMOS NAND gate.

UNIVERSITI MALAYSIA PERLIS

When you have completed this exercise, you will be able to determine the ac operating characteristics of

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

The collector terminal is common to the input and output signals and is connected to the dc power supply. Common Collector Circuit

Schmitt trigger. V I is converted from a sine wave into a square wave. V O switches between +V SAT SAT and is in phase with V I.

Lab# 13: Introduction to the Digital Logic

Lab Project #2: Small-Scale Integration Logic Circuits

Exercise 2: Q and Bandwidth of a Series RLC Circuit

Lab 2: Combinational Circuits Design

Exercise 2: Temperature Measurement

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

Subject: Analog and Digital Electronics Code:15CS32

Exercise 1: The Rheostat

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA

Experiment # 2 The Voting Machine

Experiment 5: Basic Digital Logic Circuits

using dc inputs. You will verify circuit operation with a multimeter.

When you have completed this exercise, you will be able to determine ac operating characteristics of a

Exercise 2: Parallel RLC Circuits

Name EGR 2131 Lab #2 Logic Gates and Boolean Algebra Objectives Equipment and Components Part 1: Reading Pin Diagrams 7400 (TOP VIEW)

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1

Exercise 3: EXERCISE OBJECTIVE

Exercise 3: Series-Shunt Voltage Gain

ENG 100 Electric Circuits and Systems Lab 6: Introduction to Logic Circuits

Digital Fundamentals. Lab 4 EX-OR Circuits & Combinational Circuit Design

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 4: Combinational Logic Circuits. Name: Date:

Exercise 1: Touch and Position Sensing

EECE 143 Lecture 0: Intro to Digital Laboratory

Electronics. Digital Electronics

Exercise 1: Power Division

Exercise 1: Inductive Reactance

Lab 2 Revisited Exercise

Odd-Prime Number Detector The table of minterms is represented. Table 13.1

Lab Exercise 6: Digital/Analog conversion

Exercise 1: Series Resonant Circuits

Exercise 2: High-Pass Filters

Logic Circuit Design

Exercise 1: AC Waveform Generator Familiarization

Computer Architecture: Part II. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

Sequential Logic Circuits

UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC 180A DIGITAL SYSTEMS I Winter 2015

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

An input resistor suppresses noise and stray pickup developed across the high input impedance of the op amp.

Gates and and Circuits

Lab 8: SWITCHED CAPACITOR CIRCUITS

Encoders. Lecture 23 5

EXPERIMENT NO 1 TRUTH TABLE (1)

TTL LOGIC and RING OSCILLATOR TTL

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

This transistor circuit has a voltage divider circuit with an emitter resistor for bias stability.

Module -18 Flip flops

Exercise 2: Distance Measurement

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

Lab #10: Finite State Machine Design

Laboratory Manual CS (P) Digital Systems Lab

Basic Logic Circuits

Revised: Summer 2010

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

UNIT E1 (Paper version of on-screen assessment) A.M. WEDNESDAY, 8 June hour

Exercise 1: Effect of Shunt Feedback on AC Gain

Logic diagram: a graphical representation of a circuit

Logic Families. Describes Process used to implement devices Input and output structure of the device. Four general categories.

Gates and Circuits 1

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

Oct 10 & 17 EGR 220: Engineering Circuit Theory Due Oct 17 & 24 Lab 4: Op Amp Circuits

CHAPTER 6 DIGITAL INSTRUMENTS

EXPERIMENT 1 PRELIMINARY MATERIAL

Practical Workbook Logic Design & Switching Theory

When you have completed this exercise, you will be able to determine the frequency response of an

Chapter 3 Describing Logic Circuits Dr. Xu

When you have completed this exercise, you will be able to relate the gain and bandwidth of an op amp

DARSHAN INSTITUTE OF ENGINEERING & TECHNOLOGY

Exercise 2: AC Voltage and Power Gains

GCSE (9-1) WJEC Eduqas GCSE (9-1) in ELECTRONICS ACCREDITED BY OFQUAL DESIGNATED BY QUALIFICATIONS WALES SAMPLE ASSESSMENT MATERIALS

E85: Digital Design and Computer Architecture

Exercise 2: FM Detection With a PLL

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

Transcription:

Exercise 1: AND/NAND Logic Functions EXERCISE OBJECTIVE When you have completed this exercise, you will be able to determine the operation of an AND and a NAND logic gate. You will verify your results by generating truth tables for each function. EXERCISE DISCUSSION The schematic symbol of a two-input AND gate and the Boolean equation for the AND gate are shown here. Input signals are labeled A and B, and the output is labeled C. The Boolean equation for the AND gate states that C is high when A and B are high. The AND operation is indicated by the dot between A and B. NOTE: A B and AB without the are identical. The schematic symbol of a two-input NAND gate and the Boolean equation for the NAND gate are shown here. 48 FACET by Lab-Volt

Fundamental Logic Elements The Boolean equation for the NAND gate states that C is low when A and B are high. The bar over A B represents the complement. The NAND gate function has a bubble drawn at the output side of the gate. The bubble indicates a complement. Pins 14 and 7 supply power to the IC. The IC provides four separate two-input NAND gates labeled A through D. FACET by Lab-Volt 49

Pin 11 is the output for which gate? a. A b. B c. C d. D For the 74LS00 IC, inputs may be tied to other inputs, or outputs may be connected to inputs; however, outputs cannot be connected to one another. Unused inputs generally are pulled high (connected to 5 Vdc) through a pull-up resistor. Two NAND gates can be cascaded (connected in series) to generate an AND operation, as shown. Output C provides a NAND response to circuit inputs A and B. Output C is complemented by the action of GATE 2. In turn, this gate generates an AND operation for circuit inputs A and B at output D. This is the truth table for the circuit. 50 FACET by Lab-Volt

Fundamental Logic Elements Outputs C and D are complements. Output column C provides the NAND function truth table, while output column D provides the AND function truth table. A and B are the two circuit inputs. Four unique input conditions test all possible input combinations. A low logic state at any input disables an AND gate. A high logic state at one input of a two-input AND gate enables the gate. The disable and enable combinations and the truth tables for an AND gate are shown here. If one input is held low, the output is always low and the gate is disabled. FACET by Lab-Volt 51

If one input is held high, the output is the same level as the other input and the gate is enabled. If you wanted to disable an AND gate, you would pull one input a. high. b. low. A low level at any input disables a NAND gate. A high level at one input of a NAND gate enables the gate. The disable and enable combinations and the truth tables for a NAND gate are shown here. A disabled NAND gate locks out its other input and generates a high level (1) output, as shown in the truth table. 52 FACET by Lab-Volt

Fundamental Logic Elements An enabled NAND gate complements the other input, as shown in the truth table. An eight-input NAND gate (74LS30) is shown. The operating principles of a two-input NAND gate apply to gates having more than two inputs. The output of this gate is low only when all inputs are high. Any one input at a low level locks out the other inputs (the output is always high). PROCEDURE Locate the AND/NAND circuit block, and connect the circuit shown. Activate BLOCK SELECT. Place both toggle switches in the LOW position. NOTE: A high logic level turns on an LED. You can verify the state of a signal, as indicated by a circuit LED, by connecting your multimeter to the appropriate test point. FACET by Lab-Volt 53

What are the logic levels at AND gate inputs A and B? a. both low b. both high Based on the input levels, what is the AND gate output level? What are the logic levels at the NAND gate inputs? a. both low b. both high What is the logic level at the output of the NAND gate? 54 FACET by Lab-Volt

Fundamental Logic Elements The table shows the AND and NAND outputs when inputs A and B are low. Place toggle switch A in the HIGH position. What is the AND gate output? What is the NAND gate output? Place toggle switch A in the LOW position and switch B in the HIGH position. What is the AND gate output? What is the output of the NAND gate? FACET by Lab-Volt 55

Set both switches A and B high. What is the AND output? What is the NAND gate output? Based on the truth table, when is the AND gate output high? a. when any input is high b. when both inputs are high Based on the truth table, are the outputs of the AND and NAND gates complementary? a. yes b. no 56 FACET by Lab-Volt

Fundamental Logic Elements Connect the circuit shown here. Connect channel 1 of your oscilloscope to circuit input B. Use channel 2 to monitor other circuit points as required. NOTE: LEDs will appear to be constantly on due to the pulse train input signal. This action does not alter the expected circuit operation. You may disable the circuit block LEDs by removing BLOCK SELECT. Place switch A in the LOW position. Circuit input signal B is a square wave pulse train as seen on oscilloscope channel 1. Monitor the AND gate and NAND gate outputs on channel 2 of the scope. Are the gates enabled or disabled? a. enabled b. disabled Is the AND gate output high or low? a. high b. low FACET by Lab-Volt 57

Is the NAND gate output high or low? a. high b. low Place switch A in the HIGH position. Monitor the output of each gate. Are the gates enabled or disabled by the high input at A? a. enabled b. disabled Refer to the waves shown here, and compare the circuit outputs with the circuit input. With respect to input signal B, the AND output is a. in phase. b. out of phase. With respect to input signal B, the NAND gate output is a. in phase. b. out of phase. 58 FACET by Lab-Volt

Fundamental Logic Elements CONCLUSION The output of an AND gate is high only when all inputs are high. The output of a NAND gate is low only when all inputs are high. A low input disables an AND or a NAND gate. A high input (two-input gate) will enable an AND or a NAND gate. The output of an enabled AND gate is in phase with its input. The output of an enabled NAND gate is the complement of its input. REVIEW QUESTIONS 1. Locate the AND/NAND circuit block and connect the circuit shown. Disable the circuit gates by placing toggle switch A in the LOW position. Place CM switch 6 in the ON position. The CM a. enables the NAND gate but not the AND gate. b. disables the clock signal at input B. c. enables the AND and NAND gates. d. causes the AND and NAND gate outputs to be in phase. 2. Place CM switch 7 in the ON position. The CM a. places a logic 1 signal at input B to the gates. b. prevents the gates from responding to changes at input A. c. enables the AND gate but disables the NAND gate. d. enables the NAND gate but disables the AND gate. 3. The output of an AND gate is high a. all of the time. b. when any input is low. c. when any input is high. d. when all inputs are high. FACET by Lab-Volt 59

4. The output of a NAND gate is low a. all of the time. b. when any input is low. c. when any input is high. d. when all inputs are high. 5. In the circuit shown, output levels A through D are, respectively, a. low, high, low, and low. b. low, high, low, and high. c. high, low, low, and low. d. disabled due to the circuit pull-ups and to a common connection on the last gate. NOTE: Make sure all CMs are cleared (turned off) before proceeding to the next section. 60 FACET by Lab-Volt