Exercise 2: OR/NOR Logic Functions

Similar documents
Exercise 1: AND/NAND 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 1: Tri-State Buffer Output Control

Exercise 2: Source and Sink Current

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

Exercise 2: Current in a Series Resistive Circuit

Exercise 3: Voltage in a Series Resistive Circuit

Exercise 1: Inductors

Exercise 2: Inductors in Series and in Parallel

Exercise 1: Series RLC Circuits

UNIVERSITI MALAYSIA PERLIS

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.

Exercise 3: Ohm s Law Circuit Voltage

Subject: Analog and Digital Electronics Code:15CS32

Exercise 2: Ohm s Law Circuit Current

Exercise 2: Temperature Measurement

Exercise 3: Power in a Series/Parallel Circuit

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

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.

Logic Circuit Design

Lab Project #2: Small-Scale Integration Logic Circuits

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

Exercise 2: Q and Bandwidth of a Series RLC Circuit

Exercise 2: Temperature Measurement

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

Schmitt Trigger Inputs, Decoders

Experiment # 2 The Voting Machine

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

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

Exercise 3: Series-Shunt Voltage Gain

Lab# 13: Introduction to the Digital Logic

Experiment 5: Basic Digital Logic Circuits

Experiment # 3 Combinational Circuits (I) Binary Addition and Subtraction

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

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

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

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

Exercise 1: AC Waveform Generator Familiarization

Encoders. Lecture 23 5

Lab 5. Binary Counter

Lab 2: Combinational Circuits Design

Analysis procedure. To obtain the output Boolean functions from a logic diagram, proceed as follows:

Lab 6. Binary Counter

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

Exercise 1: The Rheostat

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

Exercise 1: Touch and Position Sensing

Digital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates

Function Table of an Odd-Parity Generator Circuit

ELEC 2210 EXPERIMENT 12 NMOS Logic

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

;UsetJand : Llto Record the truth. LAB EXERCISE 6.1 Binary Adders. Materials. Procedure

Lecture 2: Digital Logic Basis

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

UNIT-IV Combinational Logic

EECE 143 Lecture 0: Intro to Digital Laboratory

Exercise 1: Power Division

Lecture 7: Digital Logic

Basic Logic Circuits

Exercise 1: Series Resonant Circuits

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

Exercise 2: Parallel RLC Circuits

EXPERIMENT 1 PRELIMINARY MATERIAL

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

Combinational Logic Circuits. Combinational Logic

Lab #10: Finite State Machine Design

Government of Karnataka Department of Technical Education Board of Technical Examinations, Bengaluru

Gates and Circuits 1

CHAPTER 6 DIGITAL INSTRUMENTS

Laboratory Manual CS (P) Digital Systems Lab

Combinational Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Gates and and Circuits

Exercise 2: High-Pass Filters

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

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

Revised: Summer 2010

LSN 3 Logic Gates. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

EXPERIMENT 4 CMOS Inverter and Logic Gates

Lab Report: Digital Logic

Practical Workbook Logic Design & Switching Theory

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

Chapter 4 Combinational Logic Circuits

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

Chapter 6 Digital Circuit 6-6 Department of Mechanical Engineering

Module -18 Flip flops

Experiment # 1 Introduction to Lab Equipment

ECE 2300 Digital Logic & Computer Organization

EXPERIMENT 5 Basic Digital Logic Circuits

Electronics. Digital Electronics

PRESENTATION OF THE PROJECTX-FINAL LEVEL 1.

Lab 2 Revisited Exercise

LOGIC GATES AND LOGIC CIRCUITS A logic gate is an elementary building block of a Digital Circuit. Most logic gates have two inputs and one output.

E85: Digital Design and Computer Architecture

Chapter 4 Combinational Logic Circuits

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

Exercise 1: Shunt-Series Current Gain

EECS 150 Homework 4 Solutions Fall 2008

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

Transcription:

Exercise 2: OR/NOR Logic Functions EXERCISE OBJECTIVE When you have completed this exercise, you will be able to determine the operation of an OR and a NOR logic gate. You will verify your results by generating truth tables for each function. EXERCISE DISCUSSION The schematic symbol of a two-input OR gate and the Boolean equation for the OR gate are shown. Input signals are labeled A and B, and the gate output is labeled C. The Boolean equation for the OR gate states that C is high when A or B is high. In the equation, the + symbol indicates the OR function. The schematic symbol and the Boolean equation for a NOR gate are shown here. The inputs are labeled A and B, and the output is labeled C. The Boolean equation for the NOR gate states that C is low when A or B is high. The bar over the A+B indicates the complement. FACET by Lab-Volt 61

Digital Logic Fundamentals The NOR gate symbol has a bubble at the output of the gate. This bubble indicates a complement. The Boolean equation for the NOR gate is a. C = A + B. b. C = A+B. Pins 14 and 7 supply power to the IC. The IC provides four separate two-input NOR gates labeled A through D. For the 74LS02 IC, inputs may be tied to other inputs, and an output may be connected to inputs; however, outputs cannot be connected to one another. Pin 1 is the output to which gate? a. A b. B c. C d. D Two NOR gates can be cascaded (connected in series) to generate an OR operation, as shown. 62 FACET by Lab-Volt

Output D represents the OR function because of the complementary action of GATE 2. This is the truth table for the circuit. The outputs are complementary. Output column C provides the NOR function truth table, and output column D provides the OR function truth table for inputs A and B. The disable and enable combinations and the truth tables for an OR gate are shown here. When one input is low, the OR gate is enabled and the output depends on the other input level. When one input is high, the output is disabled because it is always high independent of the level at the other input. FACET by Lab-Volt 63

Digital Logic Fundamentals The enable and disable combinations and the truth tables for a NOR gate are shown here. When one input is held low, the NOR gate is enabled and the output is the complement of the other input. When one input is held high, the NOR gate is disabled. The output is always low independent of the other input level. If one input of an OR gate is held low, is the gate enabled or disabled? a. enabled b. disabled Here is a three-input NOR gate, the 74LS27. The operating principles of a two-input OR or NOR gate apply to gates having more than two inputs. The output of this gate is low when any input is high. Any one input at a high level locks out the other inputs since the output is always low. When all inputs are low, the output is high. 64 FACET by Lab-Volt

PROCEDURE Locate the OR/NOR 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 static state of a signal, as indicated by a circuit LED, or by connecting either your multimeter or oscilloscope to the appropriate point. To verify the state of a dynamic signal (squarewave) an oscilloscope is used. What are the logic levels at the OR gate inputs? a. both low b. both high What is the logic level at the output of the OR gate? FACET by Lab-Volt 65

Digital Logic Fundamentals What are the logic levels at the NOR gate inputs? What is the output level of the NOR gate? If either toggle switch A or B (not both) were placed in the HIGH position, would the OR gate output be locked high or low? a. high b. low If either toggle switch A or B (not both) were placed in the HIGH position, would the NOR gate output be locked high or low? a. high b. low 66 FACET by Lab-Volt

The table shows the OR and NOR outputs when both A and B are low. Place toggle switch A in the HIGH position and switch B in the LOW position. What is the OR gate output? Leave toggle switch A in the HIGH position and switch B in the low position. What is the NOR gate output? Place toggle switch A in the LOW position and switch B in the HIGH position. What is the OR gate output? Leave toggle switch A in the LOW position and switch B in the HIGH position. What is the NOR gate output? FACET by Lab-Volt 67

Digital Logic Fundamentals Place toggle switch A in the HIGH position and switch B in the HIGH position. What is the OR gate output? Place toggle switches A and B in the HIGH position. What is the NOR gate output? Based on the truth table, when is the NOR gate output high? a. when both inputs are low b. when any input is low c. when any input is high Modify your test circuit as shown. Connect channel 1 of your oscilloscope to circuit input B. Use channel 2 to monitor other circuit points as required. 68 FACET by Lab-Volt

Place switch A in the LOW position. The circuit input signal is a square wave as seen on oscilloscope channel 1. Monitor the OR gate output (A + B) on channel 2. The OR gate output is a. enabled. b. disabled. Monitor the NOR gate output (A+B) on channel 2. The NOR gate output is a. enabled. b. disabled. Place switch A in the HIGH position. Monitor the output of the OR gate. The gate is a. enabled. b. disabled. Monitor the output of the NOR gate. The gate is a. enabled. b. disabled. FACET by Lab-Volt 69

Digital Logic Fundamentals CONCLUSION The output of an OR gate is high when any input is high. The output of a NOR gate is low when any input is high. A high input will disable an OR or a NOR gate. A low input (two-input gate) will enable an OR or a NOR gate. OR/NOR gate outputs complement each other. REVIEW QUESTIONS 1. Locate the OR/NOR circuit block, and connect the circuit shown. Enable the circuit gates by placing toggle switch A in the LOW position. Place CM switch 13 in the ON position. With the CM activated, the OR gate and NOR gate a. outputs follow input signal B. b. input B signals are locked out. c. functions are affected by switch A. d. outputs are no longer complementary. 2. Place CM switch 12 in the ON position. The CM a. stops the gates from responding to input level changes at A. b. allows the gates to respond to input level changes at A. c. OR gate is enabled, but the NOR gate is disabled. d. NOR gate is enabled, but the OR gate is disabled. 70 FACET by Lab-Volt

3. The output of an OR 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 low. 4. The output of a NOR 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 low. 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-up and common connections. NOTE: Make sure all CMs are cleared (turned off) before proceeding to the next section. FACET by Lab-Volt 71