High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}

The Residue Number System (RNS) is a non-weighted number system. Benefiting from its inherent parallelism, RNS has been widely studied and used in Digital Signal Processing (DSP) systems and cryptography. However, since the dynamic range in RNS has been fixed by its moduli set, it is hard to solve t...

Full description

Bibliographic Details
Main Authors: Shang Ma, Shuai Hu, Zeguo Yang, Xuesi Wang, Meiqing Liu, Jianhao Hu
Format: Article
Language:English
Published: MDPI AG 2021-05-01
Series:Electronics
Subjects:
Online Access:https://www.mdpi.com/2079-9292/10/9/1113
id doaj-4f929db8d38a4898920b9d637e5b400b
record_format Article
spelling doaj-4f929db8d38a4898920b9d637e5b400b2021-05-31T23:28:49ZengMDPI AGElectronics2079-92922021-05-01101113111310.3390/electronics10091113High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}Shang Ma0Shuai Hu1Zeguo Yang2Xuesi Wang3Meiqing Liu4Jianhao Hu5National Key Laboratory of Science and Technology on Communications, University of Electronic Science and Technology of China, 510, Main Building, No. 2006, Xiyuan Ave, West Hi-Tech District, Chengdu 611731, ChinaNational Key Laboratory of Science and Technology on Communications, University of Electronic Science and Technology of China, 510, Main Building, No. 2006, Xiyuan Ave, West Hi-Tech District, Chengdu 611731, ChinaNational Key Laboratory of Science and Technology on Communications, University of Electronic Science and Technology of China, 510, Main Building, No. 2006, Xiyuan Ave, West Hi-Tech District, Chengdu 611731, ChinaNational Key Laboratory of Science and Technology on Communications, University of Electronic Science and Technology of China, 510, Main Building, No. 2006, Xiyuan Ave, West Hi-Tech District, Chengdu 611731, ChinaNational Key Laboratory of Science and Technology on Communications, University of Electronic Science and Technology of China, 510, Main Building, No. 2006, Xiyuan Ave, West Hi-Tech District, Chengdu 611731, ChinaNational Key Laboratory of Science and Technology on Communications, University of Electronic Science and Technology of China, 510, Main Building, No. 2006, Xiyuan Ave, West Hi-Tech District, Chengdu 611731, ChinaThe Residue Number System (RNS) is a non-weighted number system. Benefiting from its inherent parallelism, RNS has been widely studied and used in Digital Signal Processing (DSP) systems and cryptography. However, since the dynamic range in RNS has been fixed by its moduli set, it is hard to solve the overflow problem, which can be easily solved in Two’s Complement System (TCS) by expanding the bit-width of it. For the multiplication in RNS, the traditional way to deal with overflow is to scale down the inputs so that the result can fall in its dynamic range. However, it leads to a loss of precision. In this paper, we propose a high-precision RNS multiplier for three-moduli set <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mfenced separators="" open="{" close="}"><msup><mn>2</mn><mi>n</mi></msup><mo>−</mo><mn>1</mn><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>+</mo><mn>1</mn></mfenced></semantics></math></inline-formula>, which is the most used moduli set. The proposed multiplier effectively improves the calculation precision by adding several compensatory items to the result. The compensatory items can be obtained directly from preceding scalers with little extra effort. To the best of our knowledge, we are the first one to propose a high-precision RNS multiplier for the moduli set <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mfenced separators="" open="{" close="}"><msup><mn>2</mn><mi>n</mi></msup><mo>−</mo><mn>1</mn><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>+</mo><mn>1</mn></mfenced></semantics></math></inline-formula>. Simulation results show that the proposed RNS multiplier can get almost the same calculation precision as the TCS multiplier with respect to Mean Square Error (MSE) and Signal-to-Noise Ratio(SNR), which outperforms the basic scaling RNS multiplier about 2.6–3 times with respect to SNR.https://www.mdpi.com/2079-9292/10/9/1113residue number systemscalermultiplierChinese remainder theoremvery large scale integration circuits
collection DOAJ
language English
format Article
sources DOAJ
author Shang Ma
Shuai Hu
Zeguo Yang
Xuesi Wang
Meiqing Liu
Jianhao Hu
spellingShingle Shang Ma
Shuai Hu
Zeguo Yang
Xuesi Wang
Meiqing Liu
Jianhao Hu
High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}
Electronics
residue number system
scaler
multiplier
Chinese remainder theorem
very large scale integration circuits
author_facet Shang Ma
Shuai Hu
Zeguo Yang
Xuesi Wang
Meiqing Liu
Jianhao Hu
author_sort Shang Ma
title High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}
title_short High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}
title_full High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}
title_fullStr High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}
title_full_unstemmed High Precision Multiplier for RNS {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}
title_sort high precision multiplier for rns {2<sup>n</sup>−1,2<sup>n</sup>,2<sup>n</sup>+1}
publisher MDPI AG
series Electronics
issn 2079-9292
publishDate 2021-05-01
description The Residue Number System (RNS) is a non-weighted number system. Benefiting from its inherent parallelism, RNS has been widely studied and used in Digital Signal Processing (DSP) systems and cryptography. However, since the dynamic range in RNS has been fixed by its moduli set, it is hard to solve the overflow problem, which can be easily solved in Two’s Complement System (TCS) by expanding the bit-width of it. For the multiplication in RNS, the traditional way to deal with overflow is to scale down the inputs so that the result can fall in its dynamic range. However, it leads to a loss of precision. In this paper, we propose a high-precision RNS multiplier for three-moduli set <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mfenced separators="" open="{" close="}"><msup><mn>2</mn><mi>n</mi></msup><mo>−</mo><mn>1</mn><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>+</mo><mn>1</mn></mfenced></semantics></math></inline-formula>, which is the most used moduli set. The proposed multiplier effectively improves the calculation precision by adding several compensatory items to the result. The compensatory items can be obtained directly from preceding scalers with little extra effort. To the best of our knowledge, we are the first one to propose a high-precision RNS multiplier for the moduli set <inline-formula><math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><semantics><mfenced separators="" open="{" close="}"><msup><mn>2</mn><mi>n</mi></msup><mo>−</mo><mn>1</mn><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>,</mo><msup><mn>2</mn><mi>n</mi></msup><mo>+</mo><mn>1</mn></mfenced></semantics></math></inline-formula>. Simulation results show that the proposed RNS multiplier can get almost the same calculation precision as the TCS multiplier with respect to Mean Square Error (MSE) and Signal-to-Noise Ratio(SNR), which outperforms the basic scaling RNS multiplier about 2.6–3 times with respect to SNR.
topic residue number system
scaler
multiplier
Chinese remainder theorem
very large scale integration circuits
url https://www.mdpi.com/2079-9292/10/9/1113
work_keys_str_mv AT shangma highprecisionmultiplierforrns2supnsup12supnsup2supnsup1
AT shuaihu highprecisionmultiplierforrns2supnsup12supnsup2supnsup1
AT zeguoyang highprecisionmultiplierforrns2supnsup12supnsup2supnsup1
AT xuesiwang highprecisionmultiplierforrns2supnsup12supnsup2supnsup1
AT meiqingliu highprecisionmultiplierforrns2supnsup12supnsup2supnsup1
AT jianhaohu highprecisionmultiplierforrns2supnsup12supnsup2supnsup1
_version_ 1721417385550807040