Sim/circuit2
From HDLBits
sim/circuit1Previous
Nextsim/circuit3
This is a combinational circuit. Read the simulation waveforms to determine what the circuit does, then implement it.
Module Declaration
module top_module ( input a, input b, input c, input d, output q );
sim/circuit1Previous
Nextsim/circuit3