Jump to content

Oracle: Difference between revisions

From Logic World Wiki
mNo edit summary
Overhaul to new standard component page format
 
(3 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 component which will output a random state (HIGH or LOW) on the rising edge of the input.
}}
 
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:


The Oracle will demonstrate the following behavior:
{{Truth table
{{Truth table
| inputs=Enable
| inputs=Enable
Line 15: Line 20:
| caption=Oracle Truth Table
| caption=Oracle Truth Table
| 0 0
| 0 0
| 0 1/0
| 1 1 or 0
}}
}}


== Timing ==
The chance of the output being {{on}} is 50%.
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.
 
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}}


== Configurability ==
[[Category:Vanilla components]]
This component cannot be configured in the edit menu.
[[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.