Invention Grant
- Patent Title: Verifying the correctness of a leading zero counter
-
Application No.: US17704938Application Date: 2022-03-25
-
Publication No.: US12056465B2Publication Date: 2024-08-06
- Inventor: Michael Klein , Petra Leber , Cedric Lichtenau , Stefan Payer , Kerstin Claudia Schelm
- Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Applicant Address: US NY Armonk
- Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
- Current Assignee Address: US NY Armonk
- Agent Randy Emilio Tejeda
- Main IPC: G06F7/74
- IPC: G06F7/74

Abstract:
Verifying the correctness of a leading zero counter, including: generating, based on an input value comprising a plurality of digits, a first bit vector, wherein each entry of the first bit vector indicates whether a corresponding digit of the input value is equal to zero; calculating, based on the first bit vector, a leading zero count for the input value; generating a bit mask comprising a number of leading ones equal to the leading zero count; generating a second bit vector comprising a one at a same index as a first occurring zero in the bit mask; and verifying the leading zero count based on the first bit vector and one or more of the bit mask and the second bit vector.
Public/Granted literature
- US20230315394A1 VERIFYING THE CORRECTNESS OF A LEADING ZERO COUNTER Public/Granted day:2023-10-05
Information query