Regularity and Symmetry as a Base for Efficient Realization of Reversible Logic Circuits

Similar documents
Reversible Logic irreversible gates reversible gates

A General Decomposition for Reversible Logic

Regularity and Symmetry as a Base for Efficient Realization of Reversible Logic Circuits

Regular Realization of Symmetric Functions using Reversible Logic

Some Recent Research Issues in Quantum Logic

On Universality of Ternary Reversible Logic Gates

Scalable Systolic Structure to Realize Arbitrary Reversible Symmetric Functions

ENERGY EFFICIENT DESIGN OF REVERSIBLE POS AND SOP USING URG

Reversible Function Synthesis with Minimum Garbage Outputs

Design of Reversible Code Converters Using Verilog HDL

Mozammel H A Khan. Marek A Perkowski. Pawel Kerntopf

Technical Report: Projects & Background in Reversible Logic

In

Reversible Circuit Synthesis of Symmetric Functions Using a Simple Regular Structure

Design of a Compact Reversible Random Access Memory

Technical Report: Considerations for Determining a Classification Scheme for Reversible Boolean Functions

Boolean circuits. Figure 1. CRA versus MRA for the decomposition of all non-degenerate NPN-classes of three-variable Boolean functions

Design of a compact reversible binary coded decimal adder circuit

Variable Reordering for Reversible Wave Cascades - PRELIMINARY VERSION

Majority-Based Reversible Logic Gate

Design of Digital Adder Using Reversible Logic

Optimized Nanometric Fault Tolerant Reversible BCD Adder

Quantum Cost Optimization for Reversible Carry Skip BCD Adder

Design of Reversible Multiplier by Novel ANU Gate

On the Analysis of Reversible Booth s Multiplier

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder

Performance Enhancement of Reversible Binary to Gray Code Converter Circuit using Feynman gate

Reversible Multiplier with Peres Gate and Full Adder.

Reversible Computing for Beginners. Some slides from Hugo De Garis, De Vos, Margolus, Toffoli, Vivek Shende & Aditya Prasad

Power Optimization using Reversible Gates for Booth s Multiplier

Reversible computer hardware

Cellular Automata realization of Regular Logic

Graphical Method of Reversible Circuits Synthesis

A Novel Design for carry skip adder using purity preserving reversible logic gates

Reversible Multiplier with Peres Gate and Full Adder

Control gates as building blocks for reversible computers

Synthesis of Fredkin-Toffoli Reversible Networks

A COMPARISON OF LOGICAL EFFICIENCY

Optimized Reversible Programmable Logic Array (PLA)

Optimization of reversible sequential circuits

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

A More Effective Realization Of BCD Adder By Using A New Reversible Logic BBCDC

Conference on Advances in Communication and Control Systems 2013 (CAC2S 2013)

Two-Qubit Quantum Gates to Reduce the Quantum Cost of Reversible Circuit

New Hierarchies of Representations RM97, September MAIN CONTRIBUTIONS OF THIS PAPER Generalizations of the Generalized Kronecker representation

A NEW DESIGN TECHNIQUE OF REVERSIBLE GATES USING PASS TRANSISTOR LOGIC

A New Approach to Online Testing of TGFSOP-based Ternary Toffoli Circuits

Decomposition of Multi-Output Boolean Functions - PRELIMINARY VERSION

Optimized Reversible Vedic multipliers for High Speed Low Power Operations

Improved ESOP-based Synthesis of Reversible Logic

Design of an Online Testable Ternary Circuit from the Truth Table

DESIGN AND ANALYSIS OF A FULL ADDER USING VARIOUS REVERSIBLE GATES

ISSN Vol.03, Issue.03, June-2015, Pages:

Design and Implementation of Efficient Reversible Vedic multiplier for Low Power and High Speed Operations

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

ENERGY loss is an important consideration in digital design.

A VLSI Design of Power Efficient Reversible Logic Gates for Arithmetic and Logical Unit

Synthesis of Quantum Circuit for FULL ADDER Using KHAN Gate

A Novel Reversible Gate and its Applications

Design of High-speed low power Reversible Logic BCD Adder Using HNG gate

Engineering Letters, 13:2, EL_13_2_3 (Advance online publication: 4 August 2006) Design of Reversible/Quantum Ternary Multiplexer and Demultiplexer

DESIGN OF A COMPACT REVERSIBLE READ- ONLY-MEMORY WITH MOS TRANSISTORS

Design and Minimization of Reversible Circuits for a Data Acquisition and Storage System

Realization of 2:4 reversible decoder and its applications

High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex Family

Power Minimization of Full Adder Using Reversible Logic

DETERMINISTIC AND PROBABILISTIC TEST GENERATION FOR BINARY AND TERNARY QUANTUM CIRCUITS

Design of Reversible Synchronous Sequential Circuits

Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM Expressions

Generalized Inclusive Forms New Canonical Reed-Muller Forms Including Minimum ESOPs

DESIGN OF OPTIMAL CARRY SKIP ADDER AND CARRY SKIP BCD ADDER USING REVERSIBLE LOGIC GATES

A NEW DESIGN TECHNIQUE OF REVERSIBLE BCD ADDER BASED ON NMOS WITH PASS TRANSISTOR GATES

Fault localization in reversible circuits is easier than for classical circuits

Group Theory Based Synthesis of Binary Reversible Circuits

Implementation of Optimized Reversible Sequential and Combinational Circuits for VLSI Applications

L9: Galois Fields. Reading material

Realization of programmable logic array using compact reversible logic gates 1

Quantum computing! quantum gates! Fisica dell Energia!

arxiv:quant-ph/ v1 27 Sep 2005

DESIGN OF COMPACT REVERSIBLE LOW POWER n-bit BINARY COMPARATOR USING REVERSIBLE GATES

Implementation of Reversible ALU using Kogge-Stone Adder

A Shared-cube Approach to ESOP-based Synthesis of Reversible Logic

Reversible Circuits Synthesis Based on EXOR-sum of Products of EXOR-sums

Downloaded from

Optimized design of BCD adder and Carry skip BCD adder using reversible logic gates

Australian Journal of Basic and Applied Sciences

Transistor Implementation of Reversible Comparator Circuit Using Low Power Technique

Design and Implementation of Reversible Binary Comparator N.SATHISH 1, T.GANDA PRASAD 2

Logic Synthesis for Layout Regularity using Decision Diagrams *

Analysis of Multiplier Circuit Using Reversible Logic

Chapter 2: Boolean Algebra and Logic Gates

Circuit for Revisable Quantum Multiplier Implementation of Adders with Reversible Logic 1 KONDADASULA VEDA NAGA SAI SRI, 2 M.

A Novel Nanometric Reversible Four-bit Signed-magnitude Adder/Subtractor. Soudebeh Boroumand

Literature Review on Multiplier Accumulation Unit by Using Hybrid Adder

Reversible ALU Implementation using Kogge-Stone Adder

A NEW APPROACH TO DESIGN BCD ADDER AND CARRY SKIPBCD ADDER

PERFORMANCE ANALYSIS OF CLA CIRCUITS USING SAL AND REVERSIBLE LOGIC GATES FOR ULTRA LOW POWER APPLICATIONS

Reversible Implementation of Ternary Content Addressable Memory (TCAM) Interface with SRAM

Design of Reversible Comparators with Priority Encoding Using Verilog HDL

DESIGN OF REVERSIBLE ARITHMETIC AND LOGIC UNIT USING REVERSIBLE UNIVERSAL GATE

Transcription:

Regularity and Symmetry as a Base for Efficient Realization of Reversible Logic Circuits Marek Perkowski*, Pawel Kerntopf 1, Alan Coppola 2, Andrzej Buller 3, Malgorzata Chrzanowska-Jeske, Alan Mishchenko, Xiaoyu Song, Anas Al-Rabadi, Lech Jozwiak 4, and Bart Massey PORTLAND QUANTUM LOGIC GROUP, Portland State University, Portland, OR 97207 1 Technical University of Warsaw, Poland, 2 Cypress Semiconductor Corporation, 3 ATR, Kyoto, Japan, 4 Technical University of Eindhoven, *mperkows@ece.pdx.edu

Abstract A Reversible Programmable Gate Array (RPGA) is defined in this paper. It is composed of a collection of 2*2 Net Structure elements arranged in a regular structure, which can represent arbitrary binary functions in reversible logic. We show that the RPGA structure enables efficient realization of all symmetric functions and certain non-symmetric functions without variable repetition. The synthesis technique presented reduces the number of garbage outputs compared to previous methods. By using standard symmetrization techniques, we show how to map multi-input, multi-output Boolean functions to the RPGA.

Reversible Logic As proved by Landauer, using traditional irreversible gates leads to energy dissipation. Bennett showed that for power not be dissipated in the circuit it is necessary that arbitrary circuit can be build from reversible gates. Quantum Computing is a coming revolution Quantum computers are reversible. Reversible computing is the step-by-step way of scaling current computer technologies and is the path to future computing technologies, which all happen to use reversible logic.

Reversible logic Reversible are circuits (gates) that have the same number of inputs and outputs and have one-to-one mapping between vectors of inputs and outputs; thus the vector of input states can be always reconstructed from the vector of output states. Feedback not allowed Fan-out not allowed Gate performs a permutation of vectors INPUTS OUTPUTS 000 000 001 001 010 100 011 101 100 010 101 110 110 011 111 111

Reversible logic A gate with k inputs and k outputs is called a k*k gate. A conservative circuit preserves the number of logic values in all combinations. In balanced binary logic the circuit has half of minterms with value 1. In ternary logic one third of minterms have value 0, one third value 1 and one third has value 2 this is preserved from inputs to outputs. A circuit without constants on inputs which includes only reversible gates realizes on all outputs only balanced functions, therefore it can realize non-balanced functions only with garbage outputs. Problem to Solve: For arbitrary multi-output Boolean function, find its realization from reversible gates that minimizes the cost function CF = α c 1 + βc 2 + γ c 3 where c 1 is the gate cost, c 2 is the garbage cost, and c 3 is delay

General characteristic of logic synthesis methods for reversible logic Very little has been published Sasao and Kinoshita - Cascade circuits - small garbage, high delay Picton - binary and multiple-valued PLAs, high garbage, high delay, high gate cost Toffoli, Fredkin, Margolus - examples of good circuits, no systematic methods De Vos, Kerntopf - new gates and their properties, no systematic methods Knight, Frank, De Vieira, Athas, Svenson - circuit design, no systematic methods Joonho Lim,, Dong-Gyu Kim and Soo-Ik Chae School of Electrical Engineering, Seoul National University- - circuit design, no systematic methods We introduce regular structures to realize arbitrary functions.

Feynman Gate The 2*2 Feynman gate, called also controled-not or quantum XOR realizes functions P = A, Q = A @ B, where operator @ denotes EXOR.. When A = 0 then Q = B, when A = 1 then Q =!B. Every linear reversible function can be built by composing only 2*2 Feynman gates and inverters With B=0 Feynman gate is used as a fan-out gate. (universal) Binary Fredkin Gate Fredkin Gate is a fundamental concept in reversible and quantum computing. Every Boolean function can be build from 3 * 3 Fredks: P = A, Q = if A then C else B, R = if A then B else C.

Multi-valued Fredkin Gate (Picton Gate) MVFG is described by equations: A B C D P = A Q = B if A < B then R = C else R = D if A < B then S = D else S = C >= P Q R S A B C D < A < B P Q R S

Kerntopf Gate The Kerntopf gate is described by equations: P = 1 @ A @ B @ C @ AB, Q = 1 @ AB @ B @ C @ BC, R = 1 @ A @ B @ AC. When C=1 then P = A + B, Q = A * B, R =!B, so AND/OR gate is realized on outputs P and Q with C as the controlling input value. When C = 0 then P =!A *! B, Q = A +!B, R = A @ B. Despite theoretical advantages of Kerntopf gate over classical Fredkin and Toffoli gates, so far there are no published results on optical or CMOS realizations of this gate.

Use of two Multi-valued Fredkin (Picton) Gates to create MIN/MAX gate A B 0 1 >= >= Two garbage outputs for MIN/MAX cells using Picton Gate MIN(A,B) MAX(A,B) Min/max gate MIN(A,B) MAX(A,B) Max/min gate MAX(A,B) = A + B MIN(A,B) = A*B

Regular Structure for Symmetric Functions Regular symmetric structure regular Every single index Symmetric Function can be created by EXOR-ing last level gates of the previous regular expansion structure C inputs Unate interval symmetric functions regular EXOR level Single Index symmetric functions EXOR level regular,simple outputs A B AB 00 01 11 10 C 0 1 0 1 1 2 2 3 1 2 MAX(A,B) MIN(A,B) =A*B =A+B S 1,2,3 (A,B,C) C(A+B) S 2,3 (A,B,C) S 3 (A,B,C) S 1 (A,B,C) S 2 (A,B,C) Indices of symmetric binary functions of 3 variables

Example for four variables, EXOR level added A B MAX(A,B) MIN(A,B) MIN(A,B) =A*B =A+B C MAX(A,B,C) = (A+B)+C = S 1,2,3 (A,B,C) C(A+B) D MAX(A,B,C,D) = A+B+C+D = S 1,2,,3,4 (A,B,C) S 1 (A,B,C,D) Every Binary Symmetric Function can be composed of MIN/MAX gates: Example for three variables S 2,3 (A,B,C) = (A*B) + C(A+B) MIN(A,B,C) = (A*B)*C = S 3 (A,B,C) MIN(A,B,C,D) = A*B*C*D = S 4 (A,B,C,D) S,2.3.4 (A,B,C,D) S 3,4 (A,B,C,D) S 2 (A,B,C,D) S 3 (A,B,C,D) S 4 (A,B,C,D) It is obvious that any multi-output function can be created by OR-ing the outputs of EXOR level

Now we extend to Reversible Logic A B MAX(A,B) MIN(A,B) MIN(A,B) =A*B =A+B C MAX(A,B,C) = (A+B)+C = S 1,2,3 (A,B,C) C(A+B) D MAX(A,B,C,D) = A+B+C+D = S 1,2,,3,4 (A,B,C) S 1 (A,B,C,D) S 2,3,4 (A,B,C,D) S 2,3 (A,B,C) = (A*B) + C(A+B) MIN(A,B,C) = (A*B)*C = S,2.3.4 (A,B,C,D) S 2 (A,B,C,D) S 3,4 (A,B,C,D) S 3 (A,B,C) S 3,4 (A,B,C,D) S 3 (A,B,C,D) S 4 (A,B,C,D) MIN(A,B,C,D) = A*B*C*D = S 4 (A,B,C,D) Denotes Feynman (controlled NOT) gate Denotes fan-out gate

Using Kerntopf and Feynman Gates in Reversible Programmable Gate Array RPGA Kerntopf Feynman Arbitrary symmetric function can be created by exoring single indices

Generalizations and Current Work Arbitrary symmetric function can be realized in a net without repeated variables. Arbitrary (non-symmetric) function can be realized in a net with repeated variables (so-called symmetrization). Many non-symmetric functions can be realized in a net without repeated variables. We work on the characterization of the functions realizable in these structures without repetitions and respective synthesis algorithms. Very many new circuit types, which are reversible and multi-valued generalizations of Shannon Lattices, Kronecker Lattices, and other regular structures introduced in the past. Layout-driven synthesis to regular structures CMOS, Optical, Quantum dot technologies. Software

Approaches developed by PQLG 1. ESOP-like PLAs - Toffoli and Feynman gates 2. Lattice diagrams - Fredks 3. Nets - Multi-valued Fredkin (or Kerntopf) ) and Feynman gates 4. Cascades - Sasao, all kinds of gates 5. Compositional methods - Jozwiak, all kinds of gates 6. Decompositional methods - Ashenhurst-Curtis, Bi- Decomposition, all kinds of gates 7. Levelized decompositions - k-through gates 8. Mapping from decision diagrams - k-through gates 9. Permutation-based and group-theory-based - all kinds of gates

X YZ X 00 01 0 1 YZ 0 1 11 10 1 0 1 0 3 2 4 5 7 6 - - - - f X Y X YZ X 00 01 0 1 YZ 0 1 garbage garbage 00 01 11 10 0 1 3 2 1 0 1 0 4 5 0 h fg 0 1 hfg fgh Z 7 11 10 1 1 1 6 X g 0 1 gf YZ X 00 01 11 10 0 1 0 1 3 2 - - - - 4 5 7 6 - - - - X garbage YZ YZ X 00 01 11 10 0 1 1 i 0 1 garbage 0 1 3 2 - - - - 4 5 7 6 0 1 1 1 garbage garbage garbage 1 0 1 0 Reversible Shannon Expansion

Regular Structures and Decompositions New concepts: of Reversible Logic (1) Reversible Shannon Expansion for k*k binary Fredkin Gates (k>2), (2) planar and 3-D Reversible Fredkin Lattice structures for logic based on binary Fredks, (3) other regular structures, (4) use of symmetry, unateness, threshold logic, (5) new universal reversible gates, (6) adaptation of BDD-based, decomposition-based and technology mapping methods from standard binary logic (7) generalizations to multiple-valued logic.

Quantum Computing Revolution is coming. What can be done by researchers who have no access to well-funded laboratories? Portland Quantum Logic Group is an attempt to give an answer to the above question. We are a group of researchers interested in collaboration on reversible logic, quantum logic, reversible and quantum computing and nanotechnologies. We share information about new developments, we collaborate on developing new methodologies, algorithms and circuits. We discuss theoretical problems and realization issues.

PQLG current work includes: 1. Designing circuits in reversible technologies 1. 1. Designing circuits in reversible technologies 2. 2. Designing gates gates in in new new reversible technologies. 3. 3. Developing logic, system and and layout methodologies for for reversible and and quantum logic logic (every quantum logic logic is is reversible). 4. Designing systems (such as microprocessors) using reversible logic. 4. 4. Designing systems (such as microprocessors) using reversible logic. 5. 5. Developing highly efficient algorithms and and computer programs for for logic logic synthesis in in reversible logic. 6. Developing test algorithms and design for test methods for reversible technologies. 7. Developing formal verification and validation methods for reversible systems 8. Developing concepts of multiple-valued, fuzzy and continuous reversible logic. 9. Developing highly efficient data representations for reversible logic. 6. 6. Developing test algorithms and design for test methods for reversible 7. 7. Developing formal verification and validation methods for reversible 8. 8. Developing concepts of multiple-valued, fuzzy and continuous reversible 9. 9. Developing highly efficient data representations for reversible logic.

Regularity and Symmetry as a Base for Efficient Realization of Reversible Logic Circuits PQLG Bennett showed that for power not be dissipated in the circuit it is necessary that arbitrary circuit can be build from reversible gates. Using Kerntopf and Feynman Gates in Reversible Programmable Gate Array Kerntopf INPUTS OUTPUTS 000 000 001 001 010 100 011 101 100 010 101 110 110 011 111 111 Feedback not allowed Fan-out not allowed Gate performs a permutation of vectors The 2*2 Feynman gate, called also controled-not or quantum XOR realizes functions P = A, Q = A @ B, where operator @ denotes EXOR.. Every linear reversible function can be built by composing only 2*2 Feynman gates and inverters With B=0 Feynman gate is used as a fan-out gate. The Kerntopf gate is described by equations: P = 1 @ A @ B @ C @ AB, Q = 1 @ AB @ B @ C @ BC, R = 1 @ A @ B @ AC. When C=1 then P = A + B, Q = A * B, R =!B, so AND/OR gate is realized on outputs P and Q with C as the controlling input value. Feynman Arbitrary symmetric function can be created by exoring single indices Problem to Solve: For arbitrary multi-output Boolean function, find its realization from reversible gates that minimizes the cost function CF = α c 1 + βc 2 + γ c 3 where c 1 is the gate cost, c 2 is the garbage cost, and c 3 is delay