Component/Switch (word): Difference between revisions

From Turing Complete
(Added infoboxes)
(Multibyte versions are unlocked by The Lab)
Line 20: Line 20:
| bit-width    = 16
| bit-width    = 16
| type        = 16bit
| type        = 16bit
| prerequisite = Sandbox
| prerequisite = Lab
}}
}}
{{Infobox component
{{Infobox component
Line 27: Line 27:
| bit-width    = 32
| bit-width    = 32
| type        = 32bit
| type        = 32bit
| prerequisite = Sandbox
| prerequisite = Lab
}}
}}
{{Infobox component
{{Infobox component
Line 34: Line 34:
| bit-width    = 64
| bit-width    = 64
| type        = 64bit
| type        = 64bit
| prerequisite = Sandbox
| prerequisite = Lab
}}
}}



Revision as of 11:28, 23 August 2024

8 Bit Switch

8 Bit Switch
Width 8
Type 8bit
Unlocked by Bit Switch

The 8-bit switch is a device that can enable or disable the output, similar to the 1-bit switch. It has a 1 byte input, 1 byte output, and a bit toggle switch. When the bit toggle switch is 1 or , it outputs the input. When the bit toggle is 0 or , the output is disabled. Because the output is fully disabled, this mean you can connect multiple outputs onto the same wire without causing a short circuit, provided that at most 1 distinct value is output.

TODO: Clarify. with some examples.

Switches (or disabled outputs of any kind) do not help with circular dependencies.

Other sizes


16 Bit Switch
Width 16
Type 16bit
Unlocked by Lab
32 Bit Switch
Width 32
Type 32bit
Unlocked by Lab
64 Bit Switch
Width 64
Type 64bit
Unlocked by Lab

16 Bit

Similar to the 8 bit version but with 16 bit inputs and outputs.

32 Bit

Similar to the 8 bit version but with 32 bit inputs and outputs.

64 Bit

Similar to the 8 bit version but with 64 bit inputs and outputs.