DARPA Scalable Simplification of Reversible Circuits Vivek Shende, Aditya Prasad, Igor Markov, and John Hayes The Univ. of Michigan, EECS.

Slides:



Advertisements
Similar presentations
Heuristic Search techniques
Advertisements

1 Title Page Implicit and Explicit Reachable State Space Exploration Of Esterel Logical Circuits Advisor :
Using the Optimizer to Generate an Effective Regression Suite: A First Step Murali M. Krishna Presented by Harumi Kuno HP.
ECE 551 Digital System Design & Synthesis Lecture 08 The Synthesis Process Constraints and Design Rules High-Level Synthesis Options.
Introduction to Training and Learning in Neural Networks n CS/PY 399 Lab Presentation # 4 n February 1, 2001 n Mount Union College.
Saucy3: Fast Symmetry Discovery in Graphs Hadi Katebi Karem A. Sakallah Igor L. Markov The University of Michigan.
Chop-SPICE: An Efficient SPICE Simulation Technique For Buffered RC Trees Myung-Chul Kim, Dong-Jin Lee and Igor L. Markov Dept. of EECS, University of.
1 Optimization of Routing Algorithms Summer Science Research By: Kumar Chheda Research Mentor: Dr. Sean McCulloch.
Infinite Horizon Problems
A Transformation Based Algorithm for Reversible Logic Synthesis D. Michael Miller Dmitri Maslov Gerhard W. Dueck Design Automation Conference, 2003.
16/13/2015 3:30 AM6/13/2015 3:30 AM6/13/2015 3:30 AMIntroduction to Software Development What is a computer? A computer system contains: Central Processing.
FPGA chips and DSP Algorithms By Emily Fabes. 2 Agenda FPGA Background Reasons to use FPGA’s Advantages and disadvantages of using FPGA’s Sample VHDL.
Two-Qubit Quantum Circuits Vivek V. Shende Igor L. Markov Stephen S. Bullock.
Reversible Computation Computational Group Theory and Circuit Synthesis.
Computational Methods for Management and Economics Carla Gomes
Use of Simulated Annealing in Quantum Circuit Synthesis Manoj Rajagopalan 17 Jun 2002.
Reversible Circuit Synthesis Vivek Shende & Aditya Prasad.
CSC 110 – Intro to Computing Lecture 14: Midterm Review.
Introduction to Reversible Ckts Igor Markov University of Michigan Electrical Engineering & Computer Science.
DAG-Aware AIG Rewriting Alan Mishchenko, Satrajit Chatterjee, Robert Brayton Department of EECS, University of California Berkeley Presented by Rozana.
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.
DARPA Reversible Logic Circuit Synthesis Vivek V. Shende, Aditya K. Prasad, Igor L. Markov and John P. Hayes University of Michigan.
An Arbitrary Two-qubit Computation in 23 Elementary Gates or Less Stephen S. Bullock and Igor L. Markov University of Michigan Departments of Mathematics.
Quantum Counters Smita Krishnaswamy Igor L. Markov John P. Hayes.
DARPA Advanced Computer Architecture Laboratory Simulation, Synthesis and Testing of Quantum Circuits John P. Hayes and Igor L. Markov Advanced Computer.
Wenlong Yang Lingli Wang State Key Lab of ASIC and System Fudan University, Shanghai, China Alan Mishchenko Department of EECS University of California,
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
VLSI Physical Design: From Graph Partitioning to Timing Closure Chapter 5: Global Routing © KLMH Lienig 1 FLUTE: Fast Lookup Table Based RSMT Algorithm.
Circuit CAD Tools as a Security Threat University of Michigan † and Rice University ‡ June 9, 2008 Jarrod A. Roy †, Farinaz Koushanfar ‡ and Igor L. Markov.
Chocolate Bar! luqili. Milestone 3 Speed 11% of final mark 7%: path quality and speed –Some cleverness required for full marks –Implement some A* techniques.
HOW TO SOLVE IT? Algorithms. An Algorithm An algorithm is any well-defined (computational) procedure that takes some value, or set of values, as input.
Geography and CS Philip Chan. How do I get there? Navigation Which web sites can give you turn-by-turn directions?
Identifying Reversible Functions From an ROBDD Adam MacDonald.
1 Algebraic Structure in Almost-Symmetries Igor Markov, Univ. of Michigan Presented by Ian Gent, St. Andrews.
Access Path Selection in a Relational Database Management System Selinger et al.
Database Management 9. course. Execution of queries.
CS1Q Computer Systems Lecture 11 Simon Gay. Lecture 11CS1Q Computer Systems - Simon Gay2 The D FlipFlop A 1-bit register is called a D flipflop. When.
A NEW ECO TECHNOLOGY FOR FUNCTIONAL CHANGES AND REMOVING TIMING VIOLATIONS Jui-Hung Hung, Yao-Kai Yeh,Yung-Sheng Tseng and Tsai-Ming Hsieh Dept. of Information.
05/04/06 1 Integrating Logic Synthesis, Tech mapping and Retiming Presented by Atchuthan Perinkulam Based on the above paper by A. Mishchenko et al, UCAL.
The Volcano Query Optimization Framework S. Sudarshan (based on description in Prasan Roy’s thesis Chapter 2)
Comp 335 File Structures Hashing.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
CS 149: Operating Systems March 3 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
Description of a New Variable-Length Key, 64-Bit Block Cipher (BLOWFISH) Bruce Schneier BY Sunitha Thodupunuri.
1 A Novel Synthesis Algorithm for Reversible Circuits Mehdi Saeedi, Mehdi Sedighi*, Morteza Saheb Zamani {msaeedi, msedighi, aut.ac.ir.
1 Compacting Test Vector Sets via Strategic Use of Implications Kundan Nepal Electrical Engineering Bucknell University Lewisburg, PA Nuno Alves, Jennifer.
Weikang Qian. Outline Intersection Pattern and the Problem Motivation Solution 2.
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
Computer Architecture Lecture 32 Fasih ur Rehman.
Optimizing Robustness while Generating Shared Secret Safe Primes Emil Ong and John Kubiatowicz University of California, Berkeley.
CS270 Project Overview Maximum Planar Subgraph Danyel Fisher Jason Hong Greg Lawrence Jimmy Lin.
Technology Mapping. 2 Technology mapping is the phase of logic synthesis when gates are selected from a technology library to implement the circuit. Technology.
Wenlong Yang Lingli Wang State Key Lab of ASIC and System Fudan University, Shanghai, China Alan Mishchenko Department of EECS University of California,
Copyright © Curt Hill Hashing A quick lookup strategy.
Synthesis of the Optimal 4-bit Reversible Circuits Dmitri Maslov (spkr) University of Waterloo Waterloo, ON, Canada Oleg GolubitskySean Falconer Stanford.
Garbage in Reversible Designs of Multiple Output Functions
Memory Management OS Fazal Rehman Shamil. swapping Swapping concept comes in terms of process scheduling. Swapping is basically implemented by Medium.
Escaping Local Minima In Logic Synthesis Eugene Goldberg Cadence Berkeley Labs (USA) IWLS-2007, San Diego, USA This paper is available at
Efficiently Solving Computer Programming Problems Doncho Minkov Telerik Corporation Technical Trainer.
Faster Symmetry Discovery using Sparsity of Symmetries Paul T. Darga Karem A. Sakallah Igor L. Markov The University of Michigan.
Execution Plans Detail From Zero to Hero İsmail Adar.
On the Relation Between Simulation-based and SAT-based Diagnosis CMPE 58Q Giray Kömürcü Boğaziçi University.
BDD-based Synthesis of Reversible Logic for Large Functions Robert Wille Rolf Drechsler DAC’09 Presenter: Meng-yen Li.
Certifying and Synthesizing Membership Equational Proofs Patrick Lincoln (SRI) joint work with Steven Eker (SRI), Jose Meseguer (Urbana) and Grigore Rosu.
Sections 10.5 – 10.6 Hashing.
The Analysis of Cyclic Circuits with Boolean Satisfiability
Fredkin/Toffoli Templates for Reversible Logic Synthesis
Synthesis for Verification
Reinventing The Wheel: Developing a New Standard-Cell Synthesis Flow
_Synthesis__________________ __Of_______________________ ___First-Order_____Dynamic___ _____________Programming___ _______________Algorithms___ Yewen (Evan)
Presentation transcript:

DARPA Scalable Simplification of Reversible Circuits Vivek Shende, Aditya Prasad, Igor Markov, and John Hayes The Univ. of Michigan, EECS

Local Optimization Optimal synthesis methods  Can synthesize all 3-wire circuits in minutes  Too expensive in the general case  Yet, can be used to quickly generate libraries of small, optimal circuits Scalable synthesis techniques are suboptimal Idea behind our work:  Isolate small pieces of suboptimal circuits  Reduce via circuit-library lookups

Our Constraints Fixed wire count  No transformations that require adding wires Monotonic improvement of gate counts Empirical validation with the CNT gate library  No gates with more than 3 inputs  Our gate library is not redundant Other gate libraries possible

Optimal Circuit Libraries Built by dynamic programming techniques  Based on our previous work (IWLS / ICCAD ’02)  20+ times faster & several times more compact Store millions of small, optimal circuits  All optimal circuits of n gates on k wires  Hashed by permutation computed

Sketch of Algorithm Find a sub-circuit on few wires Compute its function by multiplying the gates Replace with optimal implementation  O(1)-time lookup using hash tables Repeat until no improvement How does this compare to reduction rules?  Given enough memory, this can’t be worse  Some reductions hard to capture with rules

Finding Subcircuits Pick a gate and collect its neighbors  Stop when total # inputs > k (empirical validation with k=4) Can find additional subcircuits  Some gates can be reordered  This exposes more reductions (example coming soon)

Commutability Rules When can gates be reordered?  Enumeration of gate reorderings is nontrivial  Do not (need to) try all reorderings  Some useful reorderings are easy to find

Commutability Rules Reordering gates  Can make reductions more “obvious”  And easier to locate algorithmically

Does This Actually Work? Our algorithms run on large circuits in ~linear time In randomly generated circuits removes up to 30% of gates  Many non-trivial reductions found and applied However, No reversible circuit benchmarks are available Published reversible circuits are hand-crafted  Most likely locally optimal

Future Work Improve circuit library storage  By taking advantage of symmetry Connect local optimization with synthesis algorithm from T|C|T|N-decomposition  A complete tool for reversible logic synthesis  Applicable to even 20-input circuits

Future Work Determine fruitful local optimizations  Are some optimizations better than others? Add hill-climbing (local de-optimizations)  Is this useful? Extend methods to quantum logic

Thank You For Your Attention Are there any questions?

Commutability Rules Gates do not usually commute  But sometimes they “almost” do Yield circuit equivalences  And therefore reduction rules

Previous Work Optimal Synthesis Methods  Use dynamic programming techniques  Work for 3-wire synthesis, but not much further Commutability Rules  Determine when gates can be reordered V. Shende et. Al., “Synthesis of Reversible Logic Circuits,” to appear in TCAD, 2003.