Component/Switch: Difference between revisions

From Turing Complete
(Added infobox)
(Added truth table)
Line 8: Line 8:


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}}
|}

Revision as of 13:49, 31 August 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