######### Switch

Library: Input/Output Extra
Introduced: 2.15 in Logisim ITA Component
Appearance: #########

Behavior

This component simulates a switch. When it's open, its west output is set to the undefined state (U), and when it's closed it copies the state of its east input to its output.

Pins

East edge:
Output: Has undefined state (U) when switch is open and copies input state when switch is closed. Data width in bit according to Data Bits attribute.
West edge:
Input: Signal to be copied to output when switch is closed. Data width in bit according to Data Bits attribute.

Attributes

When the component is selected or being added, the arrow keys alter its Facing attribute.

Facing
The side of the component where its output pin should be.
Data Bits
The bit width of the value placed onto the wire.
Color
The color of the switch background.
Label
The text within the label associated with the component.
Label Location
The location of the label relative to the component.
Label Font
The font with which to render the label.

Poke Tool Behavior

Each left-click on the switch toggles it from one state to another.

Text Tool Behavior

Allows you to modify the label associated with the component.

Back to Library Reference