Part 5: Digital Circuits

Similar documents
Theorem/Law/Axioms Over (.) Over (+)

Why digital? Overview. Number Systems. Binary to Decimal conversion

Boolean Algebra & Logic Gates. By : Ali Mustafa

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

12/31/2010. Overview. 05-Boolean Algebra Part 3 Text: Unit 3, 7. DeMorgan s Law. Example. Example. DeMorgan s Law

L2: Combinational Logic Design (Construction and Boolean Algebra)

L2: Combinational Logic Design (Construction and Boolean Algebra)

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Chapter 2. Boolean Algebra and Logic Gates

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

Chapter 2 : Boolean Algebra and Logic Gates

CHAPTER 3 LOGIC GATES & BOOLEAN ALGEBRA

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

Lecture 2 Review on Digital Logic (Part 1)

Possible logic functions of two variables

MC9211 Computer Organization

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

Combinational Logic Design Principles

Binary logic consists of binary variables and logical operations. The variables are

CHAPTER III BOOLEAN ALGEBRA

Combinational Logic Circuits Part II -Theoretical Foundations

Computer Organization I

Logic Gates and Boolean Algebra

Chapter 2 Boolean Algebra and Logic Gates

Review for Test 1 : Ch1 5

Chapter 2. Review of Digital Systems Design

Combinatorial Logic Design Principles

Combinational Logic (mostly review!)

CHAPTER III BOOLEAN ALGEBRA

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1

Digital Logic Design. Malik Najmus Siraj

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University

Digital Circuit And Logic Design I. Lecture 3

This form sometimes used in logic circuit, example:

for Digital Systems Simplification of logic functions Tajana Simunic Rosing Sources: TSR, Katz, Boriello & Vahid

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both).

Digital Systems and Information Part II

Gate-Level Minimization

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

Logic Design. Chapter 2: Introduction to Logic Circuits

211: Computer Architecture Summer 2016

Chapter 2 Combinational Logic Circuits

ENG2410 Digital Design Combinational Logic Circuits

Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

Chapter 2 Boolean Algebra and Logic Gates

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

CHAPTER1: Digital Logic Circuits Combination Circuits

Lecture 1. Notes. Notes. Notes. Introduction. Introduction digital logic February Bern University of Applied Sciences

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR

ECE/Comp Sci 352 Digital System Fundamentals Quiz # 1 Solutions

Chapter 2: Boolean Algebra and Logic Gates

Combinational Logic Fundamentals

Number System conversions

Unit 2 Session - 6 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits

Electronics. Overview. Introducction to Synthetic Biology

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:

CHAPTER 3 BOOLEAN ALGEBRA

Lecture 2. Notes. Notes. Notes. Boolean algebra and optimizing logic functions. BTF Electronics Fundamentals August 2014

If f = ABC + ABC + A B C then f = AB C + A BC + AB C + A BC + A B C

Contents. Chapter 2 Digital Circuits Page 1 of 30

EC-121 Digital Logic Design

Show that the dual of the exclusive-or is equal to its compliment. 7

Chapter 7 Combinational Logic Networks

Chap 2. Combinational Logic Circuits

Boolean Algebra and Logic Simplification

Boolean Algebra and Logic Gates

Digital Design 2. Logic Gates and Boolean Algebra

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

L2: Combinational Logic Design (Construction and Boolean Algebra)

New Students Day Activity

Chapter 2: Switching Algebra and Logic Circuits

UNIT 5 KARNAUGH MAPS Spring 2011

Systems I: Computer Organization and Architecture

Digital Logic Design. Combinational Logic

Signals and Systems Digital Logic System

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA (CONT.)

Digital Logic & Computer Design CS Professor Dan Moldovan Spring 2010

Week-I. Combinational Logic & Circuits

Algebraic Methods for the Analysis and Synthesis

Chapter-2 BOOLEAN ALGEBRA

EECS Variable Logic Functions

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

Minimization techniques

Boolean Algebra, Gates and Circuits

CHAPTER 2 BOOLEAN ALGEBRA

Transcription:

Characteristics of any number system are: Part 5: Digital Circuits 5.: Number Systems & Code Conversions. ase or radix is equal to the number of possible symbols in the system 2. The largest value of digit is one () less than the radix Decimal to inary Conversion: (a) Integer number: Divide the given decimal integer number repeatedly by 2 and collect the remainders. This must continue until the integer quotient becomes zero. (b) Fractional Number: Multiply by 2 to give an integer and a fraction. The new fraction is multiplied by 2 to give a new integer and a new fraction. This process is continued until the fraction becomes or until the numbers of digits have sufficient accuracy. Note: To convert a decimal fraction to a number expressed in base r, a similar procedure is used. Multiplication is by r instead of 2 and the coefficients found from the integers any range in value from to (r-). The conversion of decimal number with both integer and fraction parts separately and then combining the answers together. Don t care values or unused states in CD code are,,,,,. Don t care values or unused state in excess 3 codes are,,,,,. The binary equivalent of a given decimal number is not equivalent to its CD value. Eg. inary equivalent of 25 is equal to 2 while CD equivalent is. In signed binary numbers,ms is always sign bit and the remaining bits are used for magnitude. 7 6 5 4 3 2 Sign it Magnitude For positive and negative binary number, the sign is respectively and. Negative numbers can be represented in one of three possible ways.. Signed magnitude representation. 2. Signed s complement representation. 3. Signed 2 s complement representation. THE GTE CDEMY PVT.LTD. H.O.: #74, KeshavaKrupa (third Floor), 3 th Cross, th Main, Jayanagar 4 th lock, angalore- : 8-65775, info@thegateacademy.com Copyright reserved. Web: www.thegateacademy.com Page 5

Example: +9-9 Quick Refresher Guide Digital Circuits Signed magnitude (a) signed magnitude (b) signed s complement (c) signed 2 s complement Subtraction using 2 s complement: Represent the negative numbers in signed 2 s complement form, add the two numbers, including their sign bit and discard any carry out of the most significant bit. Since negative numbers are represented in 2 s complement form, negative results also obtained in signed 2 s complement form. The range of binary integer number of n-bits using signed s complement form is given by +(2 ) to (2 ),which includes both types of zero s i.e., + and -. The range of integer binary numbers of n-bits length by using signed 2 s complement representation is given by + (2 ) to 2 n- which includes only one type of zero i.e. +. In weighted codes, each position of the number has specific weight. The decimal value of a weighted code number is the algebraic sum of the weights of those positions in which s appears. Most frequently used weighted codes are 842, 242 code, 52 code and 84 2 code. THE GTE CDEMY PVT.LTD. H.O.: #74, KeshavaKrupa (third Floor), 3 th Cross, th Main, Jayanagar 4 th lock, angalore- : 8-65775, info@thegateacademy.com Copyright reserved. Web: www.thegateacademy.com Page 6

5.2: oolean lgebra & Karnaugh Maps oolean properties: a) Properties of ND function. X. = 2.. X = b) Properties of OR function 3. X. = X 4..X = X 5. X + = X 6. + X = X 7. X + = 8. + X = c) Combining a variable with itself or its complement 9. X.X =. X. X = X. X + X = X 2. X + X = 3. (X ) = X d) Commutative laws: 4. x. y = y. x 5. x + y = y + x e) Distributive laws: 6. x(y +z) = x.y + x.z 7. x + y. z = ( x+y) (x + z) f) ssociative laws: 8. x(y.z) = (x. y) z 9. x + ( y + z) = (x + y) +z g) bsorption laws: 2. x + xy= x 2. x(x + y) = x 22. x + x y = x+ y 23. x(x + y) = xy h) Demorgan s laws: 24. (x + y) = x.y 25. (x. y) = x + y Duality principle: It states that every algebraic expression deducible from theorems of oolean algebra remains valid if the operators and identify elements are interchanged. To get dual of an algebraic function, we simply exchange ND with OR and exchange with. The dual of the exclusive OR is equal to its complement. To find the complement of a function is take the dual of the function and complement each literal. Maxterm is the compliment of its corresponding minterm and vice versa. Sum of all the minterms of a given oolean function is equal to. Product of all the maxterms of a given oolean function is equal to oolean lgebraic Theorems Theorem No. Theorem. ( + ). ( + ) = 2. + C = ( + C)( + ) 3. ( + )( + C) = C + 4. + C + C = + C 5. ( + )( + C)( + C) = ( + )( + C) 6... C. = + + C + 7. + + C + =.. C THE GTE CDEMY PVT.LTD. H.O.: #74, KeshavaKrupa (third Floor), 3 th Cross, th Main, Jayanagar 4 th lock, angalore- : 8-65775, info@thegateacademy.com Copyright reserved. Web: www.thegateacademy.com Page 7

Karnaugh Maps (K maps) map is a diagram made up of squares. Each square represents either a minterm or a maxterms. The number of squares in the karnaugh map is given by 2 where n = number of variable. Gray code sequence is used in K map so that any two adjacent cells will differ by only one bit. Number of variables 4 2 3 No. of cells containing s grouped No. of variables eliminated No. of literals present in the resulting term 4 2 2 2 8 3 4 2 2 2 3 6 4 8 3 4 2 2 2 3 4 THE GTE CDEMY PVT.LTD. H.O.: #74, KeshavaKrupa (third Floor), 3 th Cross, th Main, Jayanagar 4 th lock, angalore- : 8-65775, info@thegateacademy.com Copyright reserved. Web: www.thegateacademy.com Page 8

5.3: Logic Gates OR, ND, NOT are basic gates NND and NOR gates are called Universal gates because, by using only NND gates or by using only NOR gates we can realize any gate or any circuit. EXOR, EXNOR are arithmetic gates. There are two types of logic systems ) Positive level logic system (PLLS) : Out of the given two voltage levels, the more positive value is assumed as logic and the other as logic. 2) Negative level logic system (NLLS):out of the given two voltage levels, the more negative value is assumed as logic and the other as logic. NOT gate:- Truth Table Y Symbol Y= +V CC Y= ND gate: Truth Table Y Y = V CC Y OR gate: Y Y = + Y NND gate: Y Y = THE GTE CDEMY PVT.LTD. H.O.: #74, KeshavaKrupa (third Floor), 3 th Cross, th Main, Jayanagar 4 th lock, angalore- : 8-65775, info@thegateacademy.com Copyright reserved. Web: www.thegateacademy.com Page 9

NOR gate: Y Quick Refresher Guide Digital Circuits The circuit, which is working as ND gate with positive level logic system, will work as OR gate with negative level logic system and vice-versa. The circuit which is behaving as NND gate with positive level logic system will behave as NOR gate with negative level logic system and vice versa. Exclusive OR gate (X OR): The output of an X OR gate is high for odd number of high inputs. Y Y = = + Exclusive NOR gate (X NOR): The output is high for odd number of low inputs. (OR) The output is high for even number of high inputs. Y Realization of asic gates using NND and NOR gates: Y = + Y = = +. NOT gate NND NOR Y = Y = (. ) = Y = (.) = ( + ) = Y = ( + ) = 2. ND gate Y = Y = Y = 3. OR gate: Y =+ Y = + Y = + THE GTE CDEMY PVT.LTD. H.O.: #74, KeshavaKrupa (third Floor), 3 th Cross, th Main, Jayanagar 4 th lock, angalore- : 8-65775, info@thegateacademy.com Copyright reserved. Web: www.thegateacademy.com Page 2