COMP541 Combinational Logic - II

Slides:



Advertisements
Similar presentations
Types of Logic Circuits
Advertisements

Logical Systems Synthesis.
Chapter 2 Logic Circuits.
Boolean Algebra and Combinational Logic
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
Logic Gate Level Combinational Circuits, Part 1. Circuits Circuit: collection of devices physically connected by wires to form a network Net can be: –
1 COMP541 Combinational Logic - II Montek Singh Aug 27, 2014.
Chapter 2: Boolean Algebra and Logic Functions
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
1 COMBINATIONAL LOGIC One or more digital signal inputs One or more digital signal outputs Outputs are only functions of current input values (ideal) plus.
Combinational Logic 1.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
Computer Organization and Design Transistors & Logic - II Montek Singh Oct {21,28}, 2015 Lecture 10.
Chap 2. Combinational Logic Circuits
Lecture 3. Combinational Logic 1 Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System Education & Research.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
Logic Circuits Lecture 3 By Amr Al-Awamry. Basic Definitions Binary Operators  AND z = x y = x yz=1 if x=1 AND y=1  OR z = x + y z=1 if x=1 OR y=1 
1 COMP541 Combinational Logic - II Montek Singh Jan 18, 2012.
Chapter 3 Digital Logic Structures
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
CEC 220 Digital Circuit Design Boolean Algebra II Fri, Sept 4 CEC 220 Digital Circuit Design Slide 1 of 13.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
CHAPTER 2 Boolean algebra and Logic gates
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
COMP541 Combinational Logic - 3
COSC3330 Computer Architecture Lecture 2. Combinational Logic
Morgan Kaufmann Publishers
Chapter 3 Notes – Part II Review Questions
De Morgan’s Theorem,.
Chapter 2: Boolean Algebra and Logic Functions
COMP541 Combinational Logic - II
Unit 2 Boolean Algebra.
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
Boolean Algebra & De Morgan's Theorems
CS 105 Digital Logic Design
Gate Circuits and Boolean Equations
CHAPTER 2 Boolean Algebra
COMP541 Combinational Logic - 3
Computer Organization and Design Transistors & Logic - II
Digital Logic.
Boolean Algebra and Combinational Logic
Princess Sumaya University
Reading: Hambley Chapters
Boolean Algebra Why study Boolean Algebra?
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
CSE 311 Foundations of Computing I
Boolean Algebra.
Boolean Algebra.
Boolean Algebra & Logic Circuits
BASIC & COMBINATIONAL LOGIC CIRCUIT
CSE 370 – Winter Combinational Logic - 1
Combinatorial Logic Circuit
Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: We can represent.
COMP541 Combinational Logic - II
Chapter 2 Introduction to Logic Circuits
COMS 361 Computer Organization
From now on: Combinatorial Circuits:
Logic Circuits I Lecture 3.
ECE 352 Digital System Fundamentals
COMP541 Combinational Logic - 3
Design of Digital Circuits Lab 1 Supplement: Drawing Basic Circuits
Introductory Concepts
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
Lecture 2: Combinational Logic Design
Presentation transcript:

COMP541 Combinational Logic - II Montek Singh Jan 16, 2019

Today Digital Circuits (review) Basics of Boolean Algebra (review) Identities and Simplification Basics of Logic Implementation Minterms and maxterms Going from truth table to logic implementation

Digital Circuits Digital Circuit = network that processes binary variables one or more binary inputs one or more binary outputs inputs and outputs are called “terminals” a functional specification relationship between inputs and outputs a timing specification describes delay from inputs changing to outputs responding

Digital Circuits Inside the black box Example: subcircuits or components or elements connected by wires wires and terminals often called “nodes” each node has a binary value each node is an input, an output, or “internal” Example: E1, E2, E3 are elements A, B, C are input nodes Y, Z are output nodes n1 is an internal node

Types of circuits Two types: with memory and without Combinational Circuit output depends only on the current values of the inputs provided enough time is given for output to respond output does not depend on past inputs or outputs called “memory-less” example: AND gate Sequential Circuit anything not combinational is sequential output depends on not only current inputs, but also past behavior previous inputs and/or outputs affect behavior has “memory”, or is “stateful” example: counter

Combinational Circuits: Examples OR Adder Multi-output example Slash notation

Combinational Circuits Theorem: A circuit is combinational if: every element is itself combinational every node is either designated as an input, or connects to exactly one output terminal of an element outputs of two elements are never “shorted together” ensures that each node has a unique/unambiguous value contains no cyclic paths every path through the circuit visits each node at most once no “feedback” Conditions above ensure that output is only a function of inputs Proof: By induction Let’s do it interactively

Combinational Circuits: Examples Which meet the conditions for combinational logic?

Identities in Boolean Algebra Use identities to manipulate functions Often used to simply a Boolean expression e.g., so can be implemented using fewer gates

Table of Identities

Duals Left and right columns are duals Replace ANDs and ORs, 0s and 1s

Single Variable Identities

Commutativity Operation is independent of order of variables

Associativity Independent of order in which we group So can also be simply written as: X+Y+Z, and XYZ

Distributivity

Substitution Can substitute arbitrarily large algebraic expressions for the variables Distribute an operation over the entire expression Example: X + YZ = (X+Y)(X+Z) Substitute ABC for X ABC + YZ = (ABC + Y)(ABC + Z)

DeMorgan’s Theorem Used a lot NOR  invert, then AND NAND  invert, then OR

Truth Tables for DeMorgan’s

DeMorgan’s Thm.: “Bubble Pushing” imagine the bubble at the output is being pushed towards the inputs it becomes a bubble at every input, and the shape of the gate changes from AND to OR, and vice versa

Algebraic/Boolean Manipulation Apply algebraic and Boolean identities to simplify expression example:

Simplification Example Apply Apply Apply

Fewer Gates

Consensus Theorem The third term is redundant Can just drop third term (consensus term) Proof summary (for first version): For third term to be true, Y & Z both must be 1 Then one of the first two terms is already 1! Exercise: Provide a similar proof for the 2nd version

Next Lecture Next Class: More on combinational logic Commonly-used combinational building blocks