Component/Switch: Difference between revisions

From Turing Complete
(Added truth table)
m (Added early access version tag)
 
Line 1: Line 1:
''see also {{Component|Switch (word)}}''
''see also {{Component|Switch (word)}}''
{{Infobox component
{{early-access-version|0|1059}}{{Infobox component
| image        = Component_Switch1.png
| image        = Component_Switch1.png
| bit-width    = 1
| bit-width    = 1

Latest revision as of 17:35, 7 September 2024

see also Switch (word)

Switch
Width 1
Type 1bit
Unlocked by Bit Switch

The 1-bit Switch is a way to pass the state of the input bit to the output of the switch, but only when the switch is in the enabled state. The state prevents the input bit from being passed through to the output.

Switch Truth Table
Input Enable Output
0 0 Z
0 1 0
1 0 Z
1 1 1