IP PortfolioDatapath and DSPbit manipulation
of_popcount
Population count
Maturity simulatedTargets FPGA + ASICDifficulty EasyPriority 1
Population count (number of set bits) with a balanced adder tree.
Simulated. The RTL is lint clean and passes its self-checking testbench against a reference model in simulation. It has not been run on an FPGA board or in silicon.
Interfaces
| Port | Direction | Kind | Width | Notes |
|---|---|---|---|---|
| a | in | parallel | 32 | |
| cnt | out | parallel | 6 |
Standards
No external standard applies.
More in bit manipulation
| ID | Block | Maturity |
|---|---|---|
| of_lzc | Leading-zero / leading-one counter | fpga-routed |
| of_prienc | Priority encoder | simulated |
| of_shifter | Barrel shifter / rotator | simulated |
| of_bitrev | Bit, byte and nibble reverse / swap | planned |
| of_bitmanip_rv | RISC-V bit-manipulation unit | planned |
| of_clmul | Carry-less multiplier | planned |