Multiplexer
Data Inputs: A, B, C D
Switches: a, b
Outputs: Q
LEDs: Green = 1, Red = 0
Switches impact what data input is selected.
Truth Table:
b is on top, a is on the bottom
b a D C B A Q
0 0 x x x 1 1
0 1 x x 1 x 1
1 0 x 1 x x 1
1 1 1 x x x 1
Digital Display:
b = 0, a =0, LED = 1st, Display = 1
b = 0, a = 1, LED = 2nd, Display = 2
b = 1, a = 0, LED = 3rd, Display = 4
b = 1, a = 1, LED = 4th, Display = 8