A Generic Modulo- $(2^{n}\pm\delta)$ Addition Algorithm via Two-Valued Digit Encoding

Modular adders are essential arithmetic components in Residue Number System (RNS)-based applications, including digital signal processing, cryptography, and machine learning. These applications consistently push the boundaries of dynamic range (DR) and operating frequency, making the design of efficient generic modular adders a critical and evolving challenge. This paper presents a novel algorithm for modulo <tex>$-(2^{n}\pm \delta)$</tex> addition, where <tex>$\delta$</tex> is an integer within the range <tex>$0\leq\delta\leq 2^{n-1}-1$</tex>. The proposed approach leverages a two-valued digit (twit) for encoding the value of <tex>$\pm\delta$</tex> and uses a faithful representation of operands. In this representation, each operand is encoded as an n-bit unsigned number augmented by a twit value <tex>$\{0,\pm\delta\}$</tex>. The algorithm efficiently performs modular addition by speculating and adjusting the twit value in the addition result. When the result exceeds the modulus, it subtracts <tex>$\mathrm{z}^{n}\pm\delta$</tex> by ignoring the carry-out and adjusting the speculated twit value. This adjustment is achieved through an XOR operation between the carry-out and the speculated twit value, simplifying the modular reduction process. The proposed design has been synthesized for practical n <tex>$(4\leq n\leq 16$</tex> using a FreePDK 45 nm process. The results demonstrate superior performance across key metrics such as delay, area, and power consumption compared to previous designs, highlighting the efficacy and scalability of the approach.

Authors

Institutions

Publication Details

Published
2025-05-04
DOI
https://doi.org/10.1109/arith64983.2025.00023
Primary Topic
Digital Filter Design and Implementation
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Generic Modulo- $(2^{n}\pm\delta)$ Addition Algorithm via Two-Valued Digit Encoding

Saeid Gorgin, Dara Rahmati, Alireza Vafaei Sadr, Jung Rae Kim
Digital Filter Design and Implementation
article

A Generic Modulo- $(2^{n}\pm\delta)$ Addition Algorithm via Two-Valued Digit Encoding

Saeid Gorgin, Dara Rahmati, Alireza Vafaei Sadr, Jung Rae Kim
article en

Abstract

Modular adders are essential arithmetic components in Residue Number System (RNS)-based applications, including digital signal processing, cryptography, and machine learning. These applications consistently push the boundaries of dynamic range (DR) and operating frequency, making the design of efficient generic modular adders a critical and evolving challenge. This paper presents a novel algorithm for modulo <tex>$-(2^{n}\pm \delta)$</tex> addition, where <tex>$\delta$</tex> is an integer within the range <tex>$0\leq\delta\leq 2^{n-1}-1$</tex>. The proposed approach leverages a two-valued digit (twit) for encoding the value of <tex>$\pm\delta$</tex> and uses a faithful representation of operands. In this representation, each operand is encoded as an n-bit unsigned number augmented by a twit value <tex>$\{0,\pm\delta\}$</tex>. The algorithm efficiently performs modular addition by speculating and adjusting the twit value in the addition result. When the result exceeds the modulus, it subtracts <tex>$\mathrm{z}^{n}\pm\delta$</tex> by ignoring the carry-out and adjusting the speculated twit value. This adjustment is achieved through an XOR operation between the carry-out and the speculated twit value, simplifying the modular reduction process. The proposed design has been synthesized for practical n <tex>$(4\leq n\leq 16$</tex> using a FreePDK 45 nm process. The results demonstrate superior performance across key metrics such as delay, area, and power consumption compared to previous designs, highlighting the efficacy and scalability of the approach.

Institute for Research in Fundamental Sciences (IR), Shahid Beheshti University (IR), Sungkyunkwan University (KR)
Institute for Information and Communications Technology Promotion
Openalex Percentile: Top 82%
Digital Filter Design and Implementation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Generic Modulo- $(2^{n}\pm\delta)$ Addition Algorithm via Two-Valued Digit Encoding — Saeid Gorgin, Dara Rahmati, et al. · (2025) | TGRS Research Map | TGRS