Sim/circuit3
From HDLBits
sim/circuit2Previous
Nextsim/circuit4
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/circuit2Previous
Nextsim/circuit4