mux vs demux

Thread Starter

ckaiser813

Joined Jan 21, 2009
17
I just want to verify that this is the correct truth table for my mux and demux

Demux
S2 S1 S0 OUT
0 0 0 D7
0 0 1 D6
0 1 0 D5
0 1 1 D4
1 0 0 D3
1 0 1 D2
1 1 0 D1
1 1 1 D0

MUX
S2 S1 S0 OUT
0 0 0 D0
0 0 1 D1
0 1 0 D2
0 1 1 D3
1 0 0 D4
1 0 1 D5
1 1 0 D6
1 1 1 D7

Is this correct?
 

Thread Starter

ckaiser813

Joined Jan 21, 2009
17
im using this for vhdl code but after i looked up the data sheet it had the same logic equation I had for my code so I assume i'm right
 
Top