Faculty of Cybernetics, Statistics and Economic Informatics

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Boolean Algebra and Logic Gates
Combinational Logic Circuits Chapter 2 Mano and Kime.
Chapter 2 Logic Circuits.
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
Boolean Algebra and Logic Gates1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Chapter 2: Boolean Algebra and Logic Functions
Boolean Algebra Computer Organization 1 © McQuain Boolean Algebra A Boolean algebra is a set B of values together with: -two binary operations,
Chapter 2 Boolean Algebra and Logic Gates
Logical Circuit Design
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.
Boolean Algebra and Logic Gates CE 40 B 18 June 2003.
1 Logic Gates Digital Computer Logic Kashif Bashir WWW:
ECE 331 – Digital System Design
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Logic Design Dr. Yosry A. Azzam.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
Venn Diagram – the visual aid in verifying theorems and properties 1 E.
Discrete Mathematics CS 2610 February 12, Agenda Previously Finished functions Began Boolean algebras And now Continue with Boolean algebras.
Discrete Mathematics CS 2610 September Equal Boolean Functions Two Boolean functions F and G of degree n are equal iff for all (x 1,..x n )  B.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
BOOLEAN ALGEBRA Kamrul Ahsan Teacher of
Binary Logic and Gates Boolean Algebra Canonical and Standard Forms Chapter 2: Boolean Algebra and Logic Gates.
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 9 Boolean Algebras and Combinatorial Circuits.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Logic Design (CE1111 ) Lecture 2 (Chapter 2) Prepared by Dr. Lamiaa Elshenawy 1.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
Boolean Algebra.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
CHAPTER 2 Boolean algebra and Logic gates
Boolean Algebra and Logic Gates COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals.
Hoda Roodaki Boolean Algebra Hoda Roodaki
ECE 301 – Digital Electronics
Chapter 11 (Part 1): Boolean Algebra
De Morgan’s Theorem,.
Chapter 2: Boolean Algebra and Logic Functions
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra This chapter in the book includes:
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
Boolean Algebra A Boolean algebra is a set B of values together with:
Boolean Algebra A Boolean algebra is a set B of values together with:
ECE 331 – Digital System Design
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Boolean Algebra Why study Boolean Algebra?
CSE 311 Foundations of Computing I
17-Nov-18 Logic Algebra 1 Combinational logic.
Discrete Mathematics CS 2610
INTRODUCTION TO LOGIC DESIGN Chapter 2 Boolean Algebra and Logic Gates
COE 202: Digital Logic Design Combinational Logic Part 2
Boolean Algebra.
Lecture 14: Boolean Algebra
Chapter 2 Boolean Algebra and Logic Gate
January 19 W’05 Yutao He 4532B Boelter Hall CSM51A/EEM16-Sec.1 W’05
CSC 220: Computer Organization Logic Gates and Functions
Chapter 2 Introduction to Logic Circuits
Logic Circuits I Lecture 3.
Digital Logic Chapter-2
Instructor: Alexander Stoytchev
Digital Logic Chapter-2
Digital Systems Section 3 Boolean Algebra. Digital Systems Section 3 Boolean Algebra.
Boolean Algebra.
Presentation transcript:

Faculty of Cybernetics, Statistics and Economic Informatics 2/24/2019 IT Basics 6 Răzvan Daniel Zota Faculty of Cybernetics, Statistics and Economic Informatics BUES http://zota.ase.ro/itb 24-Feb-19

Computers’ Logic Basics – An Introduction VLSI (Very Large Scale Integration) It represents the manufacturing process of an IC (integrated circuit) by combining thousands and hundreds of thousands of logical gates (transistors) on a single silicon chip. The microprocessor is a VLSI equipment The beginnings of VLSI: ‘70 24-Feb-19

Computers’ Logic Basics – An Introduction ULSI (Ultra Large Scale Integration) – chips with more than 1 million components For example, one Intel® Xeon Core i7 E3 Broadwell may have 3.2 billions transistors on a die of only 133 mm2 24-Feb-19

The exponential growth in computing power! 24-Feb-19 Source: http://content.time.com/time/interactive/0,31813,2048601,00.html

Gordon Moore’ Law 24-Feb-19

Introduction Digital components Digital electronics (+5V, -5V), (0V, -5V), (0V, +5V) 0 and 1 can be represented by +5V and -5V, or 0V and -5V, or 0V and +5V 24-Feb-19

Introduction Boole’s algebra Basic operations: Disjunction (OR) Conjunction (AND) Negation 24-Feb-19

Truth tables – disjunction, conjunction, negation p q p  AND  q T F p q p  OR q T F p ~ p T F 24-Feb-19

Boole’s algebra – fundamental theorems 1. Identities and null elements: There is element 0 (zero) as prime element with the properties: x0=0 and x0=x There is element 1 (one) denoted last element with the properties: x1=x and x1=1 2. Uniqueness: Element 1 is unique Element 0 is unique 3. Complements - for every x in K there is a unique element x such that: 24-Feb-19

Boole’s algebra – fundamental theorems (cont.) 4. Double negation theorem: 5. Absorption theorems: x (x  y)=x x (x  y)=x 6. De Morgan theorems: 24-Feb-19

Boole’s algebra – fundamental theorems (cont.) 7. Idempotency: xx…x = x xx…x = x 8. Commutativity, associativity and distributivity: xy = y x x (y z)=(x y) z x (y  z)=(x y)  (x z) x  y=y  x x (y z)=(x  y) z x (y  z)=(x y) (x z) 24-Feb-19

Boolean functions: existence and uniqueness 24-Feb-19

Primary definitions We call an elementary product/elementary sum a product/sum of variables and/or their negations We call disjunctive canonical form (DCF) of a logical relation, an equivalent relation (with the same truth value) which is a sum of elementary products constructed with the same variables as the initial relation, each product containing all variables (in normal or complementary form) 24-Feb-19

Primary definitions We call conjunctive canonical form (CCF) of a logical function, an equivalent relation (with the same truth value) which is a product of elementary sums constructed with the same variables as the initial relation, each sum containing all the possible variables (in normal or complementary form) 24-Feb-19

DCF for one variable function Let be a boolean function with one variable and a,b two boolean constants 24-Feb-19

CCF for one variable function 24-Feb-19

Proof of existence (DCF) 24-Feb-19

Proof of existence (CCF) 24-Feb-19

DCF for two variables function Let be A boolean function with two variables and a,b,c,d boolean constants 24-Feb-19

CCF for a function with two variables 24-Feb-19

Proof of existence for DCF 24-Feb-19

Proof of existence for CCF 24-Feb-19

Truth tables 1 We can associate any logic function with a truth table 1 24-Feb-19

Truth tables (cont.) Reciprocally, if we have a truth table we may determine the logic function 24-Feb-19

Truth tables (cont.) 24-Feb-19

Truth tables (cont.) 24-Feb-19

Logical functions representation Canonical forms: Minterm form (DCF –disjunctive canonical form) – SUM of products – variables or their complements in a minterm are connected by boolean operation AND, and the minterms are connected by OR. Maxterm form (CCF –conjunctive canonical form) – PRODUCT of sums – variables or their complements in a maxterm are connected by OR, and maxterms are connected by AND. Another form of representation of a boolean function is the graphical one, using Venn diagrams 24-Feb-19

Venn diagram example A Venn diagram is a schematic diagram used in logic theory to depict collections of sets and represent their relationships. 24-Feb-19

Minterms/maxterms for a function with two variables Two variable function x y Minterms mi Maxterms Mi 1 24-Feb-19

Minterms/maxterms for a function with three variables Three variable function x y z Minterms mi Maxterms Mi 1 24-Feb-19

Minterms/maxterms - properties Minterms are formed by the combination of the variables (or its’ complements) for which the function has the value of 1. Maxterms are formed by the combination of the variables (or its’ complements) for which the function has the value of 0. 24-Feb-19

Minterms/maxterms - properties (cont.) P1. The logic product between two terms mi and mj (i # j) of a logic function of n variables has the value of zero: P2. The logic sum between two terms Mi and Mj (i # j) of a logic function of n variables has the value of 1: 24-Feb-19

Minterms/maxterms - properties (cont.) P3. A logic function of n variables may be represented by a logic sum of minterms mi (respectively, by a logic product of maxterms Mi): 24-Feb-19

Minterms/maxterms - properties (cont.) P4. The complement of a logic function of n variables written in CCF may be expressed uniquely using the relation: 24-Feb-19

Minterms/maxterms - properties (cont.) P5. If a logic function of n variables written in DCF is containing 2n distinct terms of n variables then it is equal with 1. In the same conditions, if the function is written in CCF, then it is equal with 0. 24-Feb-19

Minterms/maxterms - properties (cont.) P6. Any minterm mi of a logic function of n variables written in DCF is equal with the logic product of 2n-1 Mj terms, respectively any maxterm Mi of a logic function of n variables written in CCF is equal with the logic sum of 2n-1 mj terms: 24-Feb-19

Logic functions of 2 variables In the case of the 2 variable logic functions we may have the following canonical forms: From here, it results 16 two-variable functions, in the minterm/maxterm formats, considering the 16 possible combinations for 24-Feb-19

2 variables logic functions 2/24/2019 2 variables logic functions 24-Feb-19

2 variables logic functions (cont.) 24-Feb-19

Logic function representation in DCF - example 24-Feb-19