Performing constant modulo arithmetic
Abstract
A binary logic circuit for determining y=x mod(2 m −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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A binary logic circuit for reducing x to a sum of a first m-bit integer) β and a second m-bit integer γ, for use in determining y=x mod(2 m −1), where x is an n-bit integer, y is an m-bit integer, and n>m, the binary logic circuit comprising fixed function reduction logic configured to: interpret x as a sum of m-bit rows x′, each row representing m consecutive bits of x such that each bit of x contributes to only one row and all of the bits of x are allocated to a row; reduce the sum of such m-bit rows x′ in a series of reduction steps so as to generate the sum of the first m-bit integer β
- Claim 2Depends on #1
The binary logic circuit as claimed in claim 1 , wherein each reduction step comprises summing a plurality of the m-bit rows of x′ so as to generate a sum of one or more fewer m-bit rows.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (4)
Non-Patent Literature (2)
- Chang et al., "A Configurable Dual Moduli Multi-Operand Modulo Adder," IEEE ISCAS Jun. 2005, vol. 2, No. 10, pp. 1630-1633.
- Chang, et al., A Configurable Dual Moduli Multi-Operand Modulo Adder, IEEE, 2005 (Year: 2015).