130 likes | 258 Views
Multiplexer as a Universal Function Generator. Lecture L6.7 Section 6.2. 4 x 1. MUX. s1. s0. Y. 0 0 C0 0 1 C1 1 0 C2 1 1 C3. Multiplexers. C0. C1. Y. C2. C3. s1. s0. 4 x 1. MUX. =XOR. 0 1 1 0. Multiplexers. s1. s0. Y. 0 1 1 0. C0. 0 0 C0
E N D
Multiplexer as a Universal Function Generator Lecture L6.7 Section 6.2
4 x 1 MUX s1 s0 Y 0 0 C0 0 1 C1 1 0 C2 1 1 C3 Multiplexers C0 C1 Y C2 C3 s1 s0
4 x 1 MUX =XOR 0 1 1 0 Multiplexers s1 s0 Y 0 1 1 0 C0 0 0 C0 0 1 C1 1 0 C2 1 1 C3 C1 Y C2 C3 s1 s0
4 x 1 MUX =AND 0 0 0 1 Multiplexers s1 s0 Y 0 0 0 1 C0 0 0 C0 0 1 C1 1 0 C2 1 1 C3 C1 Y C2 C3 s1 s0
4 x 1 MUX =OR 0 1 1 1 Multiplexers s1 s0 Y 0 1 1 1 C0 0 0 C0 0 1 C1 1 0 C2 1 1 C3 C1 Y C2 C3 s1 s0
4 x 1 MUX =NAND 1 1 1 0 Multiplexers s1 s0 Y 1 1 1 0 C0 0 0 C0 0 1 C1 1 0 C2 1 1 C3 C1 Y C2 C3 s1 s0
4 x 1 MUX =NOR 1 0 0 0 Multiplexers s1 s0 Y 1 0 0 0 C0 0 0 C0 0 1 C1 1 0 C2 1 1 C3 C1 Y C2 C3 s1 s0 Can you implement a logic circuit with THREE inputs using a 4 x 1 MUX?
Step 1 Implement the following logic equation using 2 x 1 MUXs Gout = x & !y # x & Gin # !y & Gin x = 0 A = !y & Gin x = 1 B = !y # Gin # !y & Gin
Step 2 A = !y & Gin y = 0 0-input = Gin y = 1 1-input = 0 B = !y # Gin # !y & Gin y = 0 0-input = 1 y = 1 1-input = Gin
4 x 1 MUX The variable Gout is 1 if x > y or if x = y and Gin = 1.
4 x 1 MUX Majority Circuit C0 0 C1 Y C2 s0 C3 s0 s2 s1 1