Decoder

easy

A decoder receives a binary address and asserts exactly one of its outputs.

1.

For an input vector of width N, what is the width of the output vector?

2.

Build a 2-to-4 decoder.

3.

Build a 3-to-8 decoder.

4.

Explain what a pre-decoder is, why it is used, and demonstrate it on a 4-to-16 decoder.