Synthesis for Verification

Slides:



Advertisements
Similar presentations
The Synthesis of Cyclic Circuits with SAT and Interpolation By John Backes and Marc Riedel ECE University of Minnesota.
Advertisements

Aaron Bradley University of Colorado, Boulder
Introduction to Logic Synthesis Alan Mishchenko UC Berkeley.
1 FRAIGs: Functionally Reduced And-Inverter Graphs Adapted from the paper “FRAIGs: A Unifying Representation for Logic Synthesis and Verification”, by.
Inductively Finding a Reachable State Space Over-Approximation EE 290a Project Presentation Mike Case.
4/21/2005JHJ1 Structure-dependent Sequential Equivalence Checking EE290A UC Berkeley Spring 2005.
Automated Extraction of Inductive Invariants to Aid Model Checking Mike Case DES/CHESS Seminar EECS Department, UC Berkeley April 10, 2007.
Combinational and Sequential Mapping with Priority Cuts Alan Mishchenko Sungmin Cho Satrajit Chatterjee Robert Brayton UC Berkeley.
ABC: A System for Sequential Synthesis and Verification BVSRC Berkeley Verification and Synthesis Research Center Robert Brayton, Niklas Een, Alan Mishchenko,
Cut-Based Inductive Invariant Computation Michael Case 1,2 Alan Mishchenko 1 Robert Brayton 1 Robert Brayton 1 1 UC Berkeley 2 IBM Systems and Technology.
Research Roadmap Past – Present – Future Robert Brayton Alan Mishchenko Logic Synthesis and Verification Group UC Berkeley.
1 Alan Mishchenko Research Update June-September 2008.
Resolution Proofs as a Data Structure for Logic Synthesis John Backes Marc Riedel Electrical.
Global Delay Optimization using Structural Choices Alan Mishchenko Robert Brayton UC Berkeley Stephen Jang Xilinx Inc.
A Toolbox for Counter-Example Analysis and Optimization
Reducing Structural Bias in Technology Mapping
Introduction to Formal Verification
Synthesis for Verification
Power Optimization Toolbox for Logic Synthesis and Mapping
Alan Mishchenko UC Berkeley
Mapping into LUT Structures
Delay Optimization using SOP Balancing
Enhancing PDR/IC3 with Localization Abstraction
SAT-Based Logic Optimization and Resynthesis
Robert Brayton Alan Mishchenko Niklas Een
Alan Mishchenko Robert Brayton UC Berkeley
Alan Mishchenko Satrajit Chatterjee Robert Brayton UC Berkeley
Magic An Industrial-Strength Logic Optimization, Technology Mapping, and Formal Verification System Alan Mishchenko UC Berkeley.
Versatile SAT-based Remapping for Standard Cells
Integrating an AIG Package, Simulator, and SAT Solver
A Boolean Paradigm in Multi-Valued Logic Synthesis
Optimal Redundancy Removal without Fixedpoint Computation
Property Directed Reachability with Word-Level Abstraction
The Synergy between Logic Synthesis and Equivalence Checking
The Synergy between Logic Synthesis and Equivalence Checking
Equivalence Checking By Logic Relaxation
Introduction to Formal Verification
Alan Mishchenko University of California, Berkeley
Robert Brayton Alan Mishchenko Department of EECS UC Berkeley
Canonical Computation without Canonical Data Structure
SAT-Based Optimization with Don’t-Cares Revisited
Canonical Computation Without Canonical Data Structure
Robert Brayton UC Berkeley
Scalable and Scalably-Verifiable Sequential Synthesis
Automated Extraction of Inductive Invariants to Aid Model Checking
Improvements to Combinational Equivalence Checking
SAT-based Methods for Scalable Synthesis and Verification
Research Status of Equivalence Checking at Zhejiang University
Resolution Proofs for Combinational Equivalence
Integrating an AIG Package, Simulator, and SAT Solver
Introduction to Logic Synthesis
Canonical Computation without Canonical Data Structure
Alan Mishchenko UC Berkeley
Recording Synthesis History for Sequential Verification
Logic Synthesis: Past, Present, and Future
Delay Optimization using SOP Balancing
Alan Mishchenko UC Berkeley
Logic Synthesis: Past and Future
Canonical Computation without Canonical Data Structure
Magic An Industrial-Strength Logic Optimization, Technology Mapping, and Formal Verification System Alan Mishchenko UC Berkeley.
Innovative Sequential Synthesis and Verification
Robert Brayton Alan Mishchenko Niklas Een
SAT-based Methods: Logic Synthesis and Technology Mapping
Scalable Don’t-Care-Based Logic Optimization and Resynthesis
Robert Brayton Alan Mishchenko Niklas Een
SAT-Based Logic Synthesis
Alan Mishchenko Robert Brayton
Alan Mishchenko Department of EECS UC Berkeley
Integrating AIG Package, Simulator, and SAT Solver
Alan Mishchenko Robert Brayton UC Berkeley
Presentation transcript:

Synthesis for Verification Alan Mishchenko UC Berkeley

Overview Introduction Motivation Synthesis for Summary CEC Induction etc Summary

Introduction What to do if an EC or MC problem is too hard? Run SAT solver for hours, hoping it magically solves it This may not be the best use of time There may be other, more effective things to try One possibility is to use synthesis The focus of this presentation is on how to ease verification problems using synthesis

Motivation A heavy-duty Boolean resynthesis can reduce area 5x, while the standard synthesis reduces only 5%! A. Mishchenko, R. Brayton, J.-H. R. Jiang, and S. Jang, "SAT-based logic optimization and resynthesis". Rejected by ICCAD and FPGA => good paper 

Discussion These circuits are derived from PLAs Circuit structure is highly suboptimal Standard synthesis cannot overcome the structural bias SAT-based Boolean resubstitution with don’t-cares is needed Unsatisfiable sequential miters typically have almost all states unreachable These states can be used to restructure the circuit Efficient methods are needed To compute subsets of unreachable states To globally re-synthesize circuit structure

Synthesis for CEC Infamous example Two multipliers with different logic structure No internal equivalent points Both BDD construction and SAT sweeping fail!

Synthesis for CEC If there is no internal equivalences, synthesize them! A B New equivalence: A = B

Synthesis for Induction Achilles' heel of induction: Inductiveness leaks Unreachable states creating spurious counter-examples Remedy: Strengthening induction Excluding leaks by adding new properties to be checked reachable unreachable P

Previous Work Fixing inductiveness leaks Van Eijk’s approach (TCAD’00) Use candidate equivalences If not enough, add dangling nodes (nodes after retiming) Mike Case’s approach (FMCAD’07) Use implications that cover counter-examples Aaron Bradley’s approach (FMCAD’07) Use minimal clauses derive from counter-examples New approach Synthesize new logic cones

Synthesis for Induction If we cannot prove P, our goal is to synthesize a new cone Q that strengthens P n P Q Y X

Synthesis for Induction Perform two simulations: Combinational (C) Sequential (S) Collect patterns in Y-space of n appearing in C but not in S These are due to unreachable states OR these patterns to get Q(y) Q(y) is a candidate property that is true in all reachable states Consider 4-input cuts of all nodes n P Q Y X

Summary Synthesis and verification go hand in hand When one gets stuck, the other comes to rescue How to use synthesis to help verification? This presentation outlined several ideas This is a promising direction of future work