OR Gate (Project Red)
OR Gate | |
---|---|
| |
Name | OR Gate |
Source Mod | Project Red |
ID Name | ProjRed|Integration:projectred.integration.gate
|
Type | Block |
Stackable | Yes (64) |
Solid | Yes |
Transparent | Yes |
Affected by Gravity | No |
Emits Light | Yes (7) |
Flammable | No |
Required Tool | Any tool |
OR Gate is a redstone logic component added by the Project Red (Integration) mod. It outputs a high signal (1) when one of the enabled input sides receive a high signal (1). Any redstone signal strength that is not zero is accepted as a valid high input signal (1). A high output signal from the gate is always a redstone signal at maximum signal strength (15).
Like all logic blocks added by the mod, the OR Gate can be placed on any side of a block.
When right-clicking the gate with a Screwdriver, it will toggle between various permutations of input configurations where one or two of the inputs are disabled. When only a single input is enabled, the gate acts as a "buffer", which amplified a high signal (1) back to the full redstone signal strength (15).
It takes two ticks for a signal change to propagate from the input to the output of the gate. This means that as there are 20 ticks in a second, it would take one second for a signal change to propagate through ten of these gates.
When the player hovers over the block with their crosshairs, a layout is drawn around the block denoting the names of the in-/output sides.
Truth table[edit]
This table is only valid when all three input sides are enabled, denoted here by A, B and C. The input sides are all denoted by IN in the game.
Input | Output | ||
---|---|---|---|
A | B | C | OUT |
0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 |
0 | 1 | 0 | 1 |
0 | 1 | 1 | 1 |
1 | 0 | 0 | 1 |
1 | 0 | 1 | 1 |
1 | 1 | 0 | 1 |
1 | 1 | 1 | 1 |
Recipe[edit]
Usage[edit]
OR Gate (Project Red) has no known uses in crafting.
Trivia[edit]
- In real integrated circuits using technologies such as NMOS or CMOS transistors, a gate will output the current from the power source, which means that a high signal output does not rely on the voltage of the signal that was input, as these signals degrade when they are fed into many components. By this means, a high signal is always amplified to full strength when it exits a gate component.
- In the commonly used CMOS technology for integrated circuits, the use of OR gates is avoided when possible, because it is cheaper (requires less components and space) to create NOR gates in this technology.
|