A decoder is a multiple-input, multiple-output combinational logic circuit. It converts the n bit data inputs into the coded 2n data outputs.