Jump to content

Oracle: Difference between revisions

From Logic World Wiki
use on and off templates
Overhaul to new standard component page format
 
Line 8: Line 8:
| io.outputs=1
| io.outputs=1
}}
}}
The Oracle is a digital component which will output a random state ({{on}} or {{off}}) on the rising edge of the input.


The Oracle will demonstrate the following behavior:
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 16: Line 20:
| caption=Oracle Truth Table
| caption=Oracle Truth Table
| 0 0
| 0 0
| 1 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 {{on}}, the output will be in a random state of either {{off}} or {{on}}. The same is for when the enable pin goes {{off}}, the output will be set to {{off}} 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.


== Configurability ==
{{Navbox components}}
This component cannot be configured in the edit menu.


[[Category:Vanilla components]]
[[Category:Vanilla components]]
[[Category:Circuitry 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.