Redstonery › Learn › Build decisions from gates
Learning path 02 of 6
Build decisions from gates
Use truth tables to progress from one decision to selection and arithmetic. 12 circuits, each one running in the simulator with a prediction to make before you run it.
The steps
- NOT gate
Invert one decision.
Concepts: Boolean logic, Truth tables, Settling - AND gate
Require two conditions at the same time.
Concepts: Boolean logic, Truth tables, Settling - OR gate
Let either control enable an output.
Concepts: Boolean logic, Truth tables, Settling - NAND gate
Make the both-active state the only off state.
Concepts: Boolean logic, Truth tables, Settling - NOR gate
Detect that no input is active.
Concepts: Boolean logic, Truth tables, Settling - XOR gate
Detect a disagreement between two inputs.
Concepts: Boolean logic, Truth tables, Settling - XNOR gate
Detect that two inputs agree.
Concepts: Boolean logic, Truth tables, Settling - 2-to-1 multiplexer
Choose which input is allowed to become the output.
Concepts: Selection, Composition, Data and control - 1-to-2 demultiplexer
Send one input toward a selected output.
Concepts: Routing, One-hot output, Data and control - 2-to-4 decoder
Translate a binary input pattern into a selected line.
Concepts: Binary encoding, Decoding, One-hot signals - Half adder
Add two bits and keep both sum and carry.
Concepts: Binary arithmetic, Sum, Carry - Full adder
Add two data bits and an incoming carry.
Concepts: Binary arithmetic, Carry chain, Composition
What you will be able to do
- Invert one decision.
- Require two conditions at the same time.
- Let either control enable an output.
- Make the both-active state the only off state.
- Detect that no input is active.
- Detect a disagreement between two inputs.
- Detect that two inputs agree.
- Choose which input is allowed to become the output.
- Send one input toward a selected output.
- Translate a binary input pattern into a selected line.
- Add two bits and keep both sum and carry.
- Add two data bits and an incoming carry.
Other paths
Your first signalTrace a source, read strength, add delay, then make a decision.Shape events and timeSeparate levels, transitions, durations, and repeating cycles.Give a circuit memoryHold one bit, sample data, count events, then store a whole pattern.Sense, decide, and move itemsConnect inventory measurements to controlled transport and storage.Build in three dimensionsInspect layers, isolate routes, and leave room for mechanisms to move.