VHDL BCD-to-Binary Encoder Question



I was asked the following question:

Write the VHDL assignment operator for the Y2 output (most significant bit) of a BCD-to-binary encoder. Use Boolean operators, D0-D9 as the data inputs lines, and Y0-Y2 for the outputs. Inputs and outputs are active-HIGH. Please note that ONLY one VHDL statement is needed, don't write a whole program.
I am having several problems with this question:

  • First, wouldn't this need a Y3 to be able to represent all decimal...

VHDL BCD-to-Binary Encoder Question