President UniversityErwin SitompulDigital Systems 4/1 Lecture 4 Digital Systems Dr.-Ing. Erwin Sitompul President University

Slides:



Advertisements
Similar presentations
Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Advertisements

Logic Gates.
CT455: Computer Organization Logic gate
Chapter 2 Logic Circuits.
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.
Boolean Algebra and Combinational Logic
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 331 – Digital System Design
Lecture 20, Slide 1EECS40, Fall 2004Prof. White Lecture #20 ANNOUNCEMENT Midterm 2 Thursday Nov. 18, 12:40 – 2:00 pm A-L initials in F295 Haas Business.
CS 151 Digital Systems Design Lecture 7 More Logic Functions: NAND, NOR, XOR.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
10/25/2004EE 42 fall 2004 lecture 231 Lecture #23 Synthesis Next week: Converting gates into circuits.
ECE 301 – Digital Electronics Boolean Algebra and Standard Forms of Boolean Expressions (Lecture #4) The slides included herein were taken from the materials.
ECE 331 – Digital System Design Multi-level Logic Circuits and NAND-NAND and NOR-NOR Circuits (Lecture #8) The slides included herein were taken from the.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
Boolean Algebra and Logic Simplification
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
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.
Logic Function Optimization. Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh.
DeMorgan Theorem, Computer Simulation Exercises
Digital Logic Basics Chapter 2 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 
ECE 331 – Digital System Design
ECE 331 – Digital System Design NAND and NOR Circuits, Multi-level Logic Circuits, and Multiple-output Logic Circuits (Lecture #9) The slides included.
Digital Electronics Lecture 4 Simplification using Boolean Algebra, Combinational Logic Circuit Design.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
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.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
Gate-Level Minimization
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
ETE 204 – Digital Electronics
CH51 Chapter 5 Combinational Logic By Taweesak Reungpeerakul.
COE 202: Digital Logic Design Combinational Logic Part 4
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
Brief Introduction to Boolean Algebra We can use transistors to build AND, OR, NAND, NOR, and Invertors Manufacturing is simplified with NAND/NOR NAND/NOR.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 4 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
1 Digital Logic Design Week 5&6 cont’d Revision for Quiz 2/Exam.
Logic Gates Ghader Kurdi Adapted from the slides prepared by DEPARTMENT OF PREPARATORY YEAR.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
President UniversityErwin SitompulDigital Systems 7/1 Lecture 7 Digital Systems Dr.-Ing. Erwin Sitompul President University
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
Lecture 07 Digital logic By Amr Al-Awamry. 4 variables K-Map.
CHAPTER 13 Digital Logic Circuits. Figure Voltage analog of internal combustion engine in-cylinder pressure Figure 13.1.
Eng. Mai Z. Alyazji October, 2016
Digital Fundamentals Floyd Chapter 5 Tenth Edition
ECE 331 – Digital System Design
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Combinational Logic Design Process
Circuits, Truth Tables & Boolean Algebra
Universal gates.
Combinatorial Logic Circuit
Example Question: Consider the expressions: (a) F = XY + XY'
CSE 370 – Winter Combinational Implementation - 1
Reading: Hambley Ch. 7 through 7.5
13 Digital Logic Circuits.
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Circuits, Truth Tables & Boolean Algebra
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Chapter 5 Combinational Logic Analysis
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

President UniversityErwin SitompulDigital Systems 4/1 Lecture 4 Digital Systems Dr.-Ing. Erwin Sitompul President University

President UniversityErwin SitompulDigital Systems 4/2 Terms in Digital Logic Design Synthesis: the design of a new circuit that implements a desired function and behavior. Analysis: the task of determining the function and behavior of an existing circuit. LectureDigital Systems

President UniversityErwin SitompulDigital Systems 4/3 Example of Synthesis Given the following truth table, design the circuit LectureDigital Systems From the truth table, we now write the Sum-of-Product: Y 1 = A’B’ + A’B + AB We can now create the logic circuit: ● 1 st possibility

President UniversityErwin SitompulDigital Systems 4/4 LectureDigital Systems Example of Synthesis We can simplify the Boolean expression and obtain different synthesis result: Y 2 = A’B’ + A’B + AB Y 2 = A’(B’ + B) + AB(Distributive) Y 2 = A’ + AB(Complement) Y 2 = A’ + B(Elimination) ● 2 nd possibility

President UniversityErwin SitompulDigital Systems 4/5 Logic circuits should be implemented by using as few as logic gates as possible. Optimal implementation will directly affect speed, resource, and power consumption. One formula of how to calculate cost is: Cost = Σ(gates) + Σ(gate inputs) From previous pages, Cost of Y 1 = = 17 Cost of Y 2 = = 5 Minimum Cost Realization LectureDigital Systems

President UniversityErwin SitompulDigital Systems 4/6 Minimum Cost Realization Neither SoP nor PoS guarantee a minimum cost implementation. In stead of these two-level forms, in some cases a multi-level form is better. In practice, any circuit can be implemented only by using NAND and NOR Gates. NAND and NOR Gates provide higher speed, require less power, and can be built with less number of transistors. LectureDigital Systems Nevertheless, SoP and PoS are the basis for development of circuit minimization methods. Converting from SoP and PoS to NAND and NOR circuits is straightforward and easy.

President UniversityErwin SitompulDigital Systems 4/7 Minimum Cost Realization LectureDigital Systems A formula to calculate cost may include the following factors: Number of gates Number of gate inputs Number of transistors Area of the circuit Routing / wiring cost Critical path delay Minimum cost realization can be done by using several methods: Boolean algebra simplification Karnaugh map Quine-McCluskey algorithm NAND/NOR equivalent

President UniversityErwin SitompulDigital Systems 4/8 Example: Minimum Cost Realization LectureDigital Systems

President UniversityErwin SitompulDigital Systems 4/9 LectureDigital Systems Functional Completeness A set of Boolean operators is called functionally complete if the set can be used to express all possible logic functions by combining members of the set. Some sets of logic operators with functional completeness are: AND and NOT OR and NOT NAND NOR

President UniversityErwin SitompulDigital Systems 4/10 NAND and NOR Gates LectureDigital Systems ● NAND Gates ● NOR Gates

President UniversityErwin SitompulDigital Systems 4/11 NAND and NOR Gates: Inverter LectureDigital Systems ● Check the truth table of the (tied-together 2-input NAND and NOR Gates ? X X X

President UniversityErwin SitompulDigital Systems 4/12 NAND and NOR Gates: De Morgan’s Theorem LectureDigital Systems X Y X Y X Y X Y X Y X Y (X · Y)’ = X’ + Y’ (X + Y)’= X’ · Y’ ● NAND Gates ● NOR Gates

President UniversityErwin SitompulDigital Systems 4/13 Completeness of NAND Gate Any Boolean function can be implemented using NAND Gates only. NOT Gate  NAND Gate, with 2 inputs tied together. AND Gate  NAND Gate, followed by NOT Gate OR Gate  NAND Gate, preceded by NOT Gates LectureDigital Systems

President UniversityErwin SitompulDigital Systems 4/14 Completeness of NOR Gate LectureDigital Systems Any Boolean function can be implemented using NOR Gates only. NOT Gate  NOR Gate, with 2 inputs tied together. OR Gate  NOR Gate, followed by NOT Gate AND Gate  NOR Gate, preceded by NOT Gates

President UniversityErwin SitompulDigital Systems 4/15 Using NAND Gates to Implement an SoP LectureDigital Systems x 1 x 2 x 3 x 4 x 5 x 1 x 2 x 3 x 4 x 5 x 1 x 2 x 3 x 4 x 5

President UniversityErwin SitompulDigital Systems 4/16 Using NOR Gates to Implement a PoS LectureDigital Systems x 1 x 2 x 3 x 4 x 5 x 1 x 2 x 3 x 4 x 5 x 1 x 2 x 3 x 4 x 5

President UniversityErwin SitompulDigital Systems 4/17 Example: Realization with NAND Gates LectureDigital Systems For the following SoP circuit, make a circuit realization that only uses NAND Gates. x1x1 x3x3 x2x2 F F x1x1 x3x3 x2x2 F x1x1 x3x3 x2x2

President UniversityErwin SitompulDigital Systems 4/18 F x1x1 x3x3 x2x2 Example: Realization with NOR Gates LectureDigital Systems For the following PoS circuit, make a circuit realization that only uses NOR Gates. F x1x1 x3x3 x2x2 F x1x1 x3x3 x2x2

President UniversityErwin SitompulDigital Systems 4/19 Example: Realization with NAND Gates LectureDigital Systems For the following circuit, make a circuit realization that only uses NAND Gates. F x1x1 x3x3 x2x2 F x1x1 x3x3 x2x2 F x1x1 x3x3 x2x2 ● Redo this example for the use of NOR Gates ?

President UniversityErwin SitompulDigital Systems 4/20 LectureDigital Systems Exercise: SoP with NAND Gates Implement the following SoP function with NAND Gates only. F = Y’Z + X’YZ Try the variance where a)3-input NAND Gates are allowed b)only 2-input NAND Gates are allowed

President UniversityErwin SitompulDigital Systems 4/21 LectureDigital Systems Exercise: XOR with NAND and NOR Gates Implement the XOR Gate using NAND Gates only and NOR Gates only. Hint: Start from the truth table. ● Be sure to know the ways A

President UniversityErwin SitompulDigital Systems 4/22 Circuit A Homework 4 1.Implement circuit A with NAND Gates only and NOR Gates only. LectureDigital Systems Deadline: Wednesday, 14 October Circuit B 2.Implement circuit B with NAND Gates only and NOR Gates only.