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

Similar documents
Fundamentals of Digital Design

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Digital Logic (2) Boolean Algebra

Combinational Logic. By : Ali Mustafa

UNIT II COMBINATIONAL CIRCUITS:

CHAPTER1: Digital Logic Circuits Combination Circuits

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Cs302 Quiz for MID TERM Exam Solved

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Boolean Algebra, Gates and Circuits

SAMPLE ANSWERS MARKER COPY

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

EEE130 Digital Electronics I Lecture #4

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Lecture 2 Review on Digital Logic (Part 1)

Systems I: Computer Organization and Architecture

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Chapter 2 Combinational Logic Circuits

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

KP/Worksheets: Propositional Logic, Boolean Algebra and Computer Hardware Page 1 of 8

Save from: cs. Logic design 1 st Class أستاذ المادة: د. عماد

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

2 Application of Boolean Algebra Theorems (15 Points - graded for completion only)

Unit 3 Session - 9 Data-Processing Circuits

ELCT201: DIGITAL LOGIC DESIGN

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

MC9211 Computer Organization

Sample Test Paper - I

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

211: Computer Architecture Summer 2016

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

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

Please read carefully. Good luck & Go Gators!!!

ELCT201: DIGITAL LOGIC DESIGN

Chapter 2. Digital Logic Basics

Review: Additional Boolean operations

CSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

Chapter 7 Logic Circuits

Function of Combinational Logic ENT263

Digital Techniques. Figure 1: Block diagram of digital computer. Processor or Arithmetic logic unit ALU. Control Unit. Storage or memory unit

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

Philadelphia University Student Name: Student Number:

PART-A. 2. Expand ASCII and BCD ASCII American Standard Code for Information Interchange BCD Binary Coded Decimal

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

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

CSEE 3827: Fundamentals of Computer Systems. Combinational Circuits

Review for Test 1 : Ch1 5

Digital Logic Design ENEE x. Lecture 14

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Switches: basic element of physical implementations

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

Boolean Algebra and Logic Simplification

Lecture 22 Chapters 3 Logic Circuits Part 1

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Hakim Weatherspoon CS 3410 Computer Science Cornell University

Combinational Logic. Review of Combinational Logic 1

PG - TRB UNIT-X- DIGITAL ELECTRONICS. POLYTECHNIC-TRB MATERIALS

CS/COE0447: Computer Organization and Assembly Language

Boolean Algebra & Logic Gates. By : Ali Mustafa

1 Boolean Algebra Simplification

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

CSC9R6 Computer Design. Practical Digital Logic

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

Building a Computer Adder

CHAPTER 7. Exercises 17/ / /2 2 0

10/14/2009. Reading: Hambley Chapters

COMBINATIONAL LOGIC FUNCTIONS

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

COMBINATIONAL LOGIC CIRCUITS. Dr. Mudathir A. Fagiri

DIGITAL LOGIC CIRCUITS

Logic. Combinational. inputs. outputs. the result. system can

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Philadelphia University Faculty of Engineering

Floating Point Representation and Digital Logic. Lecture 11 CS301

Boolean Algebra. Philipp Koehn. 9 September 2016

Experiment 7: Magnitude comparators

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

DIGITAL LOGIC CIRCUITS

MODULAR CIRCUITS CHAPTER 7

CprE 281: Digital Logic

DIGITAL LOGIC CIRCUITS


Numbers and Arithmetic

DE58/DC58 LOGIC DESIGN DEC 2014

Chap 2. Combinational Logic Circuits

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

ECE 2300 Digital Logic & Computer Organization

Computer Science Final Examination Friday December 14 th 2001

Computer Organization: Boolean Logic

Chapter 2: Switching Algebra and Logic Circuits

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design Boolean Algebra, Logic Gates

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date.

Transcription:

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

BOOLEAN ALGEBRA

BOOLEAN LOGIC OPERATIONS Logical AND Logical OR Logical COMPLEMENTATION (NOT)

Logical AND A B Y = A.B 0 0 0 0 1 0 1 0 0 1 1 1 x y xy

Logical OR A B Y = A+B 0 0 0 0 1 1 1 0 1 1 1 1

Logical COMPLEMENTATION (NOT) A Y 0 1 x X 1 0

Laws of Boolean Algebra Commutative Laws Associative Laws Distributive Law

Commutative Laws of Boolean Algebra

Associative Laws of Boolean Algeb

Distributive Laws of Boolean Algebra

Rules of Boolean Algebra

DeMorgan s Theorems

SUM OF PRODUCTS The logical sum of two or more logical product terms is called sum of products. It is basically an OR operation of AND operated variables such as: Y = AB +BC + AC Y= AB +A C + BC

PRODUCTS OF SUM A Product of sum expression is a logical product of two or more logical sum terms. It is basically and AND operation of OR operated variables such as: Y = (A+B)(B+C)(C+A )

Karnaugh Maps Examples

NAND GATE A (AB) B A B Y = (A.B) 0 0 1 0 1 1 1 0 1 1 1 0

NOR GATE A B (AB) A B Y = (A+B) 0 0 1 0 1 0 1 0 0 1 1 0

Universal Gates NAND and NOR gates are called universal gates because both can be used to implement any gate like AND,OR and NOT gate or any combination of these basic gates.

A Y = A.A = A REALISATION OF NOT GATE A B (AB) Y = AB REALISATION OF AND GATE

REALISATION OF OR GATE A Y = A Y = A+B B Y = B Y = (A.B ) = (A ) (B ) = A+B

REALISATION OF NOR GATE A A A+B B B Y = (A+B)

REALISE NOT, OR, AND, NAND GATES USING NOR GATES

EXCLUSIVE OR GATE Input A Input B Output Q 0 0 0 0 1 1 1 0 1 1 1 0

XOR gate constructed using only NAND gates XOR gate constructed using only NOR gates

EX-NOR (EXclusive-NOR) gate Input A Input B Output Q 0 0 1 0 1 0 1 0 0 1 1 1

Digital System consists of two types of circuits 1. Combinational Logic Circuit 2. Sequential Logic Circuit In Combinational circuit, the output at any time depends on the input values at that time In a Sequential circuit, the output at any time depends on the present input values as well as the past output values

A half-adder is a circuit that accepts two binary inputs, A and B, and computes their sum, S, and their carry-out C o. Half Adder Inputs A B HALF ADDER Output SUM CARRY Logic symbol

A Sum B Carry Logic Diagram

Truth Table of half adder Inputs Outputs A B SUM CARRY S C 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1

Using NAND GATES A Sum A (AB) S = A B+AB B Carry C = AB

FULL ADDER A full adder is a circuit that adds two binary inputs plus a carry-in and produces the binary sum and a carry-out. INPUTS OUTPUTS C IN S A Full-adder B C OUT Logic Symbol

Symbol using two half adder INPUTS OUTPUTS C IN A2A S2S SUM Half-adder A A1A S1 S B2B C C2 o Half-adder C OUT B B1B C1 C o

A B Cin BCin ACin CARRY AB SUM LOGIC DIAGRAM

Inputs Outputs A B Cin SUM S Cout 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 Truth Table

Combinational Circuits Combinational logic circuits are circuits in which the output at any time depends upon the combination of the input signals present at that instant only, and does not depends upon any past conditions

Multiplexers ( Data Selectors ) The term multiplex means many to one. Multiplexing is the process of transmitting a large number of information over a single line. A digital multiplexer is a combinational circuit that select one digital information from several sources and transmits the selected information on a single output line. Multiplexer is also called a data selector since it selects one to many inputs and steers the information to the output.

Multiplexer has several data-input lines and a single output line. Selection of a particular input line is controlled by a set of selection lines. Number of n input lines is equal to 2 m, then m select lines are required to select one of the n input lines. For ex: to select 1 out of 4 input lines, two select lines are required; to select 1 to 8 input lines, three select lines are required.

m Output Signals...... n INPUT SIGNALS........ MULTIPLEXER 1 Output Signals BLOCK DIAGRAM OF MULTIPLEXER

BASIC FOUR-INPUT MULTIPLEXER Data Select Inputs Output DATA INPUTS D0 D1 D2 D3 4-to-1 Mux S 1 S 0 F DATA OUTPUT S1 S0 Y 0 0 D 0 0 1 D 1 1 0 D 2 SELECT INPUTS 1 1 D 3 Logic Symbol Truth Table of 4 to 1 multiplexer

Logic Diagram S1 S0 D0 F D1 D2 D3

The logic symbol of a 4 to 1 multiplexer has four data input lines (D 0 - D 3 ) and a select output line (Y) and two select lines (S0 and S1) to select four input lines. The data output Y = D0, if and only if S1= 0 and S0 = 0 Y = D 0 S1 S0 ------ S1= 0 and S0 = 0 Y = D1 S1 S0------ S1= 0 and S0 = 1 Data Select Inputs Output S1 S0 Y 0 0 D 0 0 1 D 1 1 0 D 2 1 1 D 3

8 to 1 Multiplexer 16 to 1 Multiplexer

Decoder Computer is a digital system which requires decoding of the data. A decoder is a logic circuit which converts an n-bit binary input code into 2^n output lines, such that each output line will be activated for only one of the possible combination of inputs

The truth table of 3-to-8 Decoder A2 A1 A0 D0 D1 D2 D3 D4 D5 D6 D7 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1

3-to-8 Decoder