Fsm2
From HDLBits
This is a Moore state machine with two states, two inputs, and one output. Implement this state machine.
This exercise is the same as fsm2s, but using asynchronous reset.
Module Declaration
module top_module( input clk, input areset, // Asynchronous reset to OFF input j, input k, output out);