Skip to content
Digital logic (gates / K-map / truth table) templates

Physics — Logic: 2-to-1 multiplexer

Select line steers one of two inputs to the output.

Template previewDigital logic (gates / K-map / truth table)
2-to-1 multiplexerABSelG0G1G2G3YEvaluated: 3 inputs, 1 output, 8 rows — Y = A · ¬Sel + B · Sel.Y = A · ¬Sel + B · Sel

Make it your own.

title "2-to-1 multiplexer"
type gates
input A at (0,0)
input B at (0,3)
input Sel at (0,5)
gate NOT G0 at (2,5)
gate AND G1 at (4,0.5)
gate AND G2 at (4,3)
gate OR G3 at (7,1.7)
output Y at (10,1.7)
wire Sel G0
wire A G1
wire G0 G1
wire B G2
wire Sel G2
wire G1 G3
wire G2 G3
wire G3 Y