Application: Digital Logic Circuits

Slides:



Advertisements
Similar presentations
Logic Gates A logic gate is an elementary building block of a digital circuit Most logic gates have two inputs and one output At any given moment, every.
Advertisements

Logic Gates.
Logic Gates.
Computer Science 210 Computer Organization Introduction to Logic Circuits.
ECE 2373 Modern Digital System Design Exam 2. ECE 2372 Exam 2 Thursday March 5 You may use two 8 ½” x 11” pages of information, front and back, write.
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
Digital Electronics Dan Simon Cleveland State University ESC 120 Revised December 30, 2010.
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Discrete Structures Chapter 1 Part B Fundamentals of Logic Nurul Amelina Nasharuddin Multimedia Department 1.
EE1J2 – Discrete Maths Lecture 5
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
In a not gate, if the input is on(1) the output is off (0) and vice versa.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
DeMorgan Theorem, Computer Simulation Exercises
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
Digital Systems I EEC 180A Lecture 4 Bevan M. Baas.
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.
Application: Digital Logic Circuits Lecture 5 Section 1.4 Wed, Jan 24, 2007.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Circuit Design.
CHAPTER 5 Combinational Logic Analysis
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
Digital logic representation In digital logic system,events are described as either 0 or 1 Two logic states 1= logic High 0 = logic Low.
Logic Gates and Boolean Algebra Introduction to Logic II.
Circuits, Truth Tables & Boolean Algebra. Expressions Can describe circuits in terms of Boolean expression.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Logic Functions While each logical element or condition must always have a logic value of either "0" or "1", we also need to have ways to combine different.
Digital Logic.
Truth Table to Statement Form
Lecture 4 Logistics Last lecture --- Boolean algebra Today’s lecture
Logic Gates and Boolean Algebra
Transistors and Logic Circuits
Boolean Algebra & De Morgan's Theorems
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
EI205 Lecture 5 Dianguang Ma Fall 2008.
Exclusive OR Gate.
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Jeremy R. Johnson Wed. Sept. 29, 1999
ECE 331 – Digital System Design
Karnaugh Maps (K-Maps)
Computer Science 210 Computer Organization
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
CSE 311 Foundations of Computing I
UNIVERSAL GATES.
Schematics 201 Lecture Topic: Electrical Symbols
Circuits, Truth Tables & Boolean Algebra
Universal gates.
CSE 370 – Winter Combinational Logic - 1
Combinatorial Logic Circuit
Logic Gates.
JC Technology Logic Gates.
Logic Gates.
Boolean Algebra.
KS4 Electricity – Electronic systems
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates.
Digital Logic Circuits
Circuits, Truth Tables & Boolean Algebra
Instructor: Alexander Stoytchev
Copyright © Cengage Learning. All rights reserved.
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Basic Logic Operations
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Application: Digital Logic Circuits Lecture 4 Section 1.4 Mon, Jan 17, 2005

Logic Gates Three basic logic gates Two other gates AND-gate OR-gate NOT-gate Two other gates NAND-gate (NOT-AND) NOR-gate (NOT-OR)

AND-Gate Output is 1 if both inputs are 1. Output is 0 if either input is 0. p q Output 1

OR-Gate Output is 1 if either input is 1. Output is 0 if both inputs are 0. p q Output 1

NOT-Gate Output is 1 if input is 0. Output is 0 if input is 1. p

NAND-Gate Output is 1 if either input is 0. Output is 0 if both inputs are 1. p q Output 1

NOR-Gate Output is 1 if both inputs are 0. Output is 0 if either input is 1. p q Output 1

Disjunctive Normal Form A logical expression is in disjunctive normal form if It is a disjunction of clauses. Each clause is a conjunction of variables and their negations. Each variable or its negation appears in each clause exactly once.

Examples: Disjunctive Normal Form p  q  (p  q)  (p  q)  (p  q). p  q  (p  q)  (p  q). p | q  (p  q)  (p  q)  (p  q). p  q  p  q.

Conjunctive Normal Form A logical expression is in conjunctive normal form if It is a conjunction of clauses. Each clause is a disjunction of variables and their negations. Each variable or its negation appears in each clause exactly once.

Examples: Conjunctive Normal Form p  q  p  q. p  q  (p  q)  (p  q). p | q  p  q. p  q  (p  q)  (p  q)  (p  q).

Output Tables An output table shows the output of the circuit for every possible combination of inputs. Inputs Output 1

Designing a Circuit Write an output table for the circuit. Write the expression in disjunctive normal form. Simplify the expression as much as possible. Write the circuit using AND-, OR-, and NOT-gates.

Example: Designing a Circuit Design a circuit for (p  q). Inputs Output p q 1

Example: Designing a Circuit (p  q) is equivalent to p  q. Draw the circuit using an AND-gate and a NOT-gate.

Example: Designing a Circuit Design a circuit for (p  q)  (q  r). Inputs Output p q r 1

Example: Designing a Circuit (p  q)  (q  r) is equivalent to (p  q  r)  (p  q  r)  (p  q  r). Does this simplify? In any case, we can draw a circuit, although it may not be optimal.

Puzzle Three men apply for a job. They are equally well qualified, so the employer needs a way to choose one. He tells them “On the forehead of each of you I will put either a red dot or a blue dot.” “At least one of you will have a red dot.” “The first one who can tell me the color of the dot on his forehead gets the job.”

Puzzle The employer proceeds to put a red dot on each man’s forehead. After a few moments, one of them says, “I have a red dot.” How did he know?