Software Development, Fpga Design, Hardware, Programming, IoT.
always @(posedge i_Clk or posedge i_Reset) begin if (i_Reset) r_Curr_State <= LOCKED; // Oh look, it's trying to be secure! else r_Curr_State <= r_Next_State; // A wild guess appears! end // Next state determination always @(r_Curr_State or i_Coin or i_Push) begin r_Next_State <= r_Curr_State; // I