/*立ち上がりクロックで状態が遷移*/
always @(posedge clk)
begin
currentState <= nextState ;
end
つぎの状態(別途計算)
レジスタの基本動作