Alpha Branch/Components/Switch: Difference between revisions

From Turing Complete
(Created page with "{{Breadcrumbs|Alpha Branch|Components}} {{Early-access-version|0|1346}} == Bit Switch == {{Infobox component | image = Bit_Component_switch.png | type = bit | gate-cost = 2 | delay-cost = 1 | prerequisite = Always On }} The 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. {| {{Tru...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Breadcrumbs|Alpha Branch|Components}}
{{Early-access-version|0|1346}}
{{Early-access-version|0|1346}}


Line 40: Line 39:
}}
}}


The word switch functions similar to <code>width</code> individual bit switches.  However the enable pin remains a 1-bit value, enabling or disabling the entire the input line at the same time.
The word switch functions similar to <code>width</code> individual bit switches.  However the enable pin remains a 1-bit value, enabling or disabling the entire the input at the same time.

Latest revision as of 09:41, 19 February 2025

wip
wip

This page descibes the early access verion 0.1346 Beta. It may not be completely correct for the the current stable version, nor the latest unstable version. Help us update it, and you get a cookie.

Bit Switch[edit | edit source]

Switch
Type bit
Gates 2
Delay 1
Unlocked by Always On

The 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
Enable Input Output
0 0 Z
0 1 Z
1 0 0
1 1 1


The enable pin is the one on the bottom (in the default orientation).


Word Switch[edit | edit source]

Switch
File:Word Component switch.png
Type word
Gates 2*width
Delay 1
Unlocked by Always On

The word switch functions similar to width individual bit switches. However the enable pin remains a 1-bit value, enabling or disabling the entire the input at the same time.