VHDL では、同じ変数を使用する case ステートメント内の変数を更新できますか? case ステートメントは、rising_edge(clk) ブロック内にあります。ありがとうございました。
case State_var is
when "00" =>
if (Valid= '1') then
State_var := "00";
else
State_var := "01";
end if;
when "01" =>
if (Valid = '1') then
State_var := "00";
else
State_var := "10";
end if;
when "10" =>
if (Valid = '1') then
State_var := "11";
else
State_var := "01";
end if;
when "11" =>
if (Valid = '1') then
State_var := "11";
else
State_var := "10";
end if;
when others => null;
end case;