only one of the n input line is active.internal logic with in the encoder converts active input to a coded binary output with m bits.
- what is multiplexer?
a multiplexer is a circuit with many inputs but only one output.by applying control signal we can steer any input to the output. the following figure shows
general idea of multiplexer.
- what is demultiplexer?
demultiplexer means one into many.it is a logic circuit with one input and many outputs.by applying control signals we can steer the input signals to one of the output lines.
the output bit is labeled as D and is transmitted to the data bit of the output lines.
it depands on the value of abcd,the control input.
when abcd=0000 the upper and gate is enabled and all other and gates are disabled. so data bit D is transmitted to the output Y0 thus Y0=D.
if d is low y0 is low if D is high Y0 is high.
inputs abc and d select when everytime information from one sourcr must be fed to sevral places.