Oracle: Difference between revisions
Appearance
add to component categories |
Overhaul to new standard component page format |
||
(2 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
| io.minInputs=1 | | io.minInputs=1 | ||
| io.outputs=1 | | io.outputs=1 | ||
}}The Oracle is a digital | }} | ||
The '''Oracle''' is a [[component]] used to add randomness to [[digital logic]] circuits. When an Oracle's input become {{on}}, its output will be set to a random state ({{on}} or {{off}}). | |||
== Behavior == | |||
The Oracle's logic behavior is represented by the following truth table: | |||
{{Truth table | {{Truth table | ||
| inputs=Enable | | inputs=Enable | ||
Line 15: | Line 20: | ||
| caption=Oracle Truth Table | | caption=Oracle Truth Table | ||
| 0 0 | | 0 0 | ||
| | | 1 1 or 0 | ||
}} | }} | ||
The chance of the output being {{on}} is 50%. | |||
The Oracle | |||
The Oracle takes one [[tick]] to update the state of its output after a change to the state of its inputs. | |||
== Placement == | |||
Oracles can be placed in the center of a [[Circuit Board]] square or on top of a [[Mount]], and can be fine-rotated. | |||
== Trivia == | |||
* The Oracle looks a bit like an amongus. | |||
{{Navbox components}} | |||
[[Category:Vanilla components]] | [[Category:Vanilla components]] | ||
[[Category:Circuitry components]] | [[Category:Circuitry components]] |
Latest revision as of 23:02, 8 September 2025
![]() Oracle | |
Component info | |
---|---|
Internal ID |
MHG.Randomizer |
Configurable | No |
Input and output | |
Input count | 1 |
Output count | 1 |
Propagation delay | 1 tick |
The Oracle is a component used to add randomness to digital logic circuits. When an Oracle's input become ON, its output will be set to a random state (ON or OFF).
Behavior
The Oracle's logic behavior is represented by the following truth table:
Enable | Output |
---|---|
0 | 0 |
1 | 1 or 0 |
The chance of the output being ON is 50%.
The Oracle takes one tick to update the state of its output after a change to the state of its inputs.
Placement
Oracles can be placed in the center of a Circuit Board square or on top of a Mount, and can be fine-rotated.
Trivia
- The Oracle looks a bit like an amongus.