Latest revision |
Your text |
Line 36: |
Line 36: |
| | name = Unary Math Unit | | | name = Unary Math Unit |
| | image = [[File:MathUnary.png|Logic Processor Variation: Unary Math Unit]] | | | image = [[File:MathUnary.png|Logic Processor Variation: Unary Math Unit]] |
− |
| |
− | | power_usage = 10W
| |
− | | placed_with_item = [[Kit (Logic Processor)]]
| |
− | | placed_on_grid = Small Grid, On Frames
| |
− | | decon_with_tool1 = [[Hand Drill]]
| |
− | }}
| |
− | {{Structurebox
| |
− | | name = Gate Unit
| |
− | | image = [[File:GateUnit.png|Logic Processor Variation: Logic Gate Unit]]
| |
| | | |
| | power_usage = 10W | | | power_usage = 10W |
Line 164: |
Line 155: |
| * Exp: The natural exponential function of the input. e raised to the power of the input. | | * Exp: The natural exponential function of the input. e raised to the power of the input. |
| * Round: Rounds the input to the closest whole integer. | | * Round: Rounds the input to the closest whole integer. |
− |
| |
− |
| |
− | == Logic Gate Unit ==
| |
− |
| |
− | === Connectors ===
| |
− |
| |
− | * Top: Power
| |
− | * Left: Input 1
| |
− | * Right: Input 2
| |
− | * Bottom: Output
| |
− |
| |
− | === Screws (options) ===
| |
− |
| |
− | * Top: Operation Selector. Click with the Screwdriver to select the logic operation to be performed on the two inputs
| |
− | * Left: Input Selector. Click with the Screwdriver to select the input data.
| |
− | * Right: Input Selector. Click with the Screwdriver to select the input data.
| |
− |
| |
− | === Available Operations ===
| |
− |
| |
− | '''Note:''' The operations as described below are '''logical''' as opposed to '''bitwise'''. All non-zero inputs are effectively treated as '''One''' or '''True''', therefore an '''OR''' operation where input 1 is the value of '''four''' and input 2 is the value of '''one''' will result in an output of '''1''' as opposed to '''5''' as it would be in a bitwise OR.
| |
− |
| |
− | * OR: Where '''either''' inputs are '''True''' the output will be '''True (1)''', otherwise the output will be '''False (0)'''
| |
− | * AND: Where '''both''' inputs are '''True''' the output will be '''True (1)''', otherwise the output will be '''False (0)'''
| |
− | * XOR: Similar to the '''OR''' operation with the exception that if '''both''' inputs are '''True''', the output will be '''False (0)'''
| |
− |
| |
− | The following operations simply '''invert''' the output of the aforementioned '''OR''', '''AND''' and '''XOR''' operations.
| |
− |
| |
− | * NOR: Inverted '''OR''' output. If a standard '''OR''' operation outputs '''True (1)''', this operation will output '''False (0)''' and visa-versa.
| |
− | * NAND: Inverted '''AND''' output. If a standard '''AND''' operation outputs '''True (1)''', this operation will output '''False (0)''' and visa-versa.
| |
− | * XNOR: Inverted '''XOR''' output. If a standard '''XOR''' operation outputs '''True (1)''', this operation will output '''False (0)''' and visa-versa.
| |