1 / 38

ECE 331 – Digital System Design

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 materials accompanying Fundamentals of Logic Design, 6 th Edition , by Roth and Kinney,

abiba
Download Presentation

ECE 331 – Digital System Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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 materials accompanying Fundamentals of Logic Design, 6th Edition, by Roth and Kinney, and were used with permission from Cengage Learning.

  2. ECE 331 - Digital System Design Multi-level Logic Circuits

  3. ECE 331 - Digital System Design Multi-level Logic Circuits Thus far we have focused on the realization of optimal logic circuits through the derivation of Minimum Sum-of-Products expressions Minimum Product-of-Sums expressions Both forms of Boolean expressions are realized as two-level logic circuits AND-OR circuit ↔ SOP OR-AND circuit ↔ POS There are a maximum of two logic gates between every input and the output(s).

  4. ECE 331 - Digital System Design Multi-level Logic Circuits A two-level logic circuit is usually efficient for Boolean expressions of a few variables. However, as the number of inputs increases, a two-level logic circuit may encounter in fan-in problems. Fan-in refers to the number of inputs to a logic gate Whether fan-in is an issue is dependent upon the technology used to implement the logic circuit. Standard TTL and CMOS chips Field Programmable Gate Array (FPGA) Complex Programmable Logic Device (CPLD)

  5. ECE 331 - Digital System Design Multi-level Logic Circuits May require fewer logic gates than the logically equivalent two-level logic circuit. Reduced (silicon) area Decreased cost May require less complex wiring between logic gates Fewer literals results in fewer interconnecting wires Has a greater propagation delay than the logically equivalent two-level logic circuit. Each additional level adds to the propagation delay Decreased speed

  6. ECE 331 - Digital System Design Multi-level Logic Circuits Example: Find a circuit of AND and OR gates to realize f (a, b, c, d) = Ʃ m(1, 5, 6, 10, 13, 14) Consider solutions with two levels of gates and three levels of gates. Try to minimize the number of gates and the total number of gate inputs. Assume that all variables and their complements are available as inputs.

  7. ECE 331 - Digital System Design Multi-level Logic Circuits Example: First, simplify f by using a Karnaugh map. Minimum SOP Minimum POS

  8. ECE 331 - Digital System Design Multi-level Logic Circuit Example: This leads directly to a two-level AND-OR logic circuit for the minimum SOP expression.

  9. ECE 331 - Digital System Design Multi-level Logic Circuit Example: And leads directly to a two-level OR-AND logic circuit for the minimum POS expression.

  10. ECE 331 - Digital System Design Multi-level Logic Circuit Example: Factoring the minimum SOP expression yields: f = c'd.(a' + b) + cd'.(a + b) Which leads to the three-level OR-AND-OR logic circuit:

  11. ECE 331 - Digital System Design Multi-level Logic Circuit Example: To get a three-level circuit with an AND gate output, we partially multiply out the POS expression using (X + Y)(X + Z) = X + Y Z: f= [c + d(a′ + b)][c′ + d′(a + b)] This would require four levels of gates to realize; however, if we multiply out d′(a + b) and d(a′ + b), we get f= (c + a′d + bd)(c′ + ad′ + bd′)

  12. ECE 331 - Digital System Design Multi-level Logic Circuit Example: Which leads to the three-level AND-OR-AND logic circuit:

  13. Multi-level Logic Circuits For this particular example, the best two-level solution had an AND gate at the output, and the best three-level solution had an OR gate at the output. In general, to be sure of obtaining a minimum solution, one must find both the circuit with the AND-gate output and the one with the OR-gate output.

  14. ECE 331 - Digital System Design NAND-NAND and NOR-NOR Circuits

  15. ECE 331 - Digital System Design Logic Gates AND and OR Gates 2-input gates realized with 6 CMOS transistors 3-input gates realized with 8 CMOS transistors NAND and NOR Gates 2-input gates realized with 4 CMOS transistors 3-input gates realized with 6 CMOS transistors More cost efficient to design logic circuits using NAND and NOR gates.

  16. ECE 331 - Digital System Design NAND and NOR Gates F= (A + B + C)′ = A′B′C′ F = (ABC)′ = A′ + B′ + C′

  17. ECE 331 - Digital System Design NAND Gate Any logic function can be realized using only NAND gates. Consequently, it is said to be a functionally complete set of gates.

  18. ECE 331 - Digital System Design NOR Gate Any logic function can be realized using only NOR gates. Consequently, it, too, is said to be a functionally complete set of gates.

  19. ECE 331 - Digital System Design NAND-NAND and NOR-NOR Circuits A two-level circuit composed of AND and OR gates is easily converted to a circuit composed of NAND or NOR gates only. Use F = (F′)′ and then apply DeMorgan′s laws: (X1 + X2 + … + Xn)′ = X1′ X2′…Xn′ (X1 X2…Xn)′ = X1′ + X2′ + … + Xn′

  20. ECE 331 - Digital System Design NAND-NAND Circuits Example: Convert the minimum sum-of-products (AND-OR) form to the equivalent NAND-NAND form. F= A + BC′ + B′CD = [(A + BC′ + B′CD)′ ]′ Solution: F= A + BC′ + B′CD = [A′ •(BC′)′• (B′CD)′]′

  21. ECE 331 - Digital System Design NOR-NOR Circuits Example: Convert the minimum product-of-sums (OR-AND) form to the equivalent NOR-NOR form. F= (A + B+ C)(A + B′ + C')(A +C' +D) = {[(A + B + C)(A + B′ + C′)(A + C′ + D)]′ }′ Solution: F = [(A + B + C)′ + (A + B′ + C′)′ + (A + C′ + D)′]′

  22. ECE 331 - Digital System Design Basic Forms for Two-level Circuits

  23. ECE 331 - Digital System Design Basic Forms for Two-level Circuits

  24. ECE 331 - Digital System Design Design of NAND-NAND Circuits Find a minimum SOP expression for f. Draw the corresponding AND-OR circuit. Replace all gates with NAND gates, leaving the gate interconnection unchanged. If the output gate has any single literals as inputs, complement these literals.

  25. ECE 331 - Digital System Design Design a NAND-NAND Circuit Example:

  26. ECE 331 - Digital System Design Design of NOR-NOR Circuits Find a minimum POS expression for f. Draw the corresponding OR-AND circuit. Replace all gates with NOR gates, leaving the gate interconnection unchanged. If the output gate has any single literals as inputs, complement these literals.

  27. ECE 331 - Digital System Design Design a NOR-NOR Circuit Example:

  28. Design of Multi-level NAND-Gate Circuits Simplify the switching function to be realized. Design a multi-level circuit of AND and OR gates. The output gate must be an OR gate. The gates must alternate: AND, OR, AND, OR, … Number the levels starting with the output gate. The output gate is level 1. Replace all gates with NAND gates, leaving interconnections between gates unchanged. Leave inputs to gates at levels 2, 4, 6, … unchanged; invert literals that appear as inputs to gates at levels 1, 3, 5, …

  29. ECE 331 - Digital System Design Design of a Multi-level NAND-Gate Circuit

  30. Design of Multi-level NOR-Gate Circuits Simplify the switching function to be realized. Design a multi-level circuit of AND and OR gates. The output gate must be an AND gate. The gates must alternate: OR, AND, OR, AND, … Number the levels starting with the output gate. The output gate is level 1. Replace all gates with NOR gates, leaving interconnections between gates unchanged. Leave inputs to gates at levels 2, 4, 6, … unchanged; invert literals that appear as inputs to gates at levels 1, 3, 5, …

  31. ECE 331 - Digital System Design Design of a Multi-level NOR-Gate Circuit

  32. Alternate Logic Gate Symbols Logic designers who design complex digital systems often find it convenient to use more than one representation for a given type of gate. inverter

  33. ECE 331 - Digital System Design Conversion to NAND-Gate Circuit NAND-NAND AND-OR

  34. ECE 331 - Digital System Design Conversion to NOR-Gate Circuit

  35. ECE 331 - Digital System Design Conversion to NAND-Gate Circuit

  36. ECE 331 - Digital System Design Multiple-output Circuits

  37. ECE 331 - Digital System Design Review the material provided in the textbook. (Sections 7.6 – 7.7) Multiple-output Logic Circuits

  38. ECE 331 - Digital System Design Questions?

More Related