ELEC 2210 - EXPERIMENT 1 Basic Digital Logic Circuits



Similar documents
Digital Electronics Detailed Outline

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

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

Gates, Circuits, and Boolean Algebra

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

BOOLEAN ALGEBRA & LOGIC GATES

Upon completion of unit 1.1, students will be able to

ENGI 241 Experiment 5 Basic Logic Gates

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

The components. E3: Digital electronics. Goals:

RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY

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

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

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

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

DEPARTMENT OF INFORMATION TECHNLOGY

Figure 8-1 Four Possible Results of Adding Two Bits

CHAPTER 3 Boolean Algebra and Digital Logic

Elementary Logic Gates

Lecture 8: Synchronous Digital Systems

Counters and Decoders

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

Objectives: Part 1: Build a simple power supply. CS99S Laboratory 1

Digital Logic Elements, Clock, and Memory Elements

Multiplexers Two Types + Verilog

Robot Board Sub-System Testing. Abstract. Introduction and Theory. Equipment. Procedures. EE 101 Spring 2006 Date: Lab Section # Lab #6

Active Learning in the Introduction to Digital Logic Design Laboratory Course

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

Sum-of-Products and Product-of-Sums expressions

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Analog & Digital Electronics Course No: PH-218

Sistemas Digitais I LESI - 2º ano

Decimal Number (base 10) Binary Number (base 2)

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

Two-level logic using NAND gates

MM54C150 MM74C Line to 1-Line Multiplexer

3-Digit Counter and Display

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

COURSE SYLLABUS. PRE-REQUISITES: Take CETT-1303(41052); Minimum grade C, CR.

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

CHAPTER 11: Flip Flops

EXPERIMENT 3: TTL AND CMOS CHARACTERISTICS

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

A Digital Timer Implementation using 7 Segment Displays

ANALOG & DIGITAL ELECTRONICS

CpE358/CS381. Switching Theory and Logical Design. Class 4

Conversion Between Analog and Digital Signals

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Spring 2007

Operating Manual Ver.1.1

EGR 278 Digital Logic Lab File: N278L3A Lab # 3 Open-Collector and Driver Gates

Chapter 2 Logic Gates and Introduction to Computer Architecture

Lab 1: Study of Gates & Flip-flops

Basic Logic Gates Richard E. Haskell

Interfacing To Alphanumeric Displays

CSE140: Components and Design Techniques for Digital Systems

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

PLL frequency synthesizer

3.Basic Gate Combinations

Digital Systems Laboratory

Lecture 5: Gate Logic Logic Optimization

CD4001BC/CD4011BC Quad 2-Input NOR Buffered B Series Gate Quad 2-Input NAND Buffered B Series Gate

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Binary Adders: Half Adders and Full Adders

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

MM74HC14 Hex Inverting Schmitt Trigger

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

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

Copyright Peter R. Rony All rights reserved.

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.

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN

Chapter 3 Digital Basics

Let s put together a Manual Processor

EXPERIMENT 8. Flip-Flops and Sequential Circuits

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

Low-power configurable multiple function gate

EE360: Digital Design I Course Syllabus

Introduction to Digital Logic with Laboratory Exercises

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Two's Complement Adder/Subtractor Lab L03

EE 209 Lab 1 Sound the Alarm

MICROPROCESSOR AND MICROCOMPUTER BASICS

Circuits and Boolean Expressions

International Journal of Electronics and Computer Science Engineering 1482

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

CSE140: Components and Design Techniques for Digital Systems. Introduction. Prof. Tajana Simunic Rosing

GAL-ASM-Starterkit. taskit GmbH Seelenbinderstr Berlin (Germany) Telefon +49(0)30 / Fax +49(0)30 /

CONTENTS PREFACE 1 INTRODUCTION 1 2 NUMBER SYSTEMS AND CODES 25. vii

Gray Code Generator and Decoder by Carsten Kristiansen Napier University. November 2004

CD4001BC/CD4011BC Quad 2-Input NOR Buffered B Series Gate Quad 2-Input NAND Buffered B Series Gate

Multiplexers and demultiplexers

Content Map For Career & Technology

ECEN 1400, Introduction to Analog and Digital Electronics

Combinational Logic Design

MM74HC174 Hex D-Type Flip-Flops with Clear

Boolean Algebra Part 1

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Understanding Logic Design

Transcription:

Objectives ELEC - EXPERIMENT Basic Digital Logic Circuits The experiments in this laboratory exercise will provide an introduction to digital electronic circuits. You will learn how to use the IDL-00 Bit Bucket breadboarding system to build circuits using common logic gates. The objectives of this experiment include: Review basic principles of digital logic from ELEC 00 Learn how to use the Bit Bucket breadboarding system Develop professional lab skills and written communication skills. Introduction Almost all computers today use binary digital logic circuits. These circuits have just two possible output voltages, which can be called by any contrasting terms; the most common are HIGH/LOW, or TRUE/FALSE, or ONE/ZERO. Such an output is called a binary digit, or bit. The decimal numbers and alphabet characters we are familiar with are converted to binary bits before they are fed into a computer s arithmetic logic unit (ALU). Inside the ALU, the computer executes a program and generates binary results. The binary results are converted back to decimal numbers, alphabet letters, graphics, or sound so we can understand them. Most of the fundamental data processing inside computers is done using logic gates. Logic gates combine individual bits according to certain rules. These rules, taken together, form the basis of Boolean algebra, which you studied in depth in ELEC 00 Digital Logic Circuits. Logic Gates We will introduce the most common logic gates in this section, including the AND, OR, XOR, NOT, NOR, and NAND. For each gate, we will show the circuit symbol, the Boolean algebra logic function, and the truth table. The truth table lists all possible combinations of inputs, and the resulting output for each. The three most common gates are the AND, OR and NOT (inverter) gates from which any digital logic circuit can be constructed. These gates are summarized below in terms of their logic symbol, logic equation, and truth table, where it should be noted that the NOT gate has only one input while the AND and OR gates can have two or more inputs. Logic Gate AND OR NOT (inverter) Symbol In Logic Equation = = + = In In 0 0 0 0 0 0 0 Truth Table 0 0 0 0 0 0 0 REV //0 Roppel

Other common gates include the NAND, NOR, exclusive-or (XOR), and exclusive-nor (XNOR) gates. While the NAND and NOR gates are functionally complete (meaning that any digital logic circuit can be constructed from either one of these gates), the XOR and XNOR gates are not functionally complete and, therefore, are not considered to an elementary logic gate by most designers. These gates are summarized below in terms of their logic symbol, logic equation, and truth table where it should be noted that the NAND and NOR gates (like their AND and OR counterparts) can have two or more inputs, while the XOR and XNOR gates generally have only two inputs. The NAND and NOR gates are a combination of an AND gate and NOT gate and a combination of an OR gate and NOT gate, respectively, as can be observed by comparing their truth tables. Similarly, the exclusive-nor (XNOR) gate has the inverse output of the XOR gate truth table. Logic Gate NAND NOR XOR XNOR Symbol Logic Equation = = + = = ( ) 0 0 0 0 0 0 0 0 0 Truth Table 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DeMorgan s Theorems also relate the operation of the NAND and NOR gates to AND and OR gates as follows: ( AB) = A + B ( A+ B) = AB DeMorgan s Theorems in conjunction with the Involution Theorem, which states that ( A ) = A, can be used to convert any -level AND-OR implementation of a sum-of-products (SOP) expression to an all-nand gate implementation of the circuit. Similarly, any -level implementation of a product-of-sums (POS) expression can be converted to an all-nor gate implementation of the circuit. Logic Families A logic family is a complete set of logic gates that are manufactured using a particular type of electronic circuitry. There are numerous commercially available logic families to suit different design requirements. The most common logic families are listed in the table below, together with their relative advantages and disadvantages. Acronym Full name Advantages Disadvantages CMOS Complementary metal-oxide semiconductor Lowest power consumption. Most Easily damaged by static common logic family- used in all discharge and voltage spikes. microcomputer chips today. REV //0 Roppel

TTL ECL Transistortransistor logic Emitter-coupled logic Earliest developed. Most rugged least susceptible to electrical damage. Fastest available logic family Consumes more power than CMOS not suitable for battery operated devices. Consumes more power than CMOS. Requires extreme care in wiring. The standard part number for the TTL NAND gate is 00. However, most manufacturers have their own designation which includes these numbers, but adds some extra characters. The following are examples of valid part numbers you might find on a "00" chip: SN00N, MMC00N, SNLS00N, SNH00N, etc. In addition to these, there will often be another part code stamped on the chip by the manufacturer, and there might be a code stamped underneath the chip as well. In general, as long as you can find the digits 00 somewhere on the chip, you have the right one. Below is a top view of a 00, which is a quad NAND gate integrated circuit (IC). The term quad means there are four separate NAND gates on a single chip (they all share the same power supply, but their inputs and outputs are independent). Note the pin numbering. The chip has an indentation at one end to distinguish the ends (shown in the middle of the top of the package in the figure below). For this chip to operate, you must connect V to pin (VCC), and ground to pin (GND). Some standard TTL ICs for basic digital logic functions are illustrated below at the package level for dual-inline packages (DIPSs). The pin numbers are shown along with the internal connections to the gates. Note that in all three cases Pin = Vcc and Pin = Gnd for all three of these devices. 00 Quad -input NAND gates 0 Quad -input NOR gates 0 Hex Inverters TTL Logic In this experiment, we will be using TTL logic. All ICs in the TTL logic family have the following specifications: POWER SUPPLIES: + V and Ground (0 V). LOGIC HIGH:.0 to V LOGIC LOW: 0 to 0. V FAN-OUT (Number of inputs that each output can be connected to): More details can be found in most textbooks on digital electronics, and also on the internet. Here is a useful website for TTL information: http://en.wikipedia.org/wiki/transistor-transistor_logic REV //0 Roppel

Pre-Lab Design an all NAND gate implementation of a -to- multiplexer which has inputs A, B, and S and output Z, where Z=A when S=0 and Z=B when S=. Construct the truth table for the multiplexer and use a Kmap to obtain a minimized SOP expression for the multiplexer. Draw the logic diagram for the -level AND-OR implementation for the minimized SOP expression, labeling all inputs and output. Use the Involution Theorem and DeMorgan s Theorems to obtain an all-nand gate implementation of the circuit and draw the logic diagram labeling all inputs and output. Using the package-level drawing of a 00 Quad NAND gate integrated circuit, draw the connections of the various individual gates in the package to construct the multiplexer. Lab Exercise Your lab instructor will show you how to insert DIP IC chips into the breadboard, and also how to remove (extract) chips from the breadboard. Each time you obtain a chip, inspect it to make sure it is the right part number (see the next paragraph), and to make sure all the pins are intact. Very often, people put chips back in the wrong bin. It is also common for pins to break off due to careless handling. If a pin breaks, inform your instructor and discard the chip. IDL-00 Bit-Bucket Digital Logic Breadboard System In this experiment, we will use the IDL-00, a breadboard system especially designed for TTL digital logic. In the lab ad in subsequent writeups, we commonly refer to this as the Bit Bucket. It provides regulated V power, switches for manual input, and an adjustable clock. It also provides LED s and -segment displays for monitoring outputs. Inputs and puts For studying digital logic circuits we will use several types of inputs and outputs, including switches, clock signals, LED s, and -segment displays. Switches: A switch is used to manually connect the input of a gate to a HIGH or LOW voltage. We will use pushbutton (PB) and toggle (T) switches. Clock: A Clock is a circuit that produces a periodic output that alternates between HIGH and LOW voltage. We will use a clock signal to test some of our logic circuits. LED s and -segment displays: Light-Emitting Diodes (LED s) can be used to display the output of a logic gate. Usually, they are connected so that if the output is HIGH, the LED is on. Seven-segment displays are packaged arrays of LED s that are used to display numbers and letters. PART NAND Gate Truth Table Connect a 00 quad NAND gate and verify the truth table (record the truth table for your lab report). Connect two toggle switches to the inputs of one of the NAND gates, and connect the output to the Logic Probe. Verify the truth table for this gate by stepping through each of the four possible combinations of switch settings. REV //0 Roppel

Draw the circuit, labeling which pin numbers you use for each column of the truth table. Record your truth table and verify that this gate implements the NAND function. Repeat this process for each of the other three NAND gates on the chip (the main purpose of this is to help you learn how to count pins). Before proceeding, have your GTA check off Part on your checklist. PART - Multiplexer Connect the four NAND gates of the 00 IC to construct your multiplexer design from the Prelab. Connect three toggle switches to the inputs of the multiplexer and connect the output to the Logic Probe. Record and verify the multiplexer truth table for all possible input combinations - debug your implementation as needed. Record each truth table and describe the problems and corrections you made to the circuit as you proceed to a working multiplexer. Have your GTA check off Part on your checklist. PART - Cleanup Return all components, put away all wires, and turn off all equipment. Have your GTA inspect your workstation and check off Part on your checklist if acceptable. If your circuit is not operating correctly at the end of the lab period, you may lose some or all of your in-lab points. You will not be allowed to work overtime. Submit your report to your GTA s mailbox prior to the start time of your lab period one week from today. Attach the required cover sheet and your initialed checklist to your report. REV //0 Roppel