what is the exact difference between decoder and demultiplex

Status
Not open for further replies.

nee_naresh04

Member level 2
Joined
Dec 15, 2005
Messages
47
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,657
what is the exact difference between decoder and demultiplex
 

Re: what is the exact difference between decoder and demulti

It will look very much like the decoder. I think only difference is:
In the Demux you select one of outputs and drive it by the input.
DEMUX(i, s[0:1], o[0:3]) -->
if (s=00) o[0] = i;
if (s=01) o[1] = i;
if (s=10) o[2] = i;
if (s=11) o[3] = i;

But in the decoder you activate one of outputs based on decoded inputs.
Decoder(s[0:1], o[0:3]) -->
if (s=00) o[0:3] = 1000;
if (s=01) o[0:3] = 0100;
if (s=10) o[0:3] = 0010;
if (s=11) o[0:3] = 0001;

RGDS
KH
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…