Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Circuit Design.

Slides:



Advertisements
Similar presentations
Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Advertisements

Propositional and First Order Reasoning. Terminology Propositional variable: boolean variable (p) Literal: propositional variable or its negation p 
Disjunctive Normal Form CS 680: Formal Methods Jeremy Johnson.
Logic Gate Level Part 2. Constructing Boolean expression from truth table First method: write nonparenthesized OR of ANDs Each AND is a 1 in the result.
MULTI-LEVEL GATE NETWORKS
EE365 Boolean algebra Combinational-circuit analysis.
COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf of Monash University.
EE1J2 – Discrete Maths Lecture 5
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 4 Image Slides.
ECE 331 – Digital System Design Multi-level Logic Circuits and NAND-NAND and NOR-NOR Circuits (Lecture #8) The slides included herein were taken from the.
Copyright © The McGraw-Hill Companies, Inc
Logic Functions and their Representation. Slide 2 Combinational Networks x1x1 x2x2 xnxn f.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 Image Slides.
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Boolean Algebra and Logic Simplification
Chapter 8 Traffic-Analysis Techniques. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 8-1.
Normal or Canonical Forms Rosen 1.2 (exercises). Logical Operators  - Disjunction  - Conjunction  - Negation  - Implication p  q   p  q  - Exclusive.
CHAPTER 2 Boolean Algebra
Lecture 4 Logic gates and truth tables Implementing logic functions
1 Introduction to Abstract Mathematics Applications : Digital Logic Circuits 2.4 and Number Systems 2.5 Instructor: Hayk Melikya
ECE 331 – Digital System Design
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
Normal Forms, Tautology and Satisfiability 2/3/121.
CS1502 Formal Methods in Computer Science
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.7 Switching Circuits.
Slide Copyright © 2009 Pearson Education, Inc. 3.7 Switching Circuits.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 – 7.2 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
Foundations of Computing I CSE 311 Fall bit Binary Adder Inputs: A, B, Carry-in Outputs: Sum, Carry-out A B Cin Cout S
Section Concepts 2.4 Definitions of b 0 and b –n Slide 1 Copyright (c) The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
17.16 Synthesis of Thyroid Hormone (TH) Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slide number: 1.
Application: Digital Logic Circuits Lecture 5 Section 1.4 Wed, Jan 24, 2007.
Fallacies The proposition [(p  q)  q]  p is not a tautology, because it is false when p is false and q is true. This type of incorrect reasoning is.
1 ENGR 254 Lecture DeMorgan Symbol Equivalence.
Thinking Mathematically
+ CS 325: CS Hardware and Software Organization and Architecture Gates and Boolean Algebra Part 3.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
Boolean Functions x 2 x 3 x f mapping truth table.
DKT 122/3 - DIGITAL SYSTEM I Chapter 4A:Boolean Algebra and Logic Simplification) Mohd ridzuan mohd nor
Karnaugh Maps (K-Maps)
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Boolean Functions 1 ECE 667 ECE 667 Synthesis and Verification of Digital Circuits Boolean Functions Basics Maciej Ciesielski Univ.
Chapter 2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Combinational Systems.
1 Section 6.2 Propositional Calculus Propositional calculus is the language of propositions (statements that are true or false). We represent propositions.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
The Logic of Boolean Connectives Chapter 4 Language, Proof and Logic.
DeMorgan’s Theorem DeMorgan’s 2 nd Theorem The complement of a sum of variables is equal to the product of the complemented variables. A + B = A. B Applying.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 7.
Chapter 13 Transportation Demand Analysis. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean Logic.
 Conjunctive Normal Form: A logic form must satisfy one of the following conditions 1) It must be a single variable (A) 2) It must be the negation of.
Truth Table to Statement Form
Application: Digital Logic Circuits
Truth Tables and Equivalent Statements
Discussion #10 Logical Equivalences
Boolean Algebra.
CSE 311 Foundations of Computing I
Propositional Calculus: Boolean Algebra and Simplification
Elementary Metamathematics
CSE 370 – Winter Combinational Logic - 1
NP-Completeness Proofs
Combinatorial Logic Circuit
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Chapter 2 Introduction to Logic Circuits
Chapter 3 Introduction to Logic 2012 Pearson Education, Inc.
PROPOSITIONAL LOGIC - SYNTAX-
Section 3.7 Switching Circuits
Boolean Algebra and Gate Networks
Presentation transcript:

Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Circuit Design

Logical Equivalence Two formulas are logically equivalent if their truth tables are identical Logically Equivalent forms can look very different ((p  (q  r))  (q  p)) vs (p  q)  (p  q  r) ((p  q))  (q  r) vs (p  q  r)  (p  q  r)

Normal Forms Disjunctive Normal Form –Sum-of-Products –Ex: (p  q)  (p  q  r) Conjunctive Normal Form –Product-of-Sums –Ex: (p  q  r)  (p  q  r)

Disjunctive Normal Form Literal: variable or its negation Term: conjunction of m literals DNF: disjunction of n terms Every formula is logically equivalent to a formula in DNF

Disjunctive Normal Form To find DNF 1.Create truth table 2.For each line that is T, construct a term 3.Create disjunction of these terms Example: ((p  (q  r))  (q  p))

Conjunctive Normal Form Literal: variable or its negation Clause: disjunction of m literals CNF: conjunction of n clauses Every formula is logically equivalent to a formula in CNF

Conjunctive Normal Form To find CNF 1.Create truth table 2.For each line that is F, construct term 3.Negate term using DeMorgan to get clause 4.Create conjunction of clauses Example: ((p  q))  (q  r)

Logic Networks Claude Shannon (1938) Switches can be wired to produces signals 1 and 0 Combine switches in the right way and you can produce circuits to represent logic formulas

Logic Gates OR gate (+,  ) AND gate ( ,  ) INV gate ( )

Circuit Design Examples Design a network for … (a  b)  c(a  b)  (a  b) Determine the function for the network. a b a c b c

More Circuit Design Examples Design a network for … (a  c)  (b  c) Determine the function for the network. a b c

Circuit Design Examples Create network for … ABC

Minimization What is minimum? –Usually involves # connections & # gates How do we find? –Equivalence rules –Algorithmic

Two-level Minimization Minimal DNF algorithm Uses the equivalence rule: (a  b)  (a  b)  a Examples: –(a  b  c)  (a  b  c)  (b  c) –(a  b  c)  (a  b  c)  (a  b) –(a  b  c)  (a  b  c)

Quine McCluskey Alg. Takes a formula written in canonical DNF and simplifies it using the equivalence rule Produces a DNF formula with minimum number of terms

Practice Problems Mathematical Structures –Section 7.2: 1(b), 3, 9, 16, 18 –Section 7.3: 20, 21