Sim/circuit5
From HDLBits
sim/circuit4Previous
Nextsim/circuit6
This is a combinational circuit. Read the simulation waveforms to determine what the circuit does, then implement it.
Simulation 1
Simulation 2
Module Declaration
module top_module ( input [3:0] a, input [3:0] b, input [3:0] c, input [3:0] d, input [3:0] e, output [3:0] q );
sim/circuit4Previous
Nextsim/circuit6