Give your circuit an input
Place an input pin
Use the input pin tool in the toolbar, or open the Wiring library in the tree and choose Pin. The Type in its Properties should read Input.
Check: A square pin with a 0 appears on the canvas.
Pick the Poke tool
The Poke tool is the active tool when a file opens in 5.0.0 (F83).
Check: The hand tool is highlighted in the toolbar.
Click the pin
Each click toggles a 1-bit pin. Everything downstream recalculates at once.
Check: The bit flips and the circuit reacts.
The half adder after one click on input A with the Poke tool: A shows 1, the sum output S shows 1 and the carry output C shows 0. A magenta ring marks the click.
Multi-bit inputs
Set Data Bits in the Properties panel. A 4-bit pin is drawn with four bit boxes, and the Radix property sets how its value is written. The window also has “Enter Decimal” and “Enter Float” dialogs for typing a value (the strings are in 5.0.0); we did not open them.
Constants, Power and Ground
A Constant has a Value, written in hex, and Data Bits. Power is always 1 and Ground always 0. Use one when an input should never change, for example a carry-in that is always 0. In our test a 4-bit Constant with value 0xA read 1010 on a 4-bit output pin, Power read 1 and Ground read 0 (F100).
Describe this circuit
Components: Constant 1; Output pin K; Power 1; Output pin V; Ground 1; Output pin G.
- Constant 1 connects to Output pin K (net K), 4 bits wide.
- Power 1 connects to Output pin V (net V).
- Ground 1 connects to Output pin G (net G).
Download the circuit.
Clock
A Clock is an input that changes by itself. See Clock, ticks and simulation controls.
Buttons and switches
The Input/Output libraries have Button, DIP Switch and a Switch in the extra library; the notes list a Two-Way Switch new in 5.0.0. See the component reference.
See an output
| Output pin | Yes, it ends a net | Yes, if it has a label (column per labelled pin) | Radix property |
|---|---|---|---|
| Probe | No: it reads the net it touches | No (F100) | Radix property |
| LED | Yes | No, it is for the picture | A single bit |
| Hex Digit Display | Yes | No | Hexadecimal |
No rows match.
Only labelled pins become columns in --tty table output and in test vectors (F05, F100). Our circuit with a probe printed just the columns A and Y:
Describe this circuit
Components: Input pin A; NOT Gate 1; Output pin Y; Probe P.
- Input pin A connects to NOT Gate 1 (net A).
- NOT Gate 1 connects to Output pin Y, Probe P (net Y).
The rows for LED and Hex Digit Display describe how they are meant to be used; we did not test them here.
Reading U, E and orange on a pin
- U: nothing drives the net. An output pin with nothing connected read U in our test (F08, F100).
- E: two drivers disagree (F07).
- Orange wire, “Incompatible widths”: a 4-bit wire meets a 1-bit pin. The output pin reads U (F09, F100).
- Grey wires and 0 on every pin right after opening a file, until one click on the canvas or Ctrl+R (F45, F49).
Describe this circuit
Components: Input pin A; Output pin Y.
- Input pin A connects to Output pin Y (net A, Y), 4 bits wide.
Each of these is explained with colours in Wire colours.
Pin attributes
This is the list the Properties panel showed for a pin in 5.0.0 (F100):
Two Properties panels side by side. Left, an input pin named A: FPGA supported, Facing East, Type Input, Data Bits 1, Behavior Simple, Label A, Label Location West, Label Font SansSerif Bold 16, Radix Binary, Appearance Classic Logisim and Reset value 0x0. Right, an output pin named C with the same list but without Behavior and Reset value.
| Facing | Both | The side the pin's connection faces. |
|---|---|---|
| Type | Both | Input or Output. |
| Data Bits | Both | Width of the value. |
| Behavior | Input only | Simple, Tri-state, Pull Down or Pull Up. Per the project: Simple drives what you set; Tri-state lets you set a bit to floating; the pull options replace a floating bit with 0 or 1. |
| Reset value | Input only | The value after Reset Simulation. It was 0x0 in our run. |
| Label, Label Location, Label Font | Both | The label is the column name in test vectors. |
| Radix | Both | Binary was selected. The project lists the other radixes as octal, decimal, hexadecimal and float. |
| Appearance | Both | Classic Logisim in our run. |
| FPGA supported | Both | Shown as a status line. |
No rows match.
An output pin has no Behavior property. In our test, writing Pull Down or Pull Up into an output pin’s file attributes left it reading U.