journal article·2020-01-19Open access

A Division Algorithm in a Redundant Residue Number System Using Fractions

Nikolay Chervyakov, Pavel Lyakhov, Mikhail Babenko, Irina Lavrinenko, Maxim Deryabin, Anton Lavrinenko, Anton Nazarov, Maria Valueva, Alexander Voznesensky, Dmitry Kaplun

Applied Sciences· Volume 10· Issue 2

Abstract

The residue number system (RNS) is widely used for data processing. However, division in the RNS is a rather complicated arithmetic operation, since it requires expensive and complex operators at each iteration, which requires a lot of hardware and time. In this paper, we propose a new modular division algorithm based on the Chinese remainder theorem (CRT) with fractional numbers, which allows using only one shift operation by one digit and subtraction in each iteration of the RNS division. The proposed approach makes it possible to replace such expensive operations as reverse conversion based on CRT, mixed radix conversion, and base extension by subtraction. Besides, we optimized the operation of determining the most significant bit of divider with a single shift operation of the modular divider. The proposed enhancements make the algorithm simpler and faster in comparison with currently known algorithms. The experimental simulation using Kintex-7 showed that the proposed method is up to 7.6 times faster than the CRT-based approach and is up to 10.1 times faster than the mixed radix conversion approach.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cryptography and Residue Arithmetic · Numerical Methods and Algorithms · Chaos-based Image/Signal Encryption

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

Affiliations

Department of Applied Mathematics and Mathematical Modeling, Institute of Mathematics and Natural Sciences, North-Caucasus Federal University, 355000 Stavropol, Russia

Department of Automation and Control Processes, Saint Petersburg Electrotechnical University “LETI”, 197376 Saint Petersburg, Russia

Department of Higher Algebra and Geometry, Institute of Mathematics and Natural Sciences, North-Caucasus Federal University, 355000 Stavropol, Russia

Funding

Russian Science Foundation

References (26)

Show source-provided references
1. Omondi, A., and Premkumar, B. (2007). Residue Number Systems: Theory and Implementation, Imperial College Press.10.1142/9781860948671 ↗
2. Szabo, N.S., and Tanaka, R.I. (1967). Residue Arithmetic and Its Applications to Computer Technology, McGraw-Hill.
3. Molahosseini, A.S., Sorouri, S., and Zarandi, A.A.E. (2012, January 14–17). Research challenges in next-generation residue number system architectures. Proceedings of the 7th International Conference on Computer Science & Education (ICCSE), Melbourne, Australia.10.1109/ICCSE.2012.6295382 ↗
4. Mohan, P.V.A. (2016). Residue Number Systems: Theory and Applications, Birkhäuser.10.1007/978-3-319-41385-3 ↗
5. Chervyakov, N.I., Lyakhov, P.A., Nagornov, N.N., Kaplun, D.I., Voznesenskiy, A.S., and Bogayevskiy, D.V. (2019, January 10–14). Implementation of Smoothing Image Filtering in the Residue Number System. Proceedings of the 2019 8th Mediterranean Conference on Embedded Computing (MECO), Budva, Montenegro.10.1109/MECO.2019.8760190 ↗
6. Younes, D., and Steffan, P. (2012, January 18–20). A comparative study on different moduli sets in residue number system. Proceedings of the International Conference on Computer Systems and Industrial Informatics (ICCSII), Sharjah, UAE.10.1109/ICCSII.2012.6454344 ↗
7. An FFT circuit for a spectrometer of a radio telescope using the nested RNS including the constant division10.1145/3039902.3039911 ↗
8. A new residue number division algorithm10.1016/0898-1221(90)90190-U ↗
9. Chiang, J.-S., and Lu, M. (1991, January 26–28). A general Division Algorithm for Residue Number Systems. Proceedings of the 10th IEEE Symposium on Computer Arithmetic, Grenoble, France.
10. Binary-ternary plus-minus modular inversion in rns10.1109/TC.2016.2529625 ↗
11. A novel division algorithm for Residue Number Systems10.1109/12.156545 ↗
12. Fast RNS division algorithms for fixed divisors with application to RSA encryption10.1016/0020-0190(94)00099-9 ↗
13. An Approximate Sign Detection Method for Residue Numbers and its Application to RNS Division10.1016/0898-1221(94)90052-3 ↗
14. Hiasat, A.A., and Abdel-Aty-Zohdy, H.S. (1997, January 6–9). Design and implementation of an RNS division algorithm. Proceedings of the 13th IEEE Symposium on Computer Arithmetic, Asilomar, CA, USA.
15. A new Euclidean division algorithm for residue number systems10.1023/A:1008065819322 ↗
16. Semi-Custom VLSI Design and Implementation of a New Efficient RNS Division Algorithm10.1093/comjnl/42.3.232 ↗
17. Gorodecky, D., and Villa, T. (2019, January 10–12). Efficient Implementation of Modular Division by Input Bit Splitting. Proceedings of the 2019 IEEE 26th Symposium on Computer Arithmetic (ARITH), Kyoto, Japan.10.1109/ARITH.2019.00017 ↗
18. Arithmetic division in RNS using Galois Field GF (p)10.1016/S0898-1221(00)00056-0 ↗
19. A high-speed division algorithm in residue number system using parity-checking technique10.1080/00207160410001708805 ↗
20. A division algorithm for residue numbers
21. A division algorithm using bisection method in residue number system
22. Chervyakov, N., Lyakhov, P., Babenko, M., Nazarov, A., Deryabin, M., Lavrinenko, I., and Lavrinenko, A. (2019). A High-Speed Division Algorithm for Modular Numbers Based on the Chinese Remainder Theorem with Fractions and Its Hardware Implementation. Electronics, 8.10.3390/electronics8030261 ↗
23. Integer division in residue number systems10.1109/12.403714 ↗
24. Knuth, D. (1997). The Art of Computer Programming, Volume 1: Fundamental Algorithms, Addison-Wesley Professional. [3rd ed.].
25. Kogge, P.M., and Stone, H.S. (1973). A Parallel Algorithm for the Efficient Solution of a General Class of Recurrence Equations. IEEE Trans. Comput., 786–793.10.1109/TC.1973.5009159 ↗
26. Parhami, B. (2010). Computer Arithmetic: Algorithms and Hardware Designs, Oxford University Press.