Design a circuit that receives 7 inputs and generates a 3-bit output. The output represents the number of ones at the inputs.
module add7bits(in, out);
input [6:0] in;
output [2:0] out;Use only full adders.
in is the input vector with 7 signals.
out is a 3-bit number representing the number of
ones at the inputs.