PROBLEMS 109 SECTION *Draw the output waveform for the OR gate of Figure 3-52.

Similar documents
Mixed Logic A B A B. 1. Ignore all bubbles on logic gates and inverters. This means

Gates, Circuits, and Boolean Algebra

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

6. BOOLEAN LOGIC DESIGN

Ladder and Functional Block Programming

Basic Logic Gates Richard E. Haskell

Karnaugh Maps (K-map) Alternate representation of a truth table

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

SOLUTIONS MANUAL DIGITAL DESIGN FOURTH EDITION M. MORRIS MANO California State University, Los Angeles MICHAEL D.

Elementary Logic Gates

Logic gates. Chapter. 9.1 Logic gates. MIL symbols. Learning Summary. In this chapter you will learn about: Logic gates

Lab 1: Full Adder 0.0

Figure 8-1 Four Possible Results of Adding Two Bits

Input, Process and Output

Two's Complement Adder/Subtractor Lab L03

Chapter 2 Logic Gates and Introduction to Computer Architecture

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

CS311 Lecture: Sequential Circuits

Chapter. Getting Started. In This Chapter...

BACK PRESSURE MONITOR Operator Display with Exhaust Temperature KIT

ENGI 241 Experiment 5 Basic Logic Gates

Digital Logic Elements, Clock, and Memory Elements

Simulating Power Supply Sequences for Power Manager Devices Using PAC-Designer LogiBuilder

Gates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251

Flip-Flops, Registers, Counters, and a Simple Processor

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14

Creating Relay Logic Diagrams

Logic Reference Guide

Lesson 12 Sequential Circuits: Flip-Flops

Counters and Decoders

1.5 SOLUTION SETS OF LINEAR SYSTEMS

RAM & ROM Based Digital Design. ECE 152A Winter 2012

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

NAND and NOR Implementation

Quartus II Introduction Using VHDL Design

BOOLEAN ALGEBRA & LOGIC GATES

Programmable Logic Controllers Definition. Programmable Logic Controllers History

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

Lab 1: Introduction to Xilinx ISE Tutorial

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Linear Equations in Linear Algebra

3. Solve the equation containing only one variable for that variable.

W03 Analysis of DC Circuits. Yrd. Doç. Dr. Aytaç Gören

Computer Aided Design of Home Medical Alert System

Design: a mod-8 Counter

STRAND: ALGEBRA Unit 3 Solving Equations

The 104 Duke_ACC Machine

10.1. Solving Quadratic Equations. Investigation: Rocket Science CONDENSED

Memory Elements. Combinational logic cannot remember

Solutions of Linear Equations in One Variable

Physics. Cambridge IGCSE. Workbook. David Sang. Second edition Cambers & Sibley: IGCSE Physics Cover. C M Y K

Binary Adders: Half Adders and Full Adders

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

Lecture 8: Synchronous Digital Systems

EET 310 Programming Tools

Polynomial Degree and Finite Differences

Programming A PLC. Standard Instructions

Memory Systems. Static Random Access Memory (SRAM) Cell

2011, The McGraw-Hill Companies, Inc. Chapter 5

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

Electrical Symbols and Line Diagrams

International Journal of Electronics and Computer Science Engineering 1482

3.Basic Gate Combinations

BODY ELECTRICAL TOYOTA ELECTRICAL WIRING DIAGRAM WORKBOOK. ASSIGNMENT Version 1.8 WORKSHEETS.

7. Latches and Flip-Flops

Digital Electronics Detailed Outline

*X100/12/02* X100/12/02. MATHEMATICS HIGHER Paper 1 (Non-calculator) NATIONAL QUALIFICATIONS 2014 TUESDAY, 6 MAY 1.00 PM 2.30 PM

CHAPTER GETTING STARTED. In This Chapter...

Algebra 2 Unit 8 (Chapter 7) CALCULATORS ARE NOT ALLOWED

Theory of Logic Circuits. Laboratory manual. Exercise 3

SUNY ECC. ACCUPLACER Preparation Workshop. Algebra Skills

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Lecture 8: Signal Detection and Noise Assumption

Sequential Logic: Clocks, Registers, etc.

LAB4: Audio Synthesizer

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Name: Class: Date: Multiple Choice Identify the choice that best completes the statement or answers the question.

POLYNOMIAL FUNCTIONS

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Controller Automation, Model II+

Simplifying Logic Circuits with Karnaugh Maps

Arduino Motor Shield (L298) Manual

Programming Logic controllers

TRIGONOMETRY OF THE RIGHT TRIANGLE

Register File, Finite State Machines & Hardware Control Language

EE 209 Lab 1 Sound the Alarm

Serial Communications / Protocol in AirTest Products

GRADE 11A: Physics 5. UNIT 11AP.5 6 hours. Electronic devices. Resources. About this unit. Previous learning. Expectations

TYPES OF COMPUTERS AND THEIR PARTS MULTIPLE CHOICE QUESTIONS

DUAL SENSING DIGITAL THERMOSTAT PRODUCT INSTRUCTIONS. Construction Automotive Industry

LOCAL INTERCONNECT NETWORK (LIN)

6 Series Parallel Circuits

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Sistemas Digitais I LESI - 2º ano

PLL frequency synthesizer

7.7 Solving Rational Equations

CPM Educational Program

Transcription:

PROLEMS 109 SETION 3-3 3-1.*raw the output waveform for the OR gate of Figure 3-52. FIGURE 3-52 3-2. Suppose that the input in Figure 3-52 is unintentionally shorted to ground (i.e., 0). raw the resulting output waveform. 3-3.*Suppose that the input in Figure 3-52 is unintentionally shorted to the 5 V supply line (i.e., 1). raw the resulting output waveform. 3-4. Read the statements below concerning an OR gate. t first, they may appear to be valid, but after some thought you should realize that neither one is always true. Prove this by showing a specific eample to refute each statement. (a) If the output waveform from an OR gate is the same as the waveform at one of its inputs, the other input is being held permanently LOW. (b) If the output waveform from an OR gate is always HIGH, one of its inputs is being held permanently HIGH. 3-5. How many different sets of input conditions will produce a HIGH output from a five-input OR gate? SETION 3-4 3-6. hange the OR gate in Figure 3-52 to an N gate. (a)*raw the output waveform. (b) raw the output waveform if the input is permanently shorted to ground. (c) raw the output waveform if is permanently shorted to 5 V. 3-7.*Refer to Figure 3-4. Modify the circuit so that the alarm is to be activated only when the pressure and the temperature eceed their maimum limits at the same time. 3-8.*hange the OR gate in Figure 3-6 to an N gate and draw the output waveform. 3-9. Suppose that you have an unknown two-input gate that is either an OR gate or an N gate. What combination of input levels should you apply to the gate s inputs to determine which type of gate it is? 3-10. True or false: No matter how many inputs it has, an N gate will produce a HIGH output for only one combination of input levels. *nswers to problems marked with an asterisk can be found in the back of the tet.

110 HPTER 3/ESRIING LOGI IRUITS SETIONS 3-5 TO 3-7 3-11. pply the waveform from Figure 3-23 to the input of an INVERTER. raw the output waveform. Repeat for waveform. 3-12. (a)* Write the oolean epression for output in Figure 3-53(a). etermine the value of for all possible input conditions, and list the values in a truth table. (b) Repeat for the circuit in Figure 3-53(b). FIGURE 3-53 (a) (b) 3-13.*reate a complete analysis table for the circuit of Figure 3-15(b) by finding the logic levels present at each gate output for each of the 32 possible input combinations. 3-14. (a)*hange each OR to an N, and each N to an OR, in Figure 3-15(b). Then write the epression for the output. (b) omplete an analysis table. 3-15. reate a complete analysis table for the circuit of Figure 3-16 by finding the logic levels present at each gate output for each of the 16 possible combinations of input levels. SETION 3-8 3-16. For each of the following epressions, construct the corresponding logic circuit, using N and OR gates and INVERTERs. (a)* = ( + ) (b)* z = + + E) + (c) y = (M + N + PQ)

PROLEMS 111 (d) = W + PQ (e) z = MN(P + N ) (f) = ( + )( + ) SETION 3-9 3-17.*(a) pply the input waveforms of Figure 3-54 to a NOR gate, and draw the output waveform. (b) Repeat with held permanently LOW. (c) Repeat with held HIGH. FIGURE 3-54 3-18. Repeat Problem 3-17 for a NN gate. 3-19.*Write the epression for the output of Figure 3-55, and use it to determine the complete truth table. Then apply the waveforms of Figure 3-54 to the circuit inputs, and draw the resulting output waveform. FIGURE 3-55 X 3-20. etermine the truth table for the circuit of Figure 3-24. 3-21. Modify the circuits that were constructed in Problem 3-16 so that NN gates and NOR gates are used wherever appropriate. SETION 3-10 3-22. Prove theorems (15a) and (15b) by trying all possible cases. 3-23.* RILL QUESTION omplete each epression. (a) 1 (f) # 1 = (b) # = (g) 0 (c) # = (h) + = (d) (i) G GF (e) # 0 = (j) y + wy =

112 HPTER 3/ESRIING LOGI IRUITS 3-24. (a)*simplify the following epression using theorems (13b), (3), and (4): = (M + N)(M + P)(N + P) (b) Simplify the following epression using theorems (13a), (8), and (6): SETIONS 3-11 N 3-12 z = + + 3-25. Prove emorgan s theorems by trying all possible cases. 3-26. Simplify each of the following epressions using emorgan s theorems. (a)* (d) + (g)* ( + ) (b) + (e)* (h) (M + N)(M + N) (c)* (f) + + (i) 3-27.*Use emorgan s theorems to simplify the epression for the output of Figure 3-55. 3-28. onvert the circuit of Figure 3-53(b) to one using only NN gates. Then write the output epression for the new circuit, simplify it using emorgan s theorems, and compare it with the epression for the original circuit. 3-29. onvert the circuit of Figure 3-53(a) to one using only NOR gates. Then write the epression for the new circuit, simplify it using emorgan s theorems, and compare it with the epression for the original circuit. 3-30. Show how a two-input NN gate can be constructed from two-input NOR gates. 3-31. Show how a two-input NOR gate can be constructed from two-input NN gates. 3-32. jet aircraft employs a system for monitoring the rpm, pressure, and temperature values of its engines using sensors that operate as follows: RPM sensor output = 0 only when speed 6 4800 rpm P sensor output = 0 only when pressure 6 220 psi T sensor output = 0 only when temperature 6 200 F Figure 3-56 shows the logic circuit that controls a cockpit warning light for certain combinations of engine conditions. ssume that a HIGH at output W activates the warning light. (a)*etermine what engine conditions will give a warning to the pilot. (b) hange this circuit to one using all NN gates. FIGURE 3-56 Temp sensor T W Pressure sensor RPM sensor P R Warning light

PROLEMS 113 SETIONS 3-13 N 3-14 3-33. For each statement below, draw the appropriate logic-gate symbol standard or alternate for the given operation. (a) HIGH output occurs only when all three inputs are LOW. (b) LOW output occurs when any of the four inputs is LOW. (c) LOW output occurs only when all eight inputs are HIGH. 3-34. raw the standard representations for each of the basic logic gates. Then draw the alternate representations. 3-35. The circuit of Figure 3-55 is supposed to be a simple digital combination lock whose output will generate an active-low UNLOK signal for only one combination of inputs. (a)*modify the circuit diagram so that it represents more effectively the circuit operation. (b) Use the new circuit diagram to determine the input combination that will activate the output. o this by working back from the output using the information given by the gate symbols, as was done in Eamples 3-22 and 3-23. ompare the results with the truth table obtained in Problem 3-19. 3-36. (a) etermine the input conditions needed to activate output Z in Figure 3-37(b). o this by working back from the output, as was done in Eamples 3-22 and 3-23. (b) ssume that it is the LOW state of Z that is to activate the alarm. hange the circuit diagram to reflect this, and then use the revised diagram to determine the input conditions needed to activate the alarm. 3-37. Modify the circuit of Figure 3-40 so that 1 0 is needed to produce RIVE 1 instead of 1 1. 3-38.*etermine the input conditions needed to cause the output in Figure 3-57 to go to its active state. FIGURE 3-57 E N 3-39.*What is the asserted state for the output of Figure 3-57? For the output of Figure 3-36(c)? 3-40. Use the results of Problem 3-38 to obtain the complete truth table for the circuit of Figure 3-57. 3-41.*Figure 3-58 shows an application of logic gates that simulates a twoway switch like the ones used in our homes to turn a light on or off

114 HPTER 3/ESRIING LOGI IRUITS from two different switches. Here the light is an LE that will be ON (conducting) when the NOR gate output is LOW. Note that this output is labeled LIGHT to indicate that it is active-low. etermine the input conditions needed to turn on the LE. Then verify that the circuit operates as a two-way switch using switches and. (In hapter 4, you will learn how to design circuits like this one to produce a given relationship between inputs and outputs.) FIGURE 3-58 +5 V +5 V +5 V LIGHT SETION 3-15 3-42. Redraw the circuits of (a)* Figure 3-57 and (b) Figure 3-58 using the IEEE/NSI symbols. H SETION 3-17 HL RILL QUESTIONS 3-43.*True or false: (a) VHL is a computer programming language. (b) VHL can accomplish the same thing as HL. (c) HL is an IEEE standard language. (d) Each intersection in a switch matri can be programmed as an open or short circuit between a row and column wire. (e) The first item that appears at the top of an HL listing is the functional description. (f) The type of an object indicates if it is an input or an output. (g) The mode of an object determines if it is an input or an output. (h) uried nodes are nodes that have been deleted and will never be used again. (i) Local signals are another name for intermediate variables. (j) The header is a block of comments that document vital information about the project. SETION 3-18 3-44. Redraw the programmable connection matri from Figure 3-44. Label the output signals (horizontal lines) from the connection matri (from

NSWERS TO SETION REVIEW QUESTIONS 115 H top row to bottom row) as follows: HE. raw an X in the appropriate intersections to short-circuit a row to a column and create these connections to the logic circuit. 3-45.*Write the HL code in the language of your choice that will produce the following output functions: X Y Z H 3-46. Write the HL code in the language of your choice that will implement the logic circuit of Figure 3-39. (a) Use a single oolean equation. (b) Use the intermediate variables V, W, X, and Y. MIROOMPUTER PPLITION 3-47.*Refer to Figure 3-40 in Eample 3-23. Inputs 7 through 0 are address inputs that are supplied to this circuit from outputs of the microprocessor chip in a microcomputer.the eight-bit address code 7 to 0 selects which device the microprocessor wants to activate. In Eample 3-23, the required address code to activate the disk drive was 7 through 0 11111110 2 FE 16. Modify the circuit so that the microprocessor must supply an address code of 4 16 to activate the disk drive. HLLENGING EXERISES 3-48. Show how = can be implemented with one two-input NOR and one two-input NN gate. 3-49.*Implement y using only two-input NN gates. NSWERS TO SETION REVIEW QUESTIONS SETION 3-2 1. 1 2. 0 3.32 SETION 3-3 1. ll inputs LOW 2. E F 3. onstant HIGH SETION 3-4 1. ll five inputs 1 2. LOW input will keep the output LOW. 3. False; see truth table of each gate. SETION 3-5 1. Output of second INVERTER will be the same as input. 2.y will be LOW only for 1. SETION 3-6 1. = + + + 2. = ( + ) + E