




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Luca Gaetano Amaru Synopsys Inc. Santa Clara, CA USA
ISBN 978-3-319-43173-4 ISBN 978-3-319-43174-1 (eBook) DOI 10.1007/978-3-319-43174-
Library of Congress Control Number: 2016946018
© Springer International Publishing Switzerland 2017 This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, express or implied, with respect to the material contained herein or for any errors or omissions that may have been made.
Printed on acid-free paper
This Springer imprint is published by Springer Nature The registered company is Springer International Publishing AG Switzerland
The strong interaction between Electronic Design Automation (EDA) tools and Complementary Metal-Oxide Semiconductor (CMOS) technology contributed substantially to the advancement of modern digital electronics. The continuous downscaling of CMOS Field Effect Transistor (FET) dimensions enabled the semiconductor industry to fabricate digital systems with higher circuit density at reduced costs. To keep pace with technology, EDA tools are challenged to handle both digital designs with growing functionality and device models of increasing complexity. Nevertheless, while the downscaling of CMOS technology requires more complex physical design models, the logic abstraction of a transistor as a switch has not changed even with the introduction of 3D FinFET technology. As a consequence, modern EDA tools are fine-tuned for CMOS technology and the underlying design methodologies are based on CMOS logic primitives, i.e., neg- ative unate logic functions. While it is clear that CMOS logic primitives will be the ultimate building blocks for digital systems in the next 10 years, no evidence is provided that CMOS logic primitives are also the optimal basis for EDA software. In EDA, the efficiency of methods and tools is measured by different metrics such as (i) the result quality, for example the performance of an automatically synthe- sized digital circuit, (ii) the runtime, and (iii) the memory footprint on the host computer. With the aim to optimize these metrics, the accordance to a specific logic model is no longer important. Indeed, the key to the success of an EDA technique is the expressive power of the logic primitives’ handling and solving the problem, which determines the capability to reach better metrics. In this book, we investigate new logic primitives for electronic design automation tools. We improve the efficiency of logic representation, manipulation, and opti- mization tasks by taking advantage of majority and biconditional logic primitives. We develop synthesis tools exploiting the majority and biconditional logic expressiveness. Our tools show strong results as compared to state-of-the-art aca- demic and commercial synthesis tools. Indeed, we produce the best (public) results for many circuits in combinational benchmark suites. On top of the enhanced
ix
synthesis power, our methods are also the natural and native logic abstraction for circuit design in emerging nanotechnologies, where majority and biconditional logic are the primitive gates for physical implementation. We accelerate formal methods by (i) studying core properties of logic circuits and (ii) developing new frameworks for logic reasoning engines. Thanks to the majority logic representation theory, we prove nontrivial dualities for the property checking problem of logic circuits. Our findings enable sensible speedups in solving circuit satisfiability. With the aim of exploiting further the expressive power of majority logic, we develop an alternative Boolean satisfiability framework based on majority functions. We prove that the general problem is still intractable, but we show practical restrictions that instead can be solved efficiently. Finally, we focus on the important field of reversible logic where we propose a new approach to solve the equivalence checking problem. We define a new type of reversible miter over which the equivalence test is performed. Also, we represent the core checking problem in terms of biconditional logic. This enables a much more compact for- mulation of the problem as compared to the state of the art. Indeed, it translates into more than one order of magnitude speedup for the equivalence checking task, as compared to the state-of-the-art solution. We argue that new approaches to solve core EDA problems are necessary, as we have reached a point in technology where keeping pace with design goals is tougher than ever.
Santa Clara, USA Luca Gaetano Amaru
x Preface
Chapter 1
The strong interaction between Electronic Design Automation (EDA) tools and Complementary Metal-Oxide Semiconductor (CMOS) technology contributed substantially to the advancement of modern digital electronics. The continuous down- scaling of CMOS Field Effect Transistor (FET) dimensions enabled the semiconduc- tor industry to fabricate digital systems with higher circuit density and performance at reduced costs [1]. To keep pace with technology, EDA tools are challenged to han- dle both digital designs with growing functionality and device models of increasing complexity. Nevertheless, whereas the downscaling of CMOS technology is requir- ing more complex physical design models, the logic abstraction of a transistor as a switch has not changed even with the introduction of 3D FinFET technology [2]. As a consequence, modern EDA tools are fine tuned for CMOS technology and the underlying design methodologies are based on CMOS logic primitives, i.e., nega- tive unate logic functions. While it is clear that CMOS logic primitives will be the ultimate building blocks for digital systems in the next ten years [3], no evidence is provided that CMOS logic primitives are also the optimal basis for EDA software. In EDA, the efficiency of methods and tools is measured by different metrics such as (i) the result quality, for example the performance of an automatically synthesized digital circuit, (ii) the runtime and (iii) the memory footprint on the host computer. With the aim to optimize these metrics, the accordance to a specific logic model is no longer important. Indeed, the key to the success of an EDA technique is the expressive power of the logic primitives handling and solving the problem, which determines the capability to reach better metrics. Overall, this book addresses the general question: “Can EDA logic tools produce better results if based on new, different, logic primitives?”. We show that the answer to this question is affirmative and we give pragmatic examples. We argue that new approaches to solve core EDA problems are necessary, as we have reached a point of technology where keeping pace with design goals is tougher than ever.
© Springer International Publishing Switzerland 2017 L.G. Amaru, New Data Structures and Algorithms for Logic Synthesis and Verification , DOI 10.1007/978-3-319-43174-1_
1
1.1 Electronic Design Automation 3
Fig. 1.2 Design verification methods
popular verification approaches [8]. Simulation techniques compute the output values for given input patterns using simulation models [9]. If the output values mismatch the given specification then verification fails. Simulation-based verifica- tion formally succeeds only if the output values match the specification for all input patterns. Because of the exponential space of input patterns, it is impractical to verify overall designs by simulations. Nevertheless, random simulation techniques are still used as fast bugs hunters. When an exact answer is needed, formal methods pre- cisely prove whether the system conforms to specification or not. In formal methods, specification and design are translated into mathematical models [8]. Formal verifi- cation techniques prove correctness with various sorts of mathematical reasoning. It explores all possible cases in the generated mathematical models. Popular mathemat- ical models used in formal methods include mainly Boolean functions/expressions, first order logic, and others. The main reasoning engines used are binary decision diagrams [10] and satisfiability methods [11]. Figure 1.2 depicts the aforementioned verification environment by means of a diagram. In this book, we focus on the logic synthesis and formal methods sub-fields of EDA.
Modern EDA tools operate on logic abstractions of an electronic system. These logic abstractions are based on some primitive logic operators over which the synthesis and verification processes are performed. The expressive power and manipulation properties of the logic primitives employed ultimately determine the quality of the EDA tasks accomplished. We review hereafter the basic logic primitives driving logic synthesis and formal verification tools.
4 1 Introduction
In logic synthesis, the main abstraction is a logic circuit, also called logic network, which is defined over a set of primitive logic gates. Very popular primitive gates in logic synthesis are AND, OR and INV. While there are expensive (in terms of runtime) synthesis techniques operating on truth tables and global functions, most practical synthesis methods exploit the local functionality of primitive gates over which the circuit itself is described. For example, two-level AND-OR logic circuits, also called Sum-Of-Products (SOPs), are synthesized by manipulating cubes and their sum [12]. As cubes are inherently AND functions and their sum is inherently an OR function, two-level logic synthesis is based on AND/OR logic primitives [12]. Another example is about multi-level logic circuits and their synthesis [13]. In multi-level logic representations, logic gates may have an unbounded functionality, meaning that each element can represent an arbitrary logic function. However, these logic elements are often represented internally as SOP polynomials which are fac- torized into AND/ORs via algebraic methods [13]. Therefore, also multi-level logic synthesis operates on AND/OR logic primitives [13].
In formal methods, the main logic abstraction is a formal specification. A formal specification can be a logic circuit, a Boolean formula or any other formal language capable of exhaustively describing the property under test. Ultimately, a formal spec- ification is translated into a mathematical logic formula. To prove properties of the formal specification, two core reasoning engines are very popular in formal meth- ods: binary decision diagrams [10] and Boolean satisfiability [11]. Binary decision diagrams are a data structure to represent Boolean functions. They are driven by the Shannon’s expansion to recursively decompose a Boolean function into cofac- tors until the constant logic values are encountered. Reduced and ordered binary decision diagrams are unique for a given variable order, i.e., canonical. This feature enables efficient property checking. From a logic circuit perspective, the Shannon’s expansion is equivalent to a 2:1 multiplexer (MUX), which therefore is the logic primitive driving binary decision diagrams [10]. Boolean satisfiability consists of determining whether there exists or not an assignment of variables so that a Boolean formula evaluates to true. The standard data structure supporting Boolean satisfiabil- ity is the Conjunctive Normal Form (CNF), which is a conjunction (AND) of clauses (OR). In other words, this data structure is a two-level OR-AND logic circuits, also called a Product of Sums (POS). The CNF satisfiability problem is solved through reasoning on clauses (ORs) and how they interact via the top conjunction operator (AND). It follows that standard satisfiability techniques are based on OR/AND logic primitives [11].
6 1 Introduction
CNFETs
SiNWFETs
Graphene FETs Reversible Logic
6T Nanorelays
4T Nanorelays
Fig. 1.3 Common logic abstraction for SiNWFETs, CNFETs, graphene FETs, reversible logic and nanorelays. Logic model: switch driven by a comparator
while other logic operations, such as conjunctions and disjunctions, are not. All these devices operate as a switch driven by a single bit comparator. Figure 1.3 depicts the common logic abstraction for those comparator-intrinsic nanodevices. Other promising nanodevices, such as Spin-Wave Devices (SWD) [26–28], Resistive RAM (RRAM) [29, 30] and graphene reconfigurable gates [31], operate using different physical phenomena than standard FETs. For example, SWD uses spin waves as information carrier while CRS logic behavior depends on the previous mem- ory state. In those nanotechnologies, the circuit primitive is not anymore a standard switch but a three-input majority voter. Note that there are other nanotechnologies where majority voters are the circuit primitive. Quantum-dot cellular automata is one well-known voting-intrinsic nanotechnology [32]. Also, DNA strand displacement recently showed the capability to implement voting logic [33]. Figure 1.4 depicts the common logic abstraction for these voting-intrinsic nanodevices. In this context, EDA tools capable of natively handling such enhanced func- tionality are essential to permit a fair evaluation on nanotechnologies with logic abstractions different than standard CMOS [34].
1.4 Contributions and Position with Respect to Previous Work 7
Fig. 1.4 Common logic abstraction for SWD, RRAM, Graphene reconfigurable gates, QCA and DNA logic. Logic model: majority voter
This book is centered around logic synthesis and formal methods. For the sake of completeness, we also include our results in the area of nanotechnology design. Our contributions can be classified into two main categories.
1.4.1.1 Contributions
We develop new compact representations for logic functions, together with powerful manipulation and optimization techniques. The two main topics here are bicondi- tional logic and majority logic.