A Generalized Reverse Conversion Algorithm for Six-Moduli Set

  • Yakubu Abdul-Wahab Nawusu Department of Computer Science, Tamale Technical University, Tamale, Ghana
  • Abukari Abdul Aziz Danaa Department of Computer Science, Tamale Technical University, Tamale, Ghana
  • Kubuga Kennedy Department of Computer Science, Tamale Technical University, Tamale, Ghana
  • Asiedu Daniel Department of Computer Science, Tamale Technical University, Tamale, Ghana
Keywords: residue number system, moduli set, CRT, MRC, reverse conversion

Abstract

Residue Number System has emerged as an alternative number system with advantages in many real-life systems including in digit signal processing devices. Computational systems built on residue number system require both forward and reverse conversion processes. These converters respectively convert a given integer into its corresponding residues and calculate the original integer from its residues. While forward conversion is pretty straight forward, reverse conversion poses challenges often requiring difficult procedures. Much of residue number system research has therefore been devoted to design and implementation of efficient reverse conversion algorithm. The Chinese Reminder Theorem and the Mixed-Radix Conversion are the two popular ones. The Chinese Reminder Theorem results in complex circuitry that requires difficult computation involving large modulo-M values. The Mixed-Radix Conversion offers simplicity in designs although its steps are sequential. This paper proposes a generalized reverse conversion algorithm tailored for a six-moduli set with a large dynamic range. This innovative algorithm minimises the difficult multiplicative inverse operations found in the traditional reverse conversion methods paving the way for a more efficient reverse conversion processes for systems that requires high dynamic ranges. The new algorithm has been meticulously evaluated numerically on a proposed six-moduli set $\left\{2^{n+1}-1,2^{2 n}+1,2^{2 n+1}-1,2^{3 n}+1,2^{3 n+1}-1,2^{4 n}+1\right\}$ for even values of , to ensure its correctness and simplicity. The approach holds great promise for enhancing the development of reverse converters allowing the expansion of the landscape of residue number system.

References

Nawusu, Y.A.-W., Abdul-Barik, A., & Salifu, A.-M. (2022). Residue number system-based approach to minimize energy consumption in wireless sensor networks. Asian Journal of Research in Computer Science, 14(4), 46-65. https://doi.org/10.9734/ajrcos/2022/v14i4291

Tanaka, R. (1962). Modular arithmetic techniques. Tech. Rep. ASTDR, Lockheed Missiles and Space Co., (2-38-62-1A).

Keir, Y.A., Cheney, P.W., & Tannenbaum, M. (1962). Division and overflow detection in residue number systems. IRE Transactions on Electronic Computers, EC-11, 501-507. https://doi.org/10.1109/TEC.1962.5219389

Nawusu, A.-W.Y., Alhassan, A.-B., & Salifu, A.-M. (2021). A new approach to detecting and correcting single and multiple errors in wireless sensor networks. Journal of Advances in Mathematics and Computer Science, 36(8), 27-43. https://doi.org/10.9734/jamcs/2021/v36i830388

Omondi, A., & Premkumar, B. (2007). Residue Number System: Theory and Implementation. Imperial College Press, London. https://doi.org/10.1142/p523

Reddy, Y.A., & Sekhar, B. (2016) An efficient reverse converter design for five moduli set RNS. International Journal of Advanced Research in Computer and Communication Engineering, 5, 208-212.

Salifu, A.-M. (2021). New reverse conversion for four-moduli set and five-moduli set. Journal of Computer and Communications, 9, 57-66. https://doi.org/10.4236/jcc.2021.94004

Asiedu, D., & Salifu, A.-M. (2021). New algorithm for reverse conversion in residue number system. Asian Journal of Computer Science and Technology, 10(1), 1-4. https://doi.org/10.51983/ajcst-2021.10.1.2693

Baagyere, F. Y. (2011). Application of residue number system to Smith-Waterman algorithm, MPhil. dissertation. Kwame Nkrumah University of Science and Technology.

Bankas, E., & Gbolagade, K. (2013). A new efficient FPGA design of residue-to-binary converter. International Journal of VLSI Design & Communication Systems (VLSICS), 4(6). https://doi.org/10.5121/vlsic.2013.4601

Roshanzadeh, M., & Saqaeeyan, S. (2012). Error detection & correction in wireless sensor networks by using residue number systems, International Journal of Computer Network and Information Security, 4(2), 29-35. https://doi.org/10.5815/ijcnis.2012.02.05

Jenkins, W., & Leon B. (1977). The use of residue number systems in the design of finite impulse response digital filters. IEEE Trans. on Circuits and Systems, 24(4), 191-200. https://doi.org/10.1109/TCS.1977.1084321

Beckmann P, & Musicus B. (1993). Fast fault-tolerant digital convolution using a polynomial residue number system. IEEE Transactions on Signal Processing, 41(7), 2300-2313. https://doi.org/10.1109/78.224241

Taylor, F.J. (1984). Residue arithmetic: A tutorial with examples. Computer, 17(5), 50-62. https://doi.org/10.1109/MC.1984.1659138

Agbedemnab, P.A.N., Baagyere, E.Y, & Daabo, M.I. (2019). A new image encryption and decryption technique using genetic algorithm and residual numbers. IEEE AFRICON Conference, 2019, 20-31. https://doi.org/10.1109/AFRICON46755.2019.9133919

Published
2024-08-08
How to Cite
Nawusu, Y. A.-W., Danaa, A. A. A., Kennedy, K., & Daniel, A. (2024). A Generalized Reverse Conversion Algorithm for Six-Moduli Set. Earthline Journal of Mathematical Sciences, 14(5), 1159-1172. https://doi.org/10.34198/ejms.14524.11591172
Section
Articles