File:Full Adder using reversible Fredkin gates.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(SVG file, nominally 400 × 206 pixels, file size: 7 KB)

Summary

Description
English: Three-bit full adder (add with carry) using five Fredkin gates. The "g" garbage output bit is (p NOR q) if r=0, and (p NAND q) if r=1.

Inputs on the left, including two constants, go through three gates to quickly determine the parity. The 0 and 1 bits swap places for each input bit that is set, resulting in parity bit on the 4th row and inverse of parity on 5th row.

Then the carry row and the inverse parity row swap if the parity bit is set and swap again if one of the p or q input bits are set (it doesn't matter which is used) and the resulting carry output appears on the 3rd row.

The p and q inputs are only used as gate controls, so they appear unchanged in the output.
Date
Source Own work
Author Bret Mulvey

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

15 December 2016

image/svg+xml

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:23, 20 November 2023Thumbnail for version as of 19:23, 20 November 2023400 × 206 (7 KB)Glrxmake relative font-sizes absolute. Also add serif fallback font // Editing SVG source code using c:User:Rillke/SVGedit.js
07:34, 20 November 2023Thumbnail for version as of 07:34, 20 November 2023400 × 206 (7 KB)Mikhail Ryazanovtry quoted values in CSS to avoid bug
22:34, 19 November 2023Thumbnail for version as of 22:34, 19 November 2023400 × 206 (7 KB)Mikhail Ryazanovrender bug?
22:30, 19 November 2023Thumbnail for version as of 22:30, 19 November 2023400 × 206 (7 KB)Mikhail Ryazanovrm. wrong italics
22:36, 15 December 2016Thumbnail for version as of 22:36, 15 December 2016400 × 206 (7 KB)BretmulveyUser created page with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata