Forum Discussion
Altera_Forum
Honored Contributor
8 years agoYou could have used an if statemend and case statement inside the process:
process(weight, clk)
begin
if clk = '1' then
case weight is
when "00000" =>
when "00001" =>
.....
end case
end if;
end process;