Fill in the architecture to implement a 7-bit thermometer decoder.
The 3-bit input represents the values 0-7, and the result should have the
corresponding number of bits set high on the output. The bits should go on
from "least" to "greatest", like mercury rising in a thermometer.
entity thermometer is
value : in std_logic_vector(2 downto 0);
therm : out std_logic_vector(6 downto 0)
architecture synth of thermometer is
-- This doesn't work for most of the cases...
therm <= "0000000";