Component/Switch: Difference between revisions

From Turing Complete
No edit summary
m (Added early access version tag)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
''see also {{Component|Switch (word)}}''
{{early-access-version|0|1059}}{{Infobox component
| image        = Component_Switch1.png
| bit-width    = 1
| type        = 1bit
| prerequisite = 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 {{On}} state.  The {{Off}} state prevents the input bit from being passed through to the output.
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 {{On}} state.  The {{Off}} state prevents the input bit from being passed through to the output.
{| {{Truthtable}}
|+ Switch Truth Table
|-
! Input !! Enable !! !! Output
|-
| {{Off t}}|| {{Off t}}|| || {{Z t}}
|-
| {{Off t}}|| {{On t}}|| || {{Off t}}
|-
| {{On t}}|| {{Off t}}|| || {{Z t}}
|-
| {{On t}}|| {{On t}}|| || {{On t}}
|}

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