Please create an account or Login! Have fun!

Editing Logic gate

Jump to navigation Jump to search
You are not logged in. While you can edit without logging in, your IP address will be recorded publicly, along with the time and date, in this page's history. It is sometimes possible for others to identify you with this information. Creating an account will conceal your IP address and provide you with many other benefits. Messages sent to your IP can be viewed on your talk page.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
#REDIRECT [[Wire#Logic_gates]]
{{Infobox Tile CC2
|image = [[Image:NOTgate.png]] [[Image:ANDgate.png]] [[Image:ORgate.png]] [[Image:NANDgate.png]] [[Image:XORgate.png]]
|multidirectional = Yes
|moves = No
}}


[[Category:Tile groups]]
'''Logic gates''' are game elements introduced in [[Chip's Challenge 2]]. They perform a logical operation on one or two [[wire]] inputs and produce a single output. They consist of the inverter, AND gate, OR gate, NAND gate, and XOR gate. There also exist NOR and XNOR logic gates, but these are not present in Chip's Challenge 2.
 
== Inverter ==
[[File:NOTgate.png|left]]
The '''inverter''', also called the '''NOT gate''', accepts a single input and inverts the signal. If its input signal is ON, the output signal will be OFF. If its input signal is OFF, the output signal will be ON.
 
{| class="wikitable"
|-  style="background:#def; text-align:center;"
|'''INPUT''' || '''OUTPUT'''
|-  style="background:#def; text-align:center;"
| A || NOT A
|-  style="background:#dfd; text-align:center;"
|0 || 1
|-  style="background:#dfd; text-align:center;"
|1 || 0
|}
 
== AND gate ==
[[File:ANDgate.png|left]]
The '''AND gate''' accepts two inputs. If both inputs signals are ON, the output signal will be ON. Otherwise, the output signal will be OFF.
 
{| class="wikitable"
|-  style="background:#def; text-align:center;"
|colspan=2|'''INPUT''' || '''OUTPUT'''
|-  style="background:#def; text-align:center;"
| A || B || A AND B
|-  style="background:#dfd; text-align:center;"
|0 || 0 || 0
|-  style="background:#dfd; text-align:center;"
|0 || 1 || 0
|-  style="background:#dfd; text-align:center;"
|1 || 0 || 0
|-  style="background:#dfd; text-align:center;"
|1 || 1 || 1
|}
 
== OR gate ==
[[File:ORgate.png|left]]
The '''OR gate''' accepts two inputs. If at least one of the input signals are ON, the output signal will be ON. Otherwise, the output signal will be OFF.
 
{| class="wikitable"
|-  style="background:#def; text-align:center;"
|colspan=2|'''INPUT''' || '''OUTPUT'''
|-  style="background:#def; text-align:center;"
| A || B || A OR B
|-  style="background:#dfd; text-align:center;"
|0 || 0 || 0
|-  style="background:#dfd; text-align:center;"
|0 || 1 || 1
|-  style="background:#dfd; text-align:center;"
|1 || 0 || 1
|-  style="background:#dfd; text-align:center;"
|1 || 1 || 1
|}
 
== NAND gate ==
[[File:NANDgate.png|left]]
The '''NAND gate''' accepts two inputs. It is equivalent to an AND gate immediately followed by an inverter. If both input signals are ON, the output signal will be OFF. Otherwise, the output signal will be on.
 
{| class="wikitable"
|-  style="background:#def; text-align:center;"
|colspan=2|'''INPUT''' || '''OUTPUT'''
|-  style="background:#def; text-align:center;"
| A || B || A NAND B
|-  style="background:#dfd; text-align:center;"
|0 || 0 || 1
|-  style="background:#dfd; text-align:center;"
|0 || 1 || 1
|-  style="background:#dfd; text-align:center;"
|1 || 0 || 1
|-  style="background:#dfd; text-align:center;"
|1 || 1 || 0
|}
 
== XOR gate ==
[[File:XORgate.png|left]]
The '''XOR gate''' gate accepts two inputs and performs an ''exclusive or'' operation. If one or the other of the two input signals is ON, the output signal will be ON. If neither input signals are ON or both input signals are ON, the output signal will be OFF.
 
{| class="wikitable"
|-  style="background:#def; text-align:center;"
|colspan=2|'''INPUT''' || '''OUTPUT'''
|-  style="background:#def; text-align:center;"
| A || B || A XOR B
|-  style="background:#dfd; text-align:center;"
|0 || 0 || 0
|-  style="background:#dfd; text-align:center;"
|0 || 1 || 1
|-  style="background:#dfd; text-align:center;"
|1 || 0 || 1
|-  style="background:#dfd; text-align:center;"
|1 || 1 || 0
|}
Please note that all contributions to Chip's Challenge Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Chip's Challenge Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)
Your changes will be visible immediately.
  • If you want to test editing, try the sandbox.
  • On talk pages, please sign your posts by typing four tildes (~~~~).