1 / 39

CP-416 VLSI System Design Lecture 7: Combinational Circuits

CP-416 VLSI System Design Lecture 7: Combinational Circuits. Engr. Waqar Ahmad UET,Taxila. Outline. Bubble Pushing Compound Gates Logical Effort Example Input Ordering Asymmetric Gates Skewed Gates Best P/N ratio. But first Quiz# 02…. Quiz# 02…. Question????

jimc
Download Presentation

CP-416 VLSI System Design Lecture 7: Combinational Circuits

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. CP-416VLSI System Design Lecture 7: Combinational Circuits Engr. Waqar Ahmad UET,Taxila

  2. Outline • Bubble Pushing • Compound Gates • Logical Effort Example • Input Ordering • Asymmetric Gates • Skewed Gates • Best P/N ratio 8: Combinational Circuits

  3. But first Quiz# 02… 8: Combinational Circuits

  4. Quiz# 02… • Question???? Let a 4x inverter have transistors four times as wide as those of a unit inverter. If a unit inverter has three units of input capacitance and parasitic delay 0f p(inv), • what is the input capacitance of a 4x inverter? (4 points) • What is the logical effort? (3 points) • What is the paracitic delay? (3 points) 8: Combinational Circuits

  5. Example 1 module mux(input s, d0, d1, output y); assign y = s ? d1 : d0; endmodule 1) Sketch a design using AND, OR, and NOT gates. 8: Combinational Circuits

  6. Example 1 module mux(input s, d0, d1, output y); assign y = s ? d1 : d0; endmodule 1) Sketch a design using AND, OR, and NOT gates. 8: Combinational Circuits

  7. Example 2 2) Sketch a design using NAND, NOR, and NOT gates. Assume ~S is available. 8: Combinational Circuits

  8. Example 2 2) Sketch a design using NAND, NOR, and NOT gates. Assume ~S is available. 8: Combinational Circuits

  9. Bubble Pushing • Start with network of AND / OR gates • Convert to NAND / NOR + inverters • Push bubbles around to simplify logic • Remember DeMorgan’s Law 8: Combinational Circuits

  10. Example 3 3) Sketch a design using one compound gate and one NOT gate. Assume ~S is available. 8: Combinational Circuits

  11. Example 3 3) Sketch a design using one compound gate and one NOT gate. Assume ~S is available. 8: Combinational Circuits

  12. Compound Gates • Logical Effort of compound gates 8: Combinational Circuits

  13. Compound Gates • Logical Effort of compound gates 8: Combinational Circuits

  14. Example 4 • The multiplexer has a maximum input capacitance of 16 units on each input. It must drive a load of 160 units. Estimate the delay of the NAND and compound gate designs. 8: Combinational Circuits

  15. Example 4 • The multiplexer has a maximum input capacitance of 16 units on each input. It must drive a load of 160 units. Estimate the delay of the NAND and compound gate designs. H = 160 / 16 = 10 B = 1 N = 2 8: Combinational Circuits

  16. NAND Solution 8: Combinational Circuits

  17. NAND Solution 8: Combinational Circuits

  18. Compound Solution 8: Combinational Circuits

  19. Compound Solution 8: Combinational Circuits

  20. Example 5 • Annotate your designs with transistor sizes that achieve this delay. 8: Combinational Circuits

  21. Example 5 • Annotate your designs with transistor sizes that achieve this delay. 8: Combinational Circuits

  22. Input Order • Our parasitic delay model was too simple • Calculate parasitic delay for Y falling • If A arrives latest? • If B arrives latest? 8: Combinational Circuits

  23. Input Order • Our parasitic delay model was too simple • Calculate parasitic delay for Y falling • If A arrives latest? 2t • If B arrives latest? 2.33t 8: Combinational Circuits

  24. Inner & Outer Inputs • Outer input is closest to rail (B) • Inner input is closest to output (A) • If input arrival time is known • Connect latest input to inner terminal 8: Combinational Circuits

  25. Asymmetric Gates • Asymmetric gates favor one input over another • Ex: suppose input A of a NAND gate is most critical • Use smaller transistor on A (less capacitance) • Boost size of noncritical input • So total resistance is same • gA = • gB = • gtotal = gA + gB = • Asymmetric gate approaches g = 1 on critical input • But total logical effort goes up 8: Combinational Circuits

  26. Asymmetric Gates • Asymmetric gates favor one input over another • Ex: suppose input A of a NAND gate is most critical • Use smaller transistor on A (less capacitance) • Boost size of noncritical input • So total resistance is same • gA = 10/9 • gB = 2 • gtotal = gA + gB = 28/9 • Asymmetric gate approaches g = 1 on critical input • But total logical effort goes up 8: Combinational Circuits

  27. Symmetric Gates • Inputs can be made perfectly symmetric 8: Combinational Circuits

  28. Skewed Gates • Skewed gates favor one edge over another • Ex: suppose rising output of inverter is most critical • Downsize noncritical nMOS transistor • Calculate logical effort by comparing to unskewed inverter with same effective resistance on that edge. • gu = • gd = 8: Combinational Circuits

  29. Skewed Gates • Skewed gates favor one edge over another • Ex: suppose rising output of inverter is most critical • Downsize noncritical nMOS transistor • Calculate logical effort by comparing to unskewed inverter with same effective resistance on that edge. • gu = 2.5 / 3 = 5/6 • gd = 2.5 / 1.5 = 5/3 8: Combinational Circuits

  30. HI- and LO-Skew • Def: Logical effort of a skewed gate for a particular transition is the ratio of the input capacitance of that gate to the input capacitance of an unskewed inverter delivering the same output current for the same transition. • Skewed gates reduce size of noncritical transistors • HI-skew gates favor rising output (small nMOS) • LO-skew gates favor falling output (small pMOS) • Logical effort is smaller for favored direction • But larger for the other direction 8: Combinational Circuits

  31. Catalog of Skewed Gates 8: Combinational Circuits

  32. Catalog of Skewed Gates 8: Combinational Circuits

  33. Catalog of Skewed Gates 8: Combinational Circuits

  34. Asymmetric Skew • Combine asymmetric and skewed gates • Downsize noncritical transistor on unimportant input • Reduces parasitic delay for critical input 8: Combinational Circuits

  35. Best P/N Ratio • We have selected P/N ratio for unit rise and fall resistance (m = 2-3 for an inverter). • Alternative: choose ratio for least average delay • Ex: inverter • Delay driving identical inverter • tpdf = • tpdr = • tpd = • Differentiate tpd w.r.t. P • Least delay for P = 8: Combinational Circuits

  36. Best P/N Ratio • We have selected P/N ratio for unit rise and fall resistance (m = 2-3 for an inverter). • Alternative: choose ratio for least average delay • Ex: inverter • Delay driving identical inverter • tpdf = (P+1) • tpdr = (P+1)(m/P) • tpd = (P+1)(1+m/P)/2 = (P + 1 + m + m/P)/2 • Differentiate tpd w.r.t. P • Least delay for P = 8: Combinational Circuits

  37. P/N Ratios • In general, best P/N ratio is sqrt of equal delay ratio. • Only improves average delay slightly for inverters • But significantly decreases area and power 8: Combinational Circuits

  38. P/N Ratios • In general, best P/N ratio is sqrt of that giving equal delay. • Only improves average delay slightly for inverters • But significantly decreases area and power 8: Combinational Circuits

  39. Observations • For speed: • NAND vs. NOR • Many simple stages vs. fewer high fan-in stages • Latest-arriving input • For area and power: • Many simple stages vs. fewer high fan-in stages 8: Combinational Circuits

More Related