Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

About styles of writing FSM

Hi, I find many people on their blog suggest coding FSM as follow. always @ (posedge clk or negedge rst_n) if(!rst_n) current_state <= IDLE; else current_state <= next_state; alw...