Skip to content

Commit

Permalink
Merge pull request #246 from fayalalebrun/leading-zeroes
Browse files Browse the repository at this point in the history
Add CountLeadingZeroes to documentation
  • Loading branch information
andreasWallner authored Mar 23, 2024
2 parents 9774529 + fd2cca3 commit 473a7c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/SpinalHDL/Libraries/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ State less utilities
| CountOne(x : BitVector)
- UInt
- Return the number of bit set in ``x``
* - | CountLeadingZeroes(x : Bits)
- UInt
- Return the number of consecutive zero bits starting from the MSB
* - | MajorityVote(x : Seq[Bool])
| MajorityVote(x : BitVector)
- Bool
Expand Down

0 comments on commit 473a7c9

Please sign in to comment.