Jump to content

File:XNOR using NOR.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikibooks, open books for an open world

Original file (SVG file, nominally 256 × 76 pixels, file size: 16 KB)

Summary

Description
English: XNOR implemented with NOR gates.
Date
Source Own work
Author Robert A. Maxwell


To reproduce this image with circuit-macros, use the following code:

.PS

cct_init
include(HOMELIB_`liblog.m4')

scale   = 25.4  # Use millimetres
sec     = 5     # Horizontal length of each section
vgap    = 20    # Vertical gap between A and B
nowid   = 11    # Need a value for width of NOR gate before use

LA: "$A$" rjust; line right_ nowid+4*sec
NO1: NOR_gate with .In1 at Here

move to (0, -vgap)
LB: "$B$" rjust; line right_ nowid+4*sec
NO2: NOR_gate with .In2 at Here

move to (2*sec, -vgap/2)
NO3: NOR_gate; line right_ sec; dot
move to NO3.Out+(sec, 0); line to (Here.x, NO1.In2.y); line to NO1.In2
move to NO3.Out+(sec, 0); line to (Here.x, NO2.In1.y); line to NO2.In1
dot(at LA+(sec, 0)); line to (Here.x, NO3.In1.y); line to NO3.In1
dot(at LB+(sec, 0)); line to (Here.x, NO3.In2.y); line to NO3.In2

move to (2*nowid+6*sec, -vgap/2)
NO4: NOR_gate; line right_ sec; "$A$ XNOR $B$" ljust
line from NO1.Out right_ sec; line to (Here.x, NO4.In1.y); line to NO4.In1
line from NO2.Out right_ sec; line to (Here.x, NO4.In2.y); line to NO4.In2

.PE

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 3.0 Unported 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

xnor gate using nor gate

Items portrayed in this file

depicts

27 October 2009

File history

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

Date/TimeThumbnailDimensionsUserComment
current09:21, 27 October 2009Thumbnail for version as of 09:21, 27 October 2009256 × 76 (16 KB)Robert A. Maxwell{{Information |Description={{en|1=XNOR implemented with NOR gates.}} |Source={{own}} |Author=Robert A. Maxwell |Date=2009-10-27 |Permission= |other_versions= }} Category:Logic gates

Global file usage

The following other wikis use this file: