Forum Discussion
Altera_Forum
Honored Contributor
13 years agovhdl don't care problem
Hello. I am making priority encoder in vhdl and I want to use process, case statement and don't care statement. This is my code and compile is done very well. but in model_sim, the output is alw...
Altera_Forum
Honored Contributor
13 years agoanother way out. don't use don't care.
if (input = "00000001") then binary_out <= "000"; elsif (input(7 downto 1) = "0000001") then binary_out <= "001"; elsif (input(7 downto 2) = "000001") then binary_out <= "010"; ... ...