3 ms·
The number of gates required for popcount scales linearly with the input size. It's much, much smaller than a multiplier.
by atq2119 7y ago
The number of gates required for popcount scales linearly with the input size. It's much, much smaller than a multiplier.
- ryacko 7y agoNo, it would scale logarithmically if you want to minimize latency.
- atq2119 7y agoIt cannot scale logarithmically because you need at least a linear number of gates to represent the inputs. It doesn't have to scale superlinearly either, because the natural circuit using a linear number of adders is already of a logarithmic depth, which is best possible asymptotically.