Efficient Implementations of Residue Generators Mod 2n1 Providing Diminished-1 Representation+
Stanisław J. Piestrak, Piotr Patronik
Key points
From the paper's conclusion- Therefore, it is desirable that the input converter from the positional number system to RNS (composed of a set of residue generators) generate the residues mod 2n+1 in D1 form.
Abstract
The moduli of the form 2n+1 belong to a class of low-cost odd moduli, which have been frequently selected to form the basis of various residue number systems (RNS). The most efficient computations modulo (mod) 2n+1 are performed using the so-called diminished-1 (D1) representation. Therefore, it is desirable that the input converter from the positional number system to RNS (composed of a set of residue generators) generate the residues mod 2n+1 in D1 form. In this paper, we propose a new universal architecture of the residue generator mod 2n+1 with D1 output composed of two basic blocks. Its first block with p primary inputs can be easily designed for any p≥4n, whereas its final block—the 4-operand adder mod 2n+1—preserves the same structure for any p. If a pair of conjugate moduli 2n±1 belongs to the RNS moduli set, the latter architecture can be easily extended to build p-input bi-residue generators mod 2n±1, which not only save hardware by sharing p−4n full-adders, but also generate the residue mod 2n+1 directly in D1 form.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Design and Implementation of a Programmable Rational Function Evaluator Using Parallel Estrin Evaluation and Newton-Raphson DivisionElectronics · 2026
- Exhaustive Evaluation of Fixed-Point Reciprocal Architectures for FPGAsarXiv · 2026
- A Fractional Interpretation of Modular Encodings via Continued Fractions.Entropy (Basel, Switzerland) · 2026
- Fast Evaluation of Polynomials with Rational PreprocessingarXiv · 2026
- Cyclic Self-Dual Codes over Prime-Square Rings and Unimodular LatticesarXiv · 2026
- FoldNTT: A Multiplier- and Twiddle-Lean NTT Core with Formally Verified Arithmetic for Proth PrimesarXiv · 2026