journal article·2022-12-02Open access

Performance Analysis of Hardware Implementations of Reverse Conversion from the Residue Number System

Viktor Kuchukov, Dmitry Telpukhov, Mikhail Babenko, Ilya Mkrtchan, Alexander Stempkovsky, Nikolay Kucherov, Tatiana Ermakova, Marine Grigoryan

Applied Sciences· Volume 12· Issue 23

Abstract

The Residue Number System (RNS) is a non-positional number system that allows parallel computations without transfers between digits. However, some operations in RNS require knowledge of the positional characteristic of a number. Among these operations is the conversion from RNS to the positional number system. The methods of reverse conversion for general form moduli based on the Chinese remainder theorem and the mixed-radix conversion are considered, as well as the optimized methods for special form moduli. In this paper, a method is proposed that develops the authors’ ideas based on the modified mixed-radix conversion and reference points. The modified method based on the mixed-radix conversion in this case makes it possible to replace the operation of finding the residue of division by a large modulo with the sequential calculation of the residue. The method of reference points allows to reduce the size of the stored information compared to the use of ROM to store all the residues of RNS. The application of this approach makes it possible to find a balance between the speed of the calculation and the hardware used, by varying the number of moduli of one method and the other.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cryptography and Residue Arithmetic · Numerical Methods and Algorithms · Advanced Data Storage Technologies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

North-Caucasus Center for Mathematical Research, North-Caucasus Federal University, 355017 Stavropol, Russia

Institute for Design Problems in Microelectronics, 124365 Moscow, Russia

Department of Applied Mathematics an Mathematical Modeling, North-Caucasus Federal University, 355017 Stavropol, Russia

Institute for System Programming of the Russian Academy of Sciences, 124681 Moscow, Russia

School of Computing, Communication and Business, Hochschule für Technik und Wirtschaft (University of Applied Sciences for Engineering and Economics), 10318 Berlin, Germany

Department of Higher Mathematics and Physics, National University of Architecture and Construction of Armenia, Yerevan 0009, Armenia

Funding

the North Caucasus Center for Mathematical Research · Ministry of Science and Higher Education of the Russian Federation · Russian Federation President Grant

References (18)

Show source-provided references
1. Garner, H.L. (1959, January 3–5). The residue number system. Proceedings of the Western Joint Computer Conference, San Francisco, CA, USA.10.1145/1457838.1457864 ↗
2. Brief Basis and History of Domestic Modular Computers. Origins of modular arithmetic
3. A new approach to the design of efficient residue generators for arbitrary moduli10.1109/TCSI.2013.2246211 ↗
4. Novel power-delay-area-efficient approach to generic modular addition10.1109/TCSI.2007.895369 ↗
5. Zimmermann, R. (1999, January 14–16). Efficient VLSI implementation of modulo (2n ± 1) addition and multiplication. Proceedings of the 14th IEEE Symposium on Computer Arithmetic, Adelaide, Australia.10.1109/ARITH.1999.762841 ↗
6. Tchernykh, A., Babenko, M., Shiriaev, E., Pulido-Gaytan, B., Cortés-Mendoza, J.M., Avetisyan, A., Drozdov, A.Y., and Kuchukov, V. (2022). An Efficient Method for Comparing Numbers and Determining the Sign of a Number in RNS for Even Ranges. Computation, 10.10.3390/computation10020017 ↗
7. Residue-to-binary conversion for general moduli sets based on approximate Chinese remainder theorem10.1080/00207160.2016.1247439 ↗
8. Design of RNS reverse converters with constant shifting to residue datapath channels10.1007/s11265-017-1238-6 ↗
9. Reverse Converters for the Moduli Set {2n, 2n−1 − 1, 2n − 1, 2n+1 − 1}(nEven)
10. RNS-to-Binary Converters for New Three-Moduli Sets {2k − 3,2k − 2,2k − 1} and {2k + 1,2k + 2, 2k + 3}10.1142/S0218126618502249 ↗
11. On reverse converters for arbitrary multi-moduli RNS10.1016/j.vlsi.2020.07.003 ↗
12. An improved RNS-to-binary converter for 7-modulus set {2n−5 − 1, 2n−3 − 1, 2n−2 + 1, 2n−1 − 1, 2n−1 + 1, 2n, 2n + 1} for n even
13. Multifunctional unit for reverse conversion and sign detection based on five-moduli set {22n, 2n + 1, 2n − 1, 2n + 3, 2n − 3}10.7494/csci.2021.22.1.3823 ↗
14. Majd, K.M., and Molahosseini, A.S. (2022, January 17–19). Energy-Efficient Residue-to-Binary Conversion Based on a Modulo-Adder-Free Architecture. Proceedings of the 2022 30th International Conference on Electrical Engineering (ICEE), Tehran, Iran.10.1109/ICEE55646.2022.9827392 ↗
15. An approximate sign detection method for residue numbers and its application to RNS division10.1016/0898-1221(94)90052-3 ↗
16. Residue-to-binary converters based on new Chinese remainder theorems10.1109/82.826745 ↗
17. (2022, November 16). Patent for Invention № 2744815 Russian Federation, Int. Cl. G06F 7/72. Device for Transferring Numbers from Residue Number System and Base-Radix Extensions: № 2020120649; Priority. 22.06.2020; Date of Publication. 16.03.2021/Babenko M.G., Kuchukov V.A., Chernykh A.N., Kucherov N.N.; Proprietor: Federalnoe Gosudarstvennoe Avtonomnoe Obrazovatelnoe Uchrezhdenie Vysshego Obrazovaniia “Severo-Kavkazskii Federalnyi Universitet” (RU).—13 p, Available online: https://fips.ru/ofpstorage/Doc/IZPM/RUNWC1/000/000/002/744/815/%D0%98%D0%97-02744815-00001/document.pdf.
18. Stempkovsky, A., Telpukhov, D., Mkrtchan, I., and Zhigulin, A. (2021, January 13–15). Reference Points Based RNS Reverse Conversion for General Moduli Sets. Proceedings of the International Conference on Mathematics and Its Applications in New Computer Systems, Stavropol, Russia.10.1007/978-3-030-97020-8_23 ↗