4-to-1 Multiplexer Boolean Function
A multiplexer can implement a Boolean function by wiring its data inputs to fixed logic levels or variables. In this example, A and B are the select inputs of a 4-to-1 multiplexer. The data pattern 0, 1, 1, 0 makes the output high exactly when A and B differ, which is the XOR function. Reading the select combinations as truth-table addresses makes the method straightforward to verify. Change the four fixed data inputs to implement a different two-variable function without changing the multiplexer structure.
Open it in the AI editor with a prompt pre-filled — keep what works, change what doesn't.
Scenario
Implementing XOR with a multiplexer truth table.
Key decisions
- Select inputs: A and B address the truth table rows.
- Fixed data inputs: The 0, 1, 1, 0 pattern encodes XOR.
- Function output: F is the resulting Boolean function.
When to reuse this
Use this to show how a MUX can realize a Boolean truth table.
Frequently asked questions
How does a MUX implement XOR?
Which signals act as variables?
Can this implement XNOR?
More digital electronics examples
Try the diagram makers.
Tweak it with chat, export PNG/SVG, or fork it for your own use case.