Digital Logic Circuits

Similar documents
Counting and Probability

Enhanced Turing Machines

Controlling Bias; Types of Variables

Recursive Triangle Puzzle

Subqueries Lecture 9

Pointers. The Rectangle Game. Robb T. Koether. Hampden-Sydney College. Mon, Jan 21, 2013

ET475 Electronic Circuit Design I [Onsite]

Rectangle Man. Lecture 9. Robb T. Koether. Hampden-Sydney College. Fri, Sep 8, 2017

Lecture 4&5 CMOS Circuits

Lab# 13: Introduction to the Digital Logic

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

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.

Variables. Lecture 13 Sections Wed, Sep 16, Hampden-Sydney College. Displaying Distributions - Quantitative.

Logic Design I (17.341) Fall Lecture Outline

EECS150 - Digital Design Lecture 2 - CMOS

Chapter 3 Digital Logic Structures

Outline. Drawing the Graph. 1 Homework Review. 2 Introduction. 3 Histograms. 4 Histograms on the TI Assignment

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

Minute Alarm Clock. David Peled LaGuardia Community College

Lecture 2: Digital Logic Basis

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

Outline. transistors logic gates. on numbers on strings. writing numbers in words algorithm flowchart code

Digital Fundamentals. Logic gates

Computer Architecture (TT 2012)

Exercises: Fundamentals of Computer Engineering 1 PAGE: 1

Chapter 3 Digital Logic Structures

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.

Multiple input gates. The AND gate

EXPERIMENT 12: DIGITAL LOGIC CIRCUITS

Goal-Directed Tableaux

Your Name and ID. (a) ( 3 points) Breadth First Search is complete even if zero step-costs are allowed.

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 1 Logistics

DIGITAL CIRCUITS AND SYSTEMS ASSIGNMENTS 1 SOLUTIONS

ECE380 Digital Logic. Logic values as voltage levels

Lecture # 16 Logic with a State Dependent Device. Logic Gates How are they built in practice?

ANALOGUE AND DIGITAL ELECTRONICS STUDENT S WORKBOOK U3: DIGITAL ELECTRONICS

Logical Agents (AIMA - Chapter 7)

11/18/2015. Outline. Logical Agents. The Wumpus World. 1. Automating Hunt the Wumpus : A different kind of problem

Notes. 1. Midterm 1 Thursday February 24 in class.

MITOCW watch?v=x-ik9yafapo

DEFENCE: GROSSER BELEG

Fall 2017 March 13, Written Homework 4

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

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

UNIVERSITI MALAYSIA PERLIS

ECE 334: Electronic Circuits Lecture 10: Digital CMOS Circuits

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON

Topic: Use Parallel Lines and Transversals. and transversals?

Digital Logic Design ELCT 201

ECE 2300 Digital Logic & Computer Organization

Lecture 9 Transistors

Combinatorial Logic Design Multiplexers and ALUs CS 64: Computer Organization and Design Logic Lecture #14

Run-Ons. College Writing Skills,, 8E and College Writing Skills with Readings,, 8E

Chapter 6 DIFFERENT TYPES OF LOGIC GATES

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

Electronics Basic CMOS digital circuits

Exercise 1: AND/NAND Logic Functions

Lecture Week 4. Homework Voltage Divider Equivalent Circuit Observation Exercise

Chapter 4: FLIP FLOPS. (Sequential Circuits) By: Siti Sabariah Hj. Salihin ELECTRICAL ENGINEERING DEPARTMENT EE 202 : DIGITAL ELECTRONICS 1

University of Technology

Lecture 16 Sections Tue, Sep 23, 2008

DEPARTMENT OF PHYSICS PHYS*2040 W'09. Fundamental Electronics and Sensors. Lecturer: Dr. Ralf Gellert MacN 450 Ext

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

Combinational Logic Design CH002

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

Digital Circuits II Lecture 6. Lab Demonstration 3 Using Altera Quartus II to Determine Simplified Equations & Entering Truth Table into VHDL

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

Exercise 2: OR/NOR Logic Functions

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

Digital Logic Circuits

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

BCD Adder. Lecture 21 1

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, CS1800 Discrete Structures Midterm Version C

Analog, Digital, and Logic

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

ECE/CoE 0132: FETs and Gates

Appendix B Page 1 54/74 FAMILIES OF COMPATIBLE TTL CIRCUITS PIN ASSIGNMENT (TOP VIEWS)

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

EECS-140/141 Introduction to Digital Logic Design Lecture 7:Sequential Logic Basics

LECTURE 7. OPERATIONAL AMPLIFIERS (PART 2)

Practice Midterm Exam 5

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

E-Tec Module Part No

UNIT III. Designing Combinatorial Circuits. Adders

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

A LOW POWER SINGLE PHASE CLOCK DISTRIBUTION USING 4/5 PRESCALER TECHNIQUE

Series-Parallel Circuits

Electrical Engineering 40 Introduction to Microelectronic Circuits

THE UNIVERSITY OF TRINIDAD & TOBAGO

Super Mario. Martin Ivanov ETH Zürich 5/27/2015 1

Lecture 20 November 13, 2014

BME 3512 Bioelectronics Reading Assignments and Homework Problems Spring 2015

E2.11/ISE2.22 Digital Electronics II

Elektrische Parameter Grundlagen der technischen Informatik

Logic diagram: a graphical representation of a circuit

Positive and Negative Logic

CSE 21 Mathematics for Algorithm and System Analysis

Unit 5 - Operational Amplifiers

8. Combinational MOS Logic Circuits

Transcription:

Digital Logic Circuits Lecture 5 Section 2.4 Robb T. Koether Hampden-Sydney College Wed, Jan 23, 2013 Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 1 / 25

1 Logic Gates 2 Normal Forms 3 Designing Circuits 4 Assignment Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 2 / 25

Outline 1 Logic Gates 2 Normal Forms 3 Designing Circuits 4 Assignment Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 3 / 25

Logic Gates There are three basic gates. AND-gate OR-gate NOT-gate Two other gates. NAND-gate NOR-gate Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 4 / 25

AND-Gate p q Output 1 1 1 1 0 0 0 1 0 0 0 0 An AND-gate. The output is 1 if both inputs are 1. The output is 0 if either input is 0. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 5 / 25

OR-Gate p q Output 1 1 1 1 0 1 0 1 1 0 0 0 An OR-gate. The output is 1 if either input is 1. The output is 0 if both inputs are 0. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 6 / 25

NOT-Gate p Output 1 0 0 1 A NOT-gate. The output is 1 if the input is 0. The output is 0 if the input is 1. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 7 / 25

NAND-Gate p q Output 1 1 0 1 0 1 0 1 1 0 0 1 An NAND-gate. The output is 0 if both inputs are 1. The output is 1 if either input is 0. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 8 / 25

NOR-Gate p q Output 1 1 0 1 0 0 0 1 0 0 0 1 An NOR-gate. The output is 0 if either input is 1. The output is 1 if both inputs are 0. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 9 / 25

Outline 1 Logic Gates 2 Normal Forms 3 Designing Circuits 4 Assignment Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 10 / 25

Disjunctive Normal Form A logical expression is in disjunctive normal form (DNF) if It is a disjunction of clauses, Each clause if a conjunction of variables and negations of variables. Each variable or its negation appears in each clause exactly once. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 11 / 25

Example p q (p q) ( p q) ( p q). p q (p q) ( p q). p q (p q) ( p q) ( p q). p q p q. What are disjunctive normal forms for T and F? Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 12 / 25

Conjunctive Normal Form A logical expression is in conjunctive normal form (CNF) if It is a conjunction of clauses, Each clause if a disjunction of variables and negations of variables. Each variable or its negation appears in each clause exactly once. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 13 / 25

Example p q p q. p q (p q) ( p q). p q p q. p q (p q) ( p q) ( p q). What are conjunctive normal forms for T and F? Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 14 / 25

Outline 1 Logic Gates 2 Normal Forms 3 Designing Circuits 4 Assignment Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 15 / 25

Output Tables Input Output 1 1 0 1 0 1 0 1 0 0 0 0 An output table shows the output of a logical function for every possible combination of inputs. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 16 / 25

Designing Circuits To design a circuit that represents a logical function, Write an output table for the circuit. The table reveals the DNF form of the function. Write the logical expression and simplify it, if possible. Draw the circuit using AND-gates, OR-gates, and NOT-gates (and NAND-gates and NOR-gates). Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 17 / 25

Example Input Output 1 1 0 1 0 1 0 1 0 0 0 0 Design a circuit for the above function (which is (p q)). Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 18 / 25

Example Design a circuit for (p q) (q r). Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 19 / 25

Example Input p q r Output 1 1 1 0 1 1 0 1 1 0 1 0 1 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 0 0 0 Produce the output table for (p q) (q r). Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 20 / 25

Example Based on the output table, the DNF of (p q) (q r) is (p q r) ( p q r) ( p q r). I do not see any way to simplify this. Draw the circuit. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 21 / 25

Example Design a logic circuit for (p q) ( q r) r. Use the conjunctive normal form of (p q) ( q r) r to design a circuit. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 22 / 25

Outline 1 Logic Gates 2 Normal Forms 3 Designing Circuits 4 Assignment Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 23 / 25

Assignment Assignment Read Section 2.4, pages 64-75. Exercises 1, 2, 5, 6, 9, 10, 15, 17, 18, 19, 24, 25, 32, page 65. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 24 / 25

Collected Homework 1 Collected Homework 1 Page 37, Exercises 15, 42. Page 49, Exercises 6, 17. Page 61, Exercises 11, 23. Due at the beginning of class on Thu, Jan 24, 2013. Robb T. Koether (Hampden-Sydney College) Digital Logic Circuits Wed, Jan 23, 2013 25 / 25