DIGITAL LOGIC ELECTRICITY, GATES, COMPONENTS. DIGITAL LOGIC READING: APPENDIX C THROUGH C.3 The Student shall be able to: Define voltage, current, resistance,

Slides:



Advertisements
Similar presentations
L14: Boolean Logic and Basic Gates
Advertisements

Programming Logic Gate Functions in PLCs
Logical Design.
Combinational Circuits ENEL 111. Common Combinationals Circuits NAND gates and Duality Adders Multiplexers.
Appendix B Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Chapter 11_1 (chap 10 ed 8) Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean.
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.
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 Gates and Circuits.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Digital Design - Combinational Logic Design Chapter 2 - Combinational Logic Design.
ITEC 352 Lecture 5 Low level components(3). Low level components Review Multiplexers Demultiplexer Minterm/Maxterm Karnaugh Map.
Decoders and Multiplexers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
Logic Gates. Transistors as Switches ¡EB voltage controls whether the transistor conducts in a common base configuraiton. ¡Logic circuits can be built.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
Binary Addition Section 4.5. Binary Addition Example.
Logic Design A Review. Binary numbers Binary numbers to decimal  Binary 2 decimal  Decimal 2 binary.
CPS120: Introduction to Computer Science
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
The Digital Logic Level
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Digital Logic. 4 Why is 32-bit or 64-bit significant in terms of speed, efficiency? 4 Difference between OR and XOR 4 What is a mux for? PLA 4 Two kinds.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
IT253: Computer Organization Lecture 7: Logic and Gates: Digital Design Tonga Institute of Higher Education.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
1 Lecture 6 BOOLEAN ALGEBRA and GATES Building a 32 bit processor PH 3: B.1-B.5.
1 ENGG 1015 Tutorial Digital Logic (II) (70 pages) 15 Oct Learning Objectives  Learn about Boolean Algebra (SoP/PoS, DrMorgan's Theorem, simplification),
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals.
Chapter 3 Digital Logic Structures
Gates AND, OR, NOT NAND, NOR Combinational logic No memory A set of inputs uniquely and unambiguously specifies.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
K-maps and Decoders Prof. Sin-Min Lee Department of Computer Science.
Full Adders Vector Notation Multiplexers and Decoders Ellen Spertus MCS 111 September 6, 2001.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
ECE 3130 Digital Electronics and Design
Logic Gates and Boolean Algebra
Transistors and Logic Circuits
DIGITAL LOGIC CIRCUITS
Logic Gates, Boolean Algebra and Karnaugh Maps
Digital Logic.
Combinational Circuit Design
DIGITAL LOGIC CIRCUITS
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
BASIC & COMBINATIONAL LOGIC CIRCUIT
Boolean Algebra.
Week 7: Gates and Circuits: PART II
Logic Gates.
Digital Logic.
Chapter 10.3 and 10.4: Combinatorial Circuits
Electronics for Physicists
Special Gates Combinational Logic Gates
Principles & Applications
ECE 120 Midterm 2 HKN Review Session.
Presentation transcript:

DIGITAL LOGIC ELECTRICITY, GATES, COMPONENTS

DIGITAL LOGIC READING: APPENDIX C THROUGH C.3 The Student shall be able to: Define voltage, current, resistance, volts, amps, ohms. Recite ohm’s law Draw the symbol for AND, OR, XOR, NAND, NOR, NOT. Write mathematical statements using AND, OR, XOR, NOT. Prepare a truth table. Prepare a truth table for AND, OR, XOR, NOT. Design a circuit using Sum of Products. Design an efficient solution using a Karnaugh Map or K-Map. Define decoder, multiplexor, parity, adder, and recognize their circuit diagrams. Design a circuit with Logic Circuit

ELECTRICITY Voltage = Depth Current = Speed Resistance = Work or Obstructions voltage current resistance

RESISTANCE: MEASURED IN OHMS Ω

Voltage => Volts = V Current => Amperes = Amps = A Resistance => Ohms = Ω ELECTRICITY: NOTATION

Voltage = Current * Resistance (V=IR) Resistance = Voltage/Current (R=V/I) Example: Given: Voltage = 10 V Resistance = 1k Ω What is Current? Current = I = V/R = 10/1000 = 1/100 = 0.01 A =10 mAmps OHM’S LAW: V=IR

ELECTRONIC BREADBOARD

Notch = Direction VCC =Power GND = Ground 4 NAND Gates DIP Package A DIGITAL LOGIC CHIP

OR, AND, NOT

AND: ∙ & EXAMPLE: 1 ∙ 0 = 0 ◦ Truth Table

OR: + EXAMPLE: = 1 Clock Alternates – Truth Table

XOR EXAMPLE: 1 XOR 0 = 1 Clock Alternates – XOR Truth Table

ADDITIONAL ELECTRONIC GATES

LED DISPLAY TopBottom Left Top RightTop Left Bottom RightMiddle BottomPeriod

BUILDING DIGITAL COMPONENTS Multiplexor Adder Decoder

MULTIPLEXER - DEMULTIPLEXER Multiplexer Demultiplexer selector

MULTIPLEXER: SELECTS ONE INPUT A B S How is the solution provided mathematically? Out

MULTIPLEXER: SELECTS ONE INPUT A B S Out Out = (A  !S) + (B  S)

A, B: Input bits S: Sum S = A XOR B C: Carry C = A & B Notice there is no Carry-in HALF ADDER

FULL ADDER

ENCODER - DECODER Encoder Decoder Input Output

DECODER Decoder InputOutput

DECODER: SUMS OF PRODUCT SOLUTION InputOutput

DESIGNING A CIRCUIT 1.Define the Truth Table 2.Write Sum of Products 3.Optimize 4.Develop circuit Example: Parity

PARITY Used in Data Communications, RAID disk systems Even Parity Example: Each Byte sums to even number of 1-bits > > > > ? Odd Parity Example: Each 3 bits sums to odd number of 1-bits 00-> > 0 11-> ? Enables ERROR CHECKING, Sometimes ERROR CORRECTION

STEP 1: PROVIDE TRUTH TABLE EVEN PARITY: OUTPUT ASSURES EVEN 1 DIGITS Input1Input2Input

STEP 2: WRITE SUM OF PRODUCTS

STEP 3: OPTIMIZE LAWS Commutative Law: A+B = B+A AB = BA Associative Law: A+(B+C)=(A+B)+C A(BC) = (AB)C Distributive Law: A(B+C) = AB + AC BOOLEAN ALGEBRA

STEP 4: DEVELOP CIRCUIT … LOGIC CIRCUIT

Green = 01 Yellow = 10 Red = 00 Succession: Green 01 -> Yellow 10 Yellow 10 -> Red 00 Red 00 -> Green 01 TRAFFIC LIGHT

TRAFFIC LIGHT: DESIGN STEP 1: PROVIDE TRUTH TABLE IN0IN1OUT0OUT STEP 2: WRITE SUM OF PRODUCTS

OPTIMIZATION: KARNAUGH MAPS (K-MAPS) AN OPTIMIZATION TECHNIQUE

TRAFFIC LIGHT: DESIGN STEP 1: PROVIDE TRUTH TABLE IN0IN1OUT0OUT STEP 2: DEVELOP K-MAP Out Out

COMPARISON: TRUTH TABLE VS. K-MAP TRUTH TABLE Left columns: Input Right columns: Output KARNAUGH MAP IN0IN1OUT0OUT Out

CD AB SOLVING A K-MAP WITH 4 INPUTS

Input 1 Input 2 Input EVEN PARITY: OUTPUT ASSURES EVEN 1 DIGITS CONVERT TO K-MAP

EVEN PARITY: OUTPUT ASSURES EVEN 1 DIGITS ANALYZE K-MAP

OPTIMIZED PARITY IMPLEMENTATION OPTIMIZED: 6 GATES; ORIGINAL 8 GATES:

CONCLUSION DEFINITIONS Electricity: V = I R Symbols: AND, OR, NOR, XOR, NAND, NOR Equation Form Gate Form Components: Multiplexer, Decoder, Parity, Adder DESIGNING LOGIC 1.Define Truth Table 2.Analyze  Write Sum of Products  Use Karnaugh Map  Optimize in other ways 3.Develop Circuit