IP PortfolioDatapath and DSPcode conversion
of_onehot2bin
One-hot to binary encoder
Maturity simulatedTargets FPGA + ASICDifficulty EasyPriority 1
One-hot to binary encoder (OR tree) with valid and not-one-hot error outputs.
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 | |
| y | out | parallel | 5 |
Standards
No external standard applies.
More in code conversion
| ID | Block | Maturity |
|---|---|---|
| of_bin2gray | Binary to Gray converter | fpga-routed |
| of_gray2bin | Gray to binary converter | simulated |
| of_bin2onehot | Binary to one-hot decoder | simulated |