Demultiplexer select one output from the multiple output line and fetch the single input through selection line. VHDL Code for 1 to 4 Demux described below.