Jump to content

Oracle: Difference between revisions

From Logic World Wiki
Created page with "{{Infobox component | title=Oracle | caption=Oracle | id=MHG.Randomizer | io.propagationDelay=1 | io.maxInputs=1 | io.minInputs=1 | io.outputs=1 }}The Oracle is a digital component which will output a random state (HIGH or LOW) on the rising edge of the input. The Oracle will demonstrate the following behavior:{{Truth table|0 0|0 1/0|inputs=Enable|outputs=1|caption=Oracle Truth Table}} == Timing == The Oracle has a latency of 1 tick, so in the instance of the enable pi..."
 
Overhaul to new standard component page format
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
| io.minInputs=1
| io.minInputs=1
| io.outputs=1
| io.outputs=1
}}The Oracle is a digital component which will output a random state (HIGH or LOW) on the rising edge of the input.
}}


The Oracle will demonstrate the following behavior:{{Truth table|0 0|0 1/0|inputs=Enable|outputs=1|caption=Oracle Truth Table}}
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}}).


== Timing ==
== Behavior ==
The Oracle has a latency of 1 tick, so in the instance of the enable pin goes HIGH, the output will be in a random state of either '''LOW''' or '''HIGH'''. The same is for when the enable pin goes LOW, the output will be set to '''LOW''' one tick later.


== Configurability ==
The Oracle's logic behavior is represented by the following truth table:
This component cannot be configured in the edit menu.
 
{{Truth table
| inputs=Enable
| outputs=1
| caption=Oracle Truth Table
| 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.
 
{{Navbox components}}
 
[[Category:Vanilla components]]
[[Category:Circuitry components]]

Latest revision as of 23:02, 8 September 2025

Oracle

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:

Oracle Truth Table
EnableOutput
00
11 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.