Performing constant modulo arithmetic
AssigneeImagination Technologies Limited
InventorThomas Rose
Life of this patent
Estimating the term…
Loading patent…
AssigneeImagination Technologies Limited
InventorThomas Rose
Estimating the term…
A binary logic circuit for determining y=x mod(2m−1), where x is an n-bit integer, y is an m-bit integer, and n>m, includes reduction logic configured to reduce x to a sum of a first m-bit integer β and a second m-bit integer γ; and addition logic configured to calculate an addition output represented by the m least significant bits of the following sum right-shifted by m: a first binary value of length 2m, the m most significant bits and the m least significant bits each being the string of bit values represented by β; a second binary value of length 2m, the m most significant bits and the m least significant bits each being the string of bit values represented by γ; and the binary value 1.
A binary logic circuit for determining y=mod(2m−1), where x is an n-bit integer, y is an m-bit integer, and n>m, the binary logic circuit comprising:
A method for determining y=x mod(2m−1) in a binary logic circuit comprising fixed function reduction logic and fixed function addition logic, where x is an n-bit integer, y is an m-bit integer, and n≥m, the method comprising:
A non-transitory computer readable storage medium having stored thereon computer readable instructions that, when processed at a computer system for generating a manifestation of an integrated circuit, cause the computer system to generate a manifestation of a binary logic circuit for determining y=x mod(2m−1), where x is an n-bit integer, y is an m-bit integer, and n>m, the binary logic circuit comprising:
Dependencies are inferred from the claim text.