Components / Wiring
Input Pin & Output Pin in Logisim
Interactive input source and output monitor in Logisim; toggle 0 and 1 live with the Poke tool or inspect multi-bit buses.
| Library | Wiring |
|---|---|
| Type name | Pin |
| Pins and defaults | in0/out0, width 1..32, output false/true |
How the Input Pin Works in Logisim
The Pin component is the primary way to feed signals into a Logisim circuit and inspect the results. When Output is false (the default Input Pin, drawn as a square box), it acts as an interactive signal driver whose bits you can toggle between 0 and 1 at any time during simulation.
To change an Input Pin value while simulating, switch to the Poke tool (the hand icon in the toolbar) and click directly on the bit inside the pin box. If you click the pin with the Select tool (arrow icon) instead, you select and move the component on the canvas or edit its attributes in the inspector rather than toggling its logic state.
Setting the Data Bits (width) attribute from 1 up to 32 turns a single-bit Pin into a multi-bit bus pin. When Output is set to true, the Pin switches from driving the wire to reading and displaying the incoming wire or bus value, which is also how Logisim grades subcircuit ports and daily challenge outputs.
Compared with other Wiring and I/O parts: an Input Pin holds whatever state you poke into it until you click it again, whereas a Button only outputs 1 while you hold the mouse button down, a Constant outputs a hardwired value that cannot be poked, and a Probe is a pure read-only display.
Tip: If clicking an Input Pin moves it instead of toggling 0 and 1, switch from the Select tool to the Poke tool in the top toolbar.
Input Pin Pins & Pinout
| Pin | Direction | Width | Location & Role |
|---|---|---|---|
| out0 (Input mode) | Output (drives wire) | 1–32 bits | Located at (0, 0) on the east edge by default; drives the user-selected 0/1 or multi-bit bus value onto the attached net. |
| in0 (Output mode) | Input (reads wire) | 1–32 bits | Active when output=true; samples and displays the incoming wire state (0, 1, Z, or E). |
Input Pin Truth Table & Behavior
| Mode (output attr) | Poke Tool Action | Wire State Driven / Displayed |
|---|---|---|
| Input Pin (output=false) | Click bit to toggle 0 ↔ 1 | Drives 0 (dark green) or 1 (bright green) onto the net |
| Output Pin (output=true) | Read-only monitor | Displays 0, 1, Z (blue floating), or E (red conflict) from the net |