3-5
解(1):条件赋值语句
- 3到8译码器设计(条件赋值语句实现)
c11" => DOUT<="0010";
WHEN "0010" => DOUT<="0011";
WHEN "0110" => DOUT<="0100";
WHEN "0111" => DOUT<="0101";
WHEN "0101" => DOUT<="0110";
WHEN "0100" => DOUT<="0111";
WHEN "1100" => DOUT<="1000";
WHEN "1101" => DOUT<="1001";
WHEN "1111" => DOUT<="1010";
WHEN "1110" => DOUT<="1011";
WHEN "1010" => DOUT<="1100";
WHEN "1011" => DOUT<="1101";
WHEN "1001" => DOUT<="1110";
WHEN "1000" => DOUT<="1111";
WHEN OTHERS => NULL;
END CASE;
END PROCESS;
END BEHEAVE;