|
||||||||||
Efficient logic optimization utilizing complementary behavior of CMOS gatesBy Gaurav Goyal, Abhishek Mahajan, Sidhartha Taneja (Freescale Semiconductor) Any typical digital design style with CMOS uses complementary pairs of p-type and n-type MOSFETs for logic functions implementation. Naturally, CMOS always ought to provide INVERTED outputs like Inverter, NAND, NOR etc. Sometimes a non-inverting function is required, in which case it's just as easy to implement it with a final inverter or with a non-inverting function like AND, OR as also shown in the below Fig. 1
Fig. 1 NAND inverting gate and AND non-inverting gate Standard CMOS gates used in IC design are inverting for a variety of reasons, including lower area and delay compared to the non inverting versions. So, It would be inefficient to use an inverter when the inversion can be optimized away in the logic by using an inverting logic function such as NAND, NOR etc. (Inverting logic being preferred). It has been seen that even after the logic restructuring with tools, there are multiple scenarios where an “inverting function” has been implemented with “non-inverting function + inverter”; which is inefficient & creates an opportunity to optimize in terms of area/timing/power by replacing the “non-inverting function + inverter” combination with “inverting function + inverter” combination thus saving an inverter. There are millions of such scenarios in any design and below is one of the cases where such inefficiency can be seen:
Fig. 2 Scenario depicting inverter being used after the non-inverting logic Proposed Approach: Replace “non-inverting function + inverter” combination with “inverting function + inverter” combination thus saving an inverter as below.
Fig. 3 Conventional v/s Proposed Approach saves ‘1’ inverter While doing so, there is a need to keep a tab on certain things for its successful implementation like:
Conclusion: There is a saving of ‘1’ inverter for every such scenario present which would save area/power & relaxes the timing further & comes with no-side effect as well.
|
Home | Feedback | Register | Site Map |
All material on this site Copyright © 2017 Design And Reuse S.A. All rights reserved. |