Gates and and Circuits

Similar documents
Gates and Circuits 1

Logic diagram: a graphical representation of a circuit

QUIZ. What do these bits represent?

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

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.

UNIT-IV Combinational Logic

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

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.

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

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these

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

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

OBJECTIVE TYPE QUESTIONS FOR PRACTICAL EXAMINATION Subject : Electronics-I ( EC 112)

Lab Report: Digital Logic

UNIT III. Designing Combinatorial Circuits. Adders

Chapter 3 Digital Logic Structures

Multiple input gates. The AND gate

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

Lecture 15 Analysis of Combinational Circuits

CS302 - Digital Logic Design Glossary By

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

Digital Electronics Course Objectives

ECE/CoE 0132: FETs and Gates

Chapter 1: Digital logic

Function Table of an Odd-Parity Generator Circuit

Binary Addition. Boolean Algebra & Logic Gates. Recap from Monday. CSC 103 September 12, Binary numbers ( 1.1.1) How Computers Work

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

Combinational logic. ! Regular logic: multiplexers, decoders, LUTs and FPGAs. ! Switches, basic logic and truth tables, logic functions

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Unit level 4 Credit value 15. Introduction. Learning Outcomes

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.

Department of Electronics and Communication Engineering

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

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

Positive and Negative Logic

Combinational Logic Circuits. Combinational Logic

Logic Design I (17.341) Fall Lecture Outline

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

Chapter 4 Combinational Logic Circuits

Digital Electronics. A. I can list five basic safety rules for electronics. B. I can properly display large and small numbers in proper notation,

Logic Symbols with Truth Tables INVERTER A B NAND A B C NOR C A B A B C XNOR A B C A B Digital Logic 1

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

Digital Design and System Implementation. Overview of Physical Implementations

Fig.16.1: Digital systems and analog systems

Chapter 4 Combinational Logic Circuits

Digital Logic Design ELCT 201

Digital Logic Circuits

Lab# 13: Introduction to the Digital Logic

Digital Electronics 8. Multiplexer & Demultiplexer

Lab 2: Combinational Circuits Design

CHAPTER FORMULAS & NOTES

ELECTRONICS ADVANCED SUPPLEMENTARY LEVEL

Introduction. Reading: Chapter 1. Courtesy of Dr. Dansereau, Dr. Brown, Dr. Vranesic, Dr. Harris, and Dr. Choi.

DELD UNIT 3. Question Option A Option B Option C Option D Correct Option A B C

University of Technology

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

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

Lecture 7: Digital Logic

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #1 Oct 18, 2006

UC Berkeley CS61C : Machine Structures

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

Topic Notes: Digital Logic

ANALOGUE AND DIGITAL ELECTRONICS STUDENT S WORKBOOK U3: DIGITAL ELECTRONICS

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months

Exercise 1: AND/NAND Logic Functions

In this lecture: Lecture 3: Basic Logic Gates & Boolean Expressions

EEE 301 Digital Electronics

A HIGH SPEED & LOW POWER 16T 1-BIT FULL ADDER CIRCUIT DESIGN BY USING MTCMOS TECHNIQUE IN 45nm TECHNOLOGY

UC Berkeley CS61C : Machine Structures

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

EXPERIMENT 5 Basic Digital Logic Circuits

TABLE 3-2 Truth Table for Code Converter Example

Unit 1 Foundations in Electronics - Lesson 1.1 Introduction to Electronics Standards Essential Question Enduring Understandings

Transistors, Gates and Busses 3/21/01 Lecture #

UC Berkeley CS61C : Machine Structures

Layers. Layers. Layers. Transistor Manufacturing COMP375 1

LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM. 2012/ODD/III/ECE/DE/LM Page No. 1

Introduction. BME208 Logic Circuits Yalçın İŞLER

Chapter 3 Digital Logic Structures

EXPERIMENT NO 1 TRUTH TABLE (1)

COMPUTER ARCHITECTURE AND ORGANIZATION

Field Programmable Gate Array

LIST OF EXPERIMENTS. KCTCET/ /Odd/3rd/ETE/CSE/LM

Electronics. Digital Electronics

Subtractor Logic Schematic

16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154)

Code No: R Set No. 1

Syllabus: Digital Electronics (DE) (Project Lead The Way)

EGCP 1010 Digital Logic Design (DLD) Laboratory #1

Introduction to Electronics. Dr. Lynn Fuller

Combinational Circuits: Multiplexers, Decoders, Programmable Logic Devices

Digital Logic and Design (Course Code: EE222) Lecture 14: Combinational Contd.. Decoders/Encoders

Chapter 3 Describing Logic Circuits Dr. Xu

Approximate Hybrid Equivalent Circuits. Again, the impedance looking into the output terminals is infinite so that. conductance is zero.

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

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

5. (Adapted from 3.25)

EECS150 - Digital Design Lecture 15 - CMOS Implementation Technologies. Overview of Physical Implementations

COMBINATIONAL CIRCUIT

Transcription:

Chapter 4 Gates and Circuits

Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors Combine basic gates into circuits Describe the behavior of a gate or circuit using Boolean expressions, truth tables, and logic diagrams 2

Chapter Goals Compare and contrast a half adder and a full adder Describe how a multiplexer li l works Explain how an S-R Rlatch operates Describe the characteristics ti of the four generations of integrated circuits 3

Computers and Electricity Gate A device that performs a basic operation on electrical signals Circuits Gates combined to perform more complicated tasks 4

Computers and Electricity How do we describe the behavior of gates and circuits? Boolean expressions Uses Boolean algebra, a mathematical notation for expressing two-valued logic Logic diagrams A graphical representation of a circuit; each gate has its own symbol Truth tables A table showing all possible input values and the associated output values 5

Gates Six types of gates NOT AND OR XOR NAND NOR Typically, logic diagrams are black and white with gates distinguished only by their shape We use color for emphasis (and fun) 6

NOT Gate A NOT gate accepts one input signal (0 or 1) and returns the opposite signal as output Figure 4.1 Various representations of a NOT gate 7

AND Gate An AND gate accepts two input signals If both are 1, the output is 1; otherwise, the output is 0 8 Figure 4.2 Various representations of an AND gate

OR Gate An OR gate accepts two input signals If both are 0, the output is 0; otherwise, the output is 1 Figure 4.3 Various representations of an OR gate 9

XOR Gate An XOR gate accepts two input signals If both are the same, the output is 0; otherwise, the output is 1 Figure 4.4 Various representations of an XOR gate 10

XOR Gate Note the difference between the XOR gate and the OR gate; they differ only in one input situation When both input signals are 1, the OR gate produces a 1 and the XOR produces a 0 XOR is called the exclusive OR 11

NAND Gate The NAND gate accepts two input signals If both are 1, the output is 0; otherwise, the output is 1 Figure 4.5 Various representations of a NAND gate

NOR Gate The NOR gate accepts two input signals If both are 0, the output is 1; otherwise, the output is 0 Figure 4.6 Various representations of a NOR gate 13

Review of Gate Processing A NOT gate inverts its single input An AND gate produces 1 if both input values are 1 An OR gate produces 0 if both input values are 0 An XOR gate produces 0 if input values are the same A NAND gate produces 0 if both inputs are 1 A NOR gate produces a 1 if both inputs are 0 14

Gates with More Inputs Gates can be designed to accept three or more input values A three-input AND gate, for example, produces an output of 1 only if all input values are 1 15 Figure 4.7 Various representations of a three-input AND gate

Constructing Gates Transistor A device that acts either as a wire that conducts electricity or as a resistor that blocks the flow of electricity, depending on the voltage level of an input signal A transistor has no moving parts, yet acts like as switch It is made of a semiconductor material, which is neither a particularly good conductor of electricity nor a particularly good insulator 16

Constructing Gates Figure 4.8 The connections of a transistor A transistor has three terminals A source A base An emitter, typically connected to a ground wire If the electrical l signal is grounded, it is allowed to flow through an alternative route to the ground (literally) where it candonoharm no 17

Constructing Gates The easiest gates to create are the NOT, NAND, and NOR gates 18 Figure 4.9 Constructing gates using transistors

Circuits Combinational circuit The input values explicitly determine the output Sequential circuit The output is a function of the input values and the existing state of the circuit We describe the circuit it operations using Boolean expressions Logic diagrams Truth tables Are you surprised? 19

Combinational Circuits it Gates are combined into circuits by using the output t of one gate as the input for another 20

Combinational Circuits Three inputs require eight rows to describe all possible input combinations This same circuit using a Boolean expression is (AB + AC) 21

Combinational Circuits Consider the following Boolean expression A(B + C) Does this truth table look familiar? Compare it with previous table 22

Combinational Circuits it Circuit equivalence Two circuits that produce the same output for identical input Boolean algebra allows us to apply provable mathematical ti principles i to help design circuits it A(B + C) = AB + BC (distributive law) so circuits must be equivalent 23

Properties of Boolean Algebra 24

Adders At the digital logic level, addition is performed in binary Addition i operations are carried out by special circuits called, appropriately, adders 25

Adders The result of adding two binary digits could produce a carry value Recall that 1 + 1 = 10 in base two Half adder A circuit that computes the sum of two bits and produces the correct carry bit Truth table 26

Adders Circuit diagram representing a half adder Boolean expressions sum = A B carry = AB 27

Adders Full adder A circuit that takes the carry-in value into account Figure 4.10 A full adder 28

Multiplexers Multiplexer A circuit that uses a few input control signals to determine which h of several output data lines is routed to its output 29

Multiplexers Figure 4.11 A block diagram of a multiplexer with three select control lines The control lines S0, S1, and S2 determine which of eight other input lines (D0 D7) are routed to the output (F) 30

Circuits as Memory Digital circuits can be used to store information These circuits i form a sequential circuit, i because the output of the circuit is also used as input to the circuit 31

Circuits as Memory Figure 4.12 An S-R latch 32 An S-R latch stores a single binary digit it (1 or 0) There are several ways an S-R latch circuit can be designed using various kinds of gates

Circuits as Memory The design of this circuit guarantees that the two outputs X and Y are always complements of each other The value of X at any point in time is considered to be the current state of the circuit Therefore, if X is 1, the circuit is storing a 1; if X is 0, the circuit is storing a 0 Figure 4.12 An S-R latch 33

Integrated Circuits Integrated circuit (also called a chip) A piece of silicon on which multiple gates have been embedded d Silicon pieces are mounted on a plastic or ceramic package with pins along the edges that can be soldered onto circuit boards or inserted into appropriate sockets 34

Integrated Circuits Integrated circuits (IC) are classified by the number of gates contained in them 35

Integrated Circuits Figure 4.13 An SSI chip contains independent NAND gates 36

CPU Chips The most important integrated circuit in any computer is the Central Processing Unit, or CPU Each CPU chip has a large number of pins through which essentially all communication in a computer system occurs 37

Ethical Issues Violation of Ethics Codes Can you give examples of these issues? Intellectual Property Quality of Work Liability for Unreliability Unauthorized Access Conflict of Interest 38

Who am I? All the world knows my name. What is it and why do people p know it? 39

Do you know? What is the name of the study of materials smaller than 100 nanometers? What did Maurice Wilkes realize in 1949? What's wrong with uploading your photos to a social networking site? What change did Facebook make in 2011? 40