Figure 4.1. The function f (x1, x2, x3) =  m(0, 2, 4, 5, 6).

Slides:



Advertisements
Similar presentations
Chapter 3 Gate-Level Minimization
Advertisements

Switching circuits Composed of switching elements called “gates” that implement logical blocks or switching expressions Positive logic convention (active.
Chapter 3 Gate-Level Minimization
Digital Logic Design Gate-Level Minimization
Verilog Section 3.10 Section 4.5. Keywords Keywords are predefined lowercase identifiers that define the language constructs – Key example of keywords:
Combinational Logic Word Problems
ECE 3110: Introduction to Digital Systems
Gate-Level Minimization
Appendix A Logic Circuits. Logic circuits Operate on binary variables that assume one of two distinct values, usually called 0 and 1 Implement functions.
Gate-level Minimization
©2004 Brooks/Cole FIGURES FOR CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES Click the mouse to move to the next page. Use the ESC key.
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.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 2 Combinational Logic Design.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
2.7 NAND and NOR logic networks
Boolean Algebra and Logic Simplification
Digital Logic Design Lecture # 7 University of Tehran.
Logic Function Optimization. Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh.
Figure 6.1. A 2-to-1 multiplexer.
Figure 5.1. Conversion from decimal to binary.. Table 5.1. Numbers in different systems.
Figure 5.1. Conversion from decimal to binary.. Table 5.1. Numbers in different systems.
Logic and Computer Design Simon Petruc-Naum CS 147 – Dr. S.M. Lee.
Gates and Logic Dr John Cowell phones off (please)
Unit 5 Karnaugh Maps Fundamentals of Logic Design by Roth and Kinney.
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 4: Logic Optimization Chapter 4.
A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map.
Digital Electronics Chapter 3 Gate-Level Minimization.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
1/16/ CSEE, UQ Lecture 3 Hardware Description Methods, Review of Switching Algebra.
Chapter 4 OPTIMIZED IMPLEMENTATION OF LOGIC FUNCTIONS.
CEC 220 Digital Circuit Design More Karnaugh Maps Monday, February 02 CEC 220 Digital Circuit Design Slide 1 of 11.
ENGG 340 Midterm Review. Introduced the Concept of Variables and Functions Introduced the Concept of AND, OR, and NOT Introduced the Concept of Truth.
CEC 220 Digital Circuit Design SOP and POS forms Friday, January 23 CEC 220 Digital Circuit Design Slide 1 of 17.
CEC 220 Digital Circuit Design Implicants Wed, Sept. 23 CEC 220 Digital Circuit Design Slide 1 of 10.
Figure 2.1. A binary switch. x1=x0= (a) Two states of a switch S x (b) Symbol for a switch.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
CHAPTER 13 Digital Logic Circuits. Figure Voltage analog of internal combustion engine in-cylinder pressure Figure 13.1.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
This chapter in the book includes: Objectives Study Guide
MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
FIGURE 3.1 Two-variable K-map
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
Figure 8.1. The general form of a sequential circuit.
Figure 1.1. A silicon wafer..
Gate-Level Minimization
This chapter in the book includes: Objectives Study Guide
ECE 2110: Introduction to Digital Systems
Lecture #6 EGR 277 – Digital Logic
ECE 3110: Introduction to Digital Systems
ECE 331 – Digital System Design
This chapter in the book includes: Objectives Study Guide
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
ECE 331 – Digital System Design
CSE 370 – Winter Combinational Implementation - 1
Digital Logic Design I Gate-Level Minimization
The Map Method Truth table of fn is unique but fn can be in many different algebraic forms Simplification by using boolean algebra is often difficult because.
13 Digital Logic Circuits.
مدار منطقی به نام یگانه مهندس هستی مهدی قدیری
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Instructor: Alexander Stoytchev
Chapter 10.3 and 10.4: Combinatorial Circuits
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
This chapter in the book includes: Objectives Study Guide
Instructor: Alexander Stoytchev
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Presentation transcript:

Figure 4.1. The function f (x1, x2, x3) =  m(0, 2, 4, 5, 6).

Figure 4.2. Location of two-variable minterms. x x 1 2 x 1 x 2 1 m 1 m m m 1 2 1 m 2 1 m m 1 3 1 1 m 3 (a) Truth table (b) Karnaugh map Figure 4.2. Location of two-variable minterms.

Figure 4.3. A simple logic function. 1 Figure 4.3. A simple logic function.

Figure 4.4. Location of three-variable minterms.

Figure 4.5. Examples of three-variable Karnaugh maps. 1 2 x 3 00 01 11 10 1 1 f = x x + x x 1 3 2 3 1 1 1 (a) The function of Figure 2.18 x x 1 2 x 3 00 01 11 10 1 1 1 1 f = x + x x 1 3 1 2 1 (b) The function of Figure 4.1 Figure 4.5. Examples of three-variable Karnaugh maps.

Figure 4.6. A four-variable Karnaugh map.

Figure 4.7. Examples of four-variable maps.

Figure 4.8. A five-variable Karnaugh map.

Figure 4.9. Three-variable function f =  m(0, 1, 2, 3, 7).

Figure 4.10. Four-variable function f =  m(2, 3, 5, 6, 7, 10, 11, 13, 14).

Figure 4.11. The function f =  m(0, 4, 8, 10, 11, 12, 13, 15).

Figure 4.12. The function f =  m(0, 2, 4, 5, 10, 11, 13, 15). x x 1 2 x x 3 4 00 01 11 10 00 1 1 x x x 1 3 4 01 1 1 x x x 2 3 4 11 1 1 x x x 1 3 4 10 1 1 x x x 2 3 4 x x x x x x 1 2 4 1 2 4 x x x x x x 1 2 3 1 2 3 . Figure 4.12. The function f =  m(0, 2, 4, 5, 10, 11, 13, 15).

Figure 4.13. POS minimization of f =  M(4, 5, 6).

Figure 4.14. POS minimization of f =  M(0, 1, 4, 8, 9, 12, 15). x x 1 2 x x 3 4 00 01 11 10 ( ) 00 x + x 3 4 01 1 1 ( x + x ) 2 3 11 1 1 1 10 1 1 1 1 ( x + x + x + x ) 1 2 3 4 Figure 4.14. POS minimization of f =  M(0, 1, 4, 8, 9, 12, 15).

x 1 2 3 4 00 01 11 10 d (a) SOP implementation x x 1 2 x x 3 4 00 01 11 10 ( x + x ) 2 3 00 1 d 01 1 d 11 d ( x + x ) 3 4 10 1 1 d 1 (b) POS implementation Figure 4.15. Two implementations of f =  m(2, 4, 5, 6, 10) + D(12, 13, 14, 15).

Figure 4.16. An example of multiple-output synthesis. 2 x x 3 4 00 01 11 10 00 1 1 x 01 1 1 1 2 x 3 11 1 1 x 4 f 1 10 1 1 x 1 x 3 (a) Function f 1 x 1 x x 1 2 x x x 3 4 3 00 01 11 10 f x 2 00 1 1 2 x 3 01 1 1 x 4 11 1 1 1 (c) Combined circuit for f and f 1 2 10 1 1 (b) Function f 2 Figure 4.16. An example of multiple-output synthesis.

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.17. An example of multiple-output synthesis.

Figure 4.18. Implementation in a CPLD.

Figure 4.19. Implementation in an FPGA.

7 inputs Figure 4.20. Using 4-input AND gates to realize a 7-input product term.

Figure 4.21. A factored circuit. x 1 x 2 x 4 x x 6 3 x 5 x 2 x 3 x 5 Figure 4.21. A factored circuit.

Figure 4.22. A multilevel circuit. x 1 x 2 f 1 x f 3 2 x 4 Figure 4.22. A multilevel circuit.

x 1 2 3 4 f g Figure 4.23. A multilevel circuit.

Figure 4.24. The structure of a decomposition. 1 x 2 3 4 f g h Figure 4.24. The structure of a decomposition.

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.25. An example of decomposition.

Figure 4.26a. Implementation of XOR. 1 x Å x 1 2 x 2 (a) Sum-of-products implementation x 1 x Å x 1 2 x 2 (b) NAND gate implementation Figure 4.26a. Implementation of XOR.

Figure 4.26b. Implementation of XOR. f = x1  x2 = x1x2 + x1x2 = x1(x1 + x2) + x2(x1 + x2) x 1 g x Å x 1 2 x 2 (c) Optimal NAND gate implementation Figure 4.26b. Implementation of XOR.

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.27. Conversion to a NAND-gate circuit.

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.28. Conversion to a NOR-gate circuit.

Figure 4.29. Circuit for Example 4.10.

Figure 4.30. Circuit for Example 4.11. 2 9 x 5 x P 3 4 f P 7 P 2 P P 3 P P 10 6 8 x 4 P 5 Figure 4.30. Circuit for Example 4.11.

Figure 4.31. Circuit for Example 4.12. 5 f x 5 (a) NAND-gate circuit (b) Moving bubbles to convert to ANDs and ORs x 1 x 2 x 3 x 4 f x 5 (c) Circuit with AND and OR gates Figure 4.31. Circuit for Example 4.12.

Figure 4.32. Circuit for Example 4.13.

Figure 4.33. Representation of f (x1, x2) =  m(1, 2, 3). 01 11 x1 x x f 1 2 x 1 1 2 1x 1 1 1 1 1 x 1 00 10 Figure 4.33. Representation of f (x1, x2) =  m(1, 2, 3).

Figure 4.34. Representation of f (x1, x2, x3) =  m(0, 2, 4, 5, 6).

Figure 4.35. Representation of f =  m(0, 2, 3, 6, 7, 8, 10, 15).

Figure 4.36. Generation of prime implicants for

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.37. Selection of a cover.

Figure 4.38. Generation of prime implicants for

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.39. Selection of a cover.

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.40. Selection of a cover for the function in Example 4.15.

Figure 4.41. The coordinate *-operation. B A i 1 x i o A * B i i 1 o 1 1 x 1 x Figure 4.41. The coordinate *-operation.

Figure 4.42. The coordinate #-operation. B A i 1 x i e o e A # B i i 1 o e e x 1 e Figure 4.42. The coordinate #-operation.

Figure 4.43. An example four-variable function. 1 2 1 2 x x x x 3 4 00 01 11 10 3 4 00 01 11 10 00 1 1 d 00 1 01 d 1 01 11 11 1 1 1 10 1 d 1 10 d 1 1 x = x = 1 5 5 Figure 4.43. An example four-variable function.

Figure 4.44. Verilog code for the function in Figure 4.5a. module func1 (x1, x2, x3, f); input x1, x2, x3; output f;   assign f = (~x1 & ~x2 & x3) | (x1 & ~x2 & ~x3) | (x1 & ~x2 & x3) | (x1 & x2 & ~x3) ; endmodule Figure 4.44. Verilog code for the function in Figure 4.5a.

Figure 4.45. Logic synthesis options in MAX+plusII.

Figure 4.46. Results of physical design.

Figure 4.47. Timing simulation results. (a) Timing in an FPGA (b) Timing in a CPLD Figure 4.47. Timing simulation results.

Please see “portrait orientation” PowerPoint file for Chapter 4 Figure 4.48. A complete CAD system.

module example4_21 (x1, x2, x3, f); input x1, x2, x3; output f;   assign f = (~x1 & ~x2 & ~x3) | (~x1 & x2 & ~x3) | (x1 & ~x2 & ~x3) | (x1 & ~x2 & x3) | (x1 & x2 & ~x3); endmodule  Figure 4.49. Verilog code for the function in Figure 4.1.

Figure 4.50. Implementation of the Verilog code in Figure 4.49. (from interconnection wires) x x x unused 1 2 3 PAL-like block 1 D Q Figure 4.50. Implementation of the Verilog code in Figure 4.49.

(from interconnection wires) x x x unused 1 2 3 PAL-like block 1 D Q Figure 4.51. Implementation using XOR synthesis (f = x3  x1x2x3). Figure 4.51. Implementation using XOR synthesis (f = x3  x1x2x3).

Figure 4.52. Verilog code in Figure 4.49 implemented in a LUT.

module example4_22 (x1, x2, x3, x4, f); input x1, x2, x3, x4; output f;   assign f = (~x1 & ~x2 & x3 & ~x4) | (~x1 & ~x2 & x3 & x4) | (x1 & ~x2 & ~x3 & x4) | (x1 & ~x2 & x3 & ~x4) | (x1 & ~x2 & x3 & x4) | (x1 & x2 & ~x3 & x4) ; endmodule Figure 4.53. Verilog code for f1 in Figure 4.7.

module example4_23 (x1, x2, x3, x4, x5, x6, x7, f); input x1, x2, x3, x4, x5, x6, x7; output f;   assign f = (x1 & x3 & ~x6) | (x1 & x4 & x5 & ~x6) | (x2 & x3 & x7) | (x2 & x4 & x5 & x7) ; endmodule Figure 4.54. Verilog code for the function of section 4.6.

Figure 4.55. Two implementations of a 7-variable function. x x x x 1 1 3 6 x x 3 1 x x x + x x x 6 2 1 6 2 7 x 6 x x 1 7 x x x x x 4 1 4 5 6 x x 5 3 f x x 6 4 f x 5 x x x x 2 2 3 7 x 3 x 7 x 2 x x x x x 4 2 4 5 7 x 5 x 7 (a) Sum-of-products realization (b) Factored realization Figure 4.55. Two implementations of a 7-variable function.

Figure P4.1. Expansion of implicant x1x2x3.

Figure P4.2. Circuit for problem 4.33.

Figure P4.3. Circuit for problem 4.34.