Chisel
Returns the number of bits set (i.e value is 1) in the input signal.
PopCount(UInt(29)) === UInt(4)
Returns the number of bits set (i.e value is 1) in the input signal.