diff --git a/source/SpinalHDL/Libraries/utils.rst b/source/SpinalHDL/Libraries/utils.rst index f89c60754f9..95447544a4c 100644 --- a/source/SpinalHDL/Libraries/utils.rst +++ b/source/SpinalHDL/Libraries/utils.rst @@ -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