One hot decoder

A one hot decoder has \(n\) inputs and \(2^n\) outputs, where each combination of inputs corresponds to an output of 1.