Sim/circuit9
From HDLBits
sim/circuit8Previous
Nextsim/circuit10
This is a sequential circuit. Read the simulation waveforms to determine what the circuit does, then implement it.
Module Declaration
module top_module ( input clk, input a, output [3:0] q );
sim/circuit8Previous
Nextsim/circuit10