1 Microprocessors vs. Custom Digital Circuits Why would anyone ever need to design new digital circuits? Microprocessors are readily available, inexpensive,

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

CS 151 Digital Systems Design Lecture 5 Boolean Algebra.
Logical Systems Synthesis.
Microprocessors vs. Custom Digital Circuits
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Digital Design Copyright © 2006 Frank Vahid 1 Digital Design Chapter 2: Combinational Logic Design Slides to accompany the textbook Digital Design, First.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
Boolean Algebra and Logic Simplification
Digital Design - Combinational Logic Design Chapter 2 - Combinational Logic Design.
Digital Logic Circuits – Chapter 1 Section 1-3, 1-2.
CHAPTER 2 Boolean Algebra
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
Lecture 7 Topics –Boolean Algebra 1. Logic and Bits Operation Computers represent information by bit A bit has two possible values, namely zero and one.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
KFUPM COE 202: Digital Logic Design Combinational Logic Part 1 Courtesy of Dr. Ahmad Almulhem.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
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 
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Boolean Functions and Boolean Algebra Laxmikant Kale.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Computer Architecture & Operations I
Computer Architecture & Operations I
Boolean Algebra & Logic Gates
Digital Logic.
Morgan Kaufmann Publishers
Logic Gates and Boolean Algebra
Working with DIGITAL Information
Boolean Algebra & De Morgan's Theorems
CHAPTER 2 Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
CHAPTER 1 : INTRODUCTION
Digital Logic.
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Overview Part 1 – Gate Circuits and Boolean Equations
Boolean Algebra.
Boolean Algebra – Part 1 ECEn 224.
TN 221: DIGITAL ELECTRONICS 1
IB Computer Science Computer Organization
Dr. Clincy Professor of CS
CHAPTER 2 Boolean Algebra
CSE 311 Foundations of Computing I
Boolean Algebra.
Agenda – 2/12/18 Questions? Readings: CSI 4, P
CSE 370 – Winter Combinational Logic - 1
Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: We can represent.
CS Chapter 3 (3A and ) Part 3 of 8
Logic Gates.
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Chapter 2 Introduction to Logic Circuits
CS Chapter 3 (3A and ) – Part 2 of 5
From now on: Combinatorial Circuits:
Logic Circuits I Lecture 3.
ECE 352 Digital System Fundamentals
Design of Digital Circuits Lab 1 Supplement: Drawing Basic Circuits
Boolean Algebra By: Asst Lec. Besma Nazar Nadhem
Laws & Rules of Boolean Algebra
Boolean Algebra S.SADHISH PRABHU.
Presentation transcript:

1 Microprocessors vs. Custom Digital Circuits Why would anyone ever need to design new digital circuits? Microprocessors are readily available, inexpensive, easy to program, and easy to reprogram Microprocessors are sometimes: Too slow; Too big; Consume too much power; Too costly Designers that work with digital phenomena often buy an off-the-shelf microprocessor and program it.

2 Combinational Logic Circuits Logic gates – building blocks of logic circuits A digital circuit whose output depends solely on the present combination of input values is called a combinational circuit AND OR NOT Boolean Algebra Boolean algebra is a branch of mathematics that uses variables whose values can only be 1 or 0 (“true” or “false”, respectively) and whose operators, like AND, OR, NOT, operate on such variables and return 1 or 0. We can build circuits by doing math

3 Relating Boolean Algebra to Digital Design 0 1 y x x y F 1 0 F x Transistor Circuits 0 1 x y F y x Logic Gates Truth Tables

4 Example: Seat Belt Warning Light System Design circuit for warning light Sensors –s=1: seat belt fastened –k=1: key inserted –p=1: person in seat Capture Boolean equation –person in seat, and seat belt not fastened, and key inserted Convert equation to circuit Notice –Boolean algebra enables easy capture as equation and conversion to circuit w = p AND NOT(s) AND k k p s w BeltWarn

5 Boolean Algebra Notation By defining logic gates based on Boolean algebra, we can use algebraic methods to manipulate circuits –So let’s learn some Boolean algebraic methods Start with notation: Writing a AND b, a OR b, and NOT(a) is cumbersome –Use symbols: a * b, a + b, and a’ (in fact, a * b can be just ab). Original: w = (p AND NOT(s) AND k) OR t New: w = ps’k + t –Spoken as “w equals p and s prime and k, or t” –Or even just “w equals p s prime k, or t” –s’ known as “complement of s” While symbols come from regular algebra, don’t say “times” or “plus” Boolean algebra precedence, highest precedence first. Symbol Name Description ( ) Parentheses Evaluate expressions nested in parentheses first ’ NOT Evaluate from left to right * AND Evaluate from left to right + OR Evaluate from left to right

6 Boolean Algebra Properties Commutative a + b = b + a a * b = b * a Distributive a * (b + c) = a * b + a * c a + (b * c) = (a + b) * (a + c) Associative (a + b) + c = a + (b + c) (a * b) * c = a * (b * c) Identity 0 + a = a + 0 = a 1 * a = a * 1 = a Complement a + a’ = 1 a * a’ = 0

7 Boolean Algebra: Additional Properties Null elements a + 1 = 1 a * 0 = 0 Idempotent Law a + a = a a * a = a Involution Law (a’)’ = a De Morgan’s Law (a + b)’ = a’ b’ (a b)’ = a’ + b’ Example: Simplification of an automatic sliding door system f = h c’ + h’ p c’ f = c’ (h + p)

8 Boolean Functions Boolean function is a mapping of each possible combination of input values to either 0 or 1. Boolean function can be represented as an equation, a circuit, and as a truth table. F = a b + a’F = a’ b’ + a’ b + a b Converting a truth table to an equation For any function, there may be many equivalent equations, and many equivalent circuits, but there is only one truth table!

9 Multiple-Output Circuits Many circuits have more than one output Can give each a separate circuit, or can share gates Ex: F = ab + c’, G = ab + bc a b c F G (a) a b c F G (b) Option 1: Separate circuits Option 2: Shared gates

10 Multiple-Output Example: BCD to 7-Segment Converter a = w’x’y’z’ + w’x’yz’ + w’x’yz + w’xy’z + w’xyz’ + w’xyz + wx’y’z’ + wx’y’z b = w’x’y’z’ + w’x’y’z + w’x’yz’ + w’x’yz + w’xy’z’ + w’xyz + wx’y’z’ + wx’y’z