On Sub-optimality and Scalability of Logic Synthesis Tools Igor L. Markov and Jarrod A. Roy Dept. of EECS, University of Michigan at Ann Arbor.

Slides:



Advertisements
Similar presentations
Algorithm Analysis Input size Time I1 T1 I2 T2 …
Advertisements

AKS Implementation of a Deterministic Primality Algorithm
The Future (and Past) of Quantum Lower Bounds by Polynomials Scott Aaronson UC Berkeley.
Models of Computation Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms Week 1, Lecture 2.
Representing Boolean Functions for Symbolic Model Checking Supratik Chakraborty IIT Bombay.
10/28/2009VLSI Design & Test Seminar1 Diagnostic Tests and Full- Response Fault Dictionary Vishwani D. Agrawal ECE Dept., Auburn University Auburn, AL.
Uniqueness of Optimal Mod 3 Circuits for Parity Frederic Green Amitabha Roy Frederic Green Amitabha Roy Clark University Akamai Clark University Akamai.
1 Deciding Primality is in P M. Agrawal, N. Kayal, N. Saxena Presentation by Adi Akavia.
Agrawal-Kayal-Saxena Presented by: Xiaosi Zhou
Introduction to Modern Cryptography Lecture 6 1. Testing Primitive elements in Z p 2. Primality Testing. 3. Integer Multiplication & Factoring as a One.
Evaluation of Placement Techniques for DNA Probe Array Layout Andrew B. Kahng 1 Ion I. Mandoiu 2 Sherief Reda 1 Xu Xu 1 Alex Zelikovsky 3 (1) CSE Department,
Constructive Benchmarking for Placement David A. Papa EECS Department University of Michigan Ann Arbor, MI Igor L. Markov EECS.
DARPA Scalable Simplification of Reversible Circuits Vivek Shende, Aditya Prasad, Igor Markov, and John Hayes The Univ. of Michigan, EECS.
Deciding Primality is in P M. Agrawal, N. Kayal, N. Saxena Slides by Adi Akavia.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
Introduction to Reversible Ckts Igor Markov University of Michigan Electrical Engineering & Computer Science.
EECS 598: Background in Theory of Computation Igor L. Markov and John P. Hayes
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture 8+9 Time complexity 1 Jan Maluszynski, IDA, 2007
Jan 6-10th, 2007VLSI Design A Reduced Complexity Algorithm for Minimizing N-Detect Tests Kalyana R. Kantipudi Vishwani D. Agrawal Department of Electrical.
NP and NP- Completeness Bryan Pearsaul. Outline Decision and Optimization Problems Decision and Optimization Problems P and NP P and NP Polynomial-Time.
ECE 301 – Digital Electronics
03/08/2005 © J.-H. Jiang1 Retiming and Resynthesis EECS 290A – Spring 2005 UC Berkeley.
Optimality Study of Logic Synthesis for LUT-Based FPGAs Jason Cong and Kirill Minkovich VLSI CAD Lab Computer Science Department University of California,
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
COMPSCI 102 Introduction to Discrete Mathematics.
CPSC 171 Introduction to Computer Science Boolean Logic, Gates, & Circuits.
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
The Polynomial Time Algorithm for Testing Primality George T. Gilbert.
Shashi Kumar 1 Logic Synthesis: Course Introduction Shashi Kumar Embedded System Group Department of Electronics and Computer Engineering Jönköping Univ.
Theory of Computing Lecture 15 MAS 714 Hartmut Klauck.
The Complexity of Primality Testing. What is Primality Testing? Testing whether an integer is prime or not. – An integer p is prime if the only integers.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
1 Wire Length Prediction-based Technology Mapping and Fanout Optimization Qinghua Liu Malgorzata Marek-Sadowska VLSI Design Automation Lab UC-Santa Barbara.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Chapter 7 Random-Number Generation
Muralidharan Venkatasubramanian Vishwani D. Agrawal
-1- UC San Diego / VLSI CAD Laboratory Construction of Realistic Gate Sizing Benchmarks With Known Optimal Solutions Andrew B. Kahng, Seokhyeong Kang VLSI.
PRIMES is in P Manindra Agrawal NUS Singapore / IIT Kanpur.
Key Concept 1. Example 1 Leading Coefficient Equal to 1 A. List all possible rational zeros of f (x) = x 3 – 3x 2 – 2x + 4. Then determine which, if any,
Analyzing and Testing justified Prime Numbers
1 Formal Verification of Candidate Solutions for Evolutionary Circuit Design (Entry 04) Zdeněk Vašíček and Lukáš Sekanina Faculty of Information Technology.
MS 101: Algorithms Instructor Neelima Gupta
Tuffy Scaling up Statistical Inference in Markov Logic using an RDBMS
2-1 Introduction Gate Logic: Two-Level Simplification Design Example: Two Bit Comparator Block Diagram and Truth Table A 4-Variable K-map for each of the.
Algorithm Analysis Part 2 Complexity Analysis. Introduction Algorithm Analysis measures the efficiency of an algorithm, or its implementation as a program,
On Logic Synthesis of Conventionally Hard to Synthesize Circuits Using Genetic Programming Petr Fišer, Jan Schmidt Faculty of Information Technology, Czech.
3.3 Complexity of Algorithms
Optimality, Scalability and Stability study of Partitioning and Placement Algorithms Jason Cong, Michail Romesis, Min Xie UCLA Computer Science Department.
CMSC 341 Asymptotic Analysis. 2 Complexity How many resources will it take to solve a problem of a given size? –time –space Expressed as a function of.
Physical Synthesis Buffer Insertion, Gate Sizing, Wire Sizing,
9/22/15UB Fall 2015 CSE565: S. Upadhyaya Lec 7.1 CSE565: Computer Security Lecture 7 Number Theory Concepts Shambhu Upadhyaya Computer Science & Eng. University.
Optimization Problems
Optimality Study of Logic Synthesis for LUT-Based FPGAs Jason Cong and Kirill Minkovich.
Donghyun (David) Kim Department of Mathematics and Computer Science North Carolina Central University 1 Chapter 7 Time Complexity Some slides are in courtesy.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Pseudo-random generators Talk for Amnon ’ s seminar.
Quantum Computation Stephen Jordan. Church-Turing Thesis ● Weak Form: Anything we would regard as “computable” can be computed by a Turing machine. ●
1 Lecture 8 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
1 1. Which of these sequences correspond to Hamilton cycles in the graph? (a) (b) (c) (d) (e)
Speaker: Nansen Huang VLSI Design and Test Seminar (ELEC ) March 9, 2016 Simulation-Based Equivalence Checking.
Complexity Theory and Explicit Constructions of Ramsey Graphs Rahul Santhanam University of Edinburgh.
Prediction of Interconnect Net-Degree Distribution Based on Rent’s Rule Tao Wan and Malgorzata Chrzanowska- Jeske Department of Electrical and Computer.
D. Cheung – IQC/UWaterloo, Canada D. K. Pradhan – UBristol, UK
Computability and Complexity
Complexity 6-1 The Class P Complexity Andrei Bulatov.
CS21 Decidability and Tractability
CSC 380: Design and Analysis of Algorithms
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
Complexity Theory: Foundations
Presentation transcript:

On Sub-optimality and Scalability of Logic Synthesis Tools Igor L. Markov and Jarrod A. Roy Dept. of EECS, University of Michigan at Ann Arbor

Outline Motivation and Previous Work Results on Common Problems Primality Testing as a Benchmark Theoretical Bounds Empirical Results Polynomial Fitting Conclusions and Further Work

Quantifyng Scalability Previous work has been in physical design L. Hagen, J.H.Huang, and A.B.Kahng, “Quantified Suboptimality of VLSI Layout Heuristics”, DAC 1995, pp Test cases with optimal cost grow linearly with problem size C.C.Chang, J.Cong, and M.Xie, “Optimality and Scalability Study of Existing Placement Algorithms,” ASP DAC 2003, pp Placement Examples with Known Optima (PEKO) - rather artificial circuits (no long wires) Show a 2x sub-optimality in placement tools Our interest: logic synthesis

Our Work Evaluate scalability of ESPRESSO, SIS, BDS Introduce primality testing as a scalable benchmark for synthesis tools  poly-sized circuits; we derive an upper bound No such poly-sized circuits actually known Show exponential sub-optimality (pessimistic) Multipliers not a problem – can be instantiated

Results on Common Tasks Parity ESPRESSO & SIS: circuits as big as input truth tables BDS: circuits grow linearly Addition ESPRESSO & SIS: work on up to 7(8)-bit adders ~polynomial circuit growth BDS crashes on all inputs (but not immediately) Multiplication ESPRESSO & SIS: work on up to 4(8)-bit multipliers super-polynomial circuits growth BDS crashed on all but the 2-bit multiplier

Log-Log Plot for Adders Poly  Straight Line

Log-Log Plot of Multipliers

Primality Testing AKS algorithm (Agrawal, Kayal & Saxena) “PRIMES is in P”, preprint, August st deterministic poly-time algorithm for primality testing Runs in O*(n 12 ) time for n-bit integers on a RAM machine For 1-tape Turing machine: our bound is O(n 26 ) Well-known result in Complexity Theory implies that combinational circuits of size O(n 52 ) exist The Sophie Germain conjecture, if true, reduces the circuit size bound to O(n 24 ) “True for practical purposes” (verified up to astronomic n)

Results ESPRESSO-exact: runs out of steam at 19 bits SIS (best of full_simplify & script rugged ) Runs out of steam at 20 bits, but otherwise results no better than those for ESPRESSO BDS: runs out of steam at 7 bits No better than SIS or ESPRESSO Super-linear trends in log-log plots suggest exponential growth in circuit size

Log-Log Plot of Espresso Results Known Exponential

Log-Log Plot of SIS Results

Log-Log Plot of BDS Results

Fitting Polynomials to the data Too few data points to see if the trend fits a 24 th degree polynomial We fit the Espresso and SIS data to smaller degree polynomials (up to 18 th ) 13 th -15 th degree were most reasonable for Espresso 13 th -16 th degree were most reasonable for SIS Several characteristics of the fits suggest circuit size growth is exponential

Properties of Good Poly-Fits Monotonically increasing Most coefficients should be positive Leading coefficient must be positive Increased degree should improve fit Behavior outside data region should be reasonable

Polynomial Fitting Espresso Data

Polynomial Fitting SIS Data

Conclusions and Further Work Primality testing appears to expose an exponential sub-optimality in synthesis tools Continued work with primality testing Try new tools: M31, etc. Derive better bounds on circuit size Use more sophisticated algorithms like Fast Fourier multiplication Factor in improvements to AKS Build primality testing circuits in a VHDL, synthesize, see how well they scale Work beyond primality testing Scalability studies based on doubling constructions in the spirit of Hagen et. Al.