Method for performing the operation of adding the remainder of numbers modulo

  • Віктор Краснобаев V. N. Karazin Kharkiv National University
  • Катерина Кузнецова V. N. Karazin Kharkiv National University
  • Михайло Багмут V. N. Karazin Kharkiv National University
Keywords: adder of two numbers, adder for any module, positional binary number system, non-positional number system in residual classes

Abstract

One of the components of a computer system (CS) in a positional binary number system (PNS) is an adder of two numbers. In particular, adders modulo mi of two numbers are also components of the CS. This type of modulo adders is widely used both in the PNS and in the non-positional number system in the residual classes (RNS). An  important and urgent scientific and applied problem is the problem of constructing the adders, which operate by modulus mi, that is an arbitrary RNS modulo. If the remainders ai and bi  of both numbers  A and B  in RNS are represented in a binary PNS, then the adder of two residuals ai and bi by modulus mi is a sequential set of n binary one-bit adders (BOBA).  The purpose of the article is to develop a method for performing the operation of modular addition (ai + bi)mod mi of two remainders of numbers by an arbitrary modulo mi based on the use of a positional binary adder modulo M = 2n - 1. The proposed method is based on the use of the well-known structure of positional binary adders modulo M = 2n - 1. Technically, the problem of creating the structure of the modular adder is formulated as follows. It is necessary to provide conditions under which the initial adder in PNS modulo M  performs the addition operation modulo mi.  This procedure is carried out by introducing additional connections as X¯i­j in the positional adder modulo M = 2n - 1, where the expression X¯i­j denotes one-way connection between the output of the j-th BOBA and the input of the i-th BOBA.

Downloads

Download data is not yet available.

Author Biographies

Віктор Краснобаев, V. N. Karazin Kharkiv National University

Doctor of Sciences (Engineering), Full Prof., Academician of the Academy of Applied Radioelectronics Sciences

Катерина Кузнецова, V. N. Karazin Kharkiv National University

Computer science student

Михайло Багмут, V. N. Karazin Kharkiv National University

graduate student of the Department of Security of Information Systems and Technologies

References

Bayoumi M.A., Jullien G.A., Miller W.C. A VLSI Implementation of Residue. Adders IEEE Trans. on Circuits and Systems. 1987. V. 34, № 3. pp. 284-288.

P.V. Ananda Mohan. Residue Number Systems: Theory and Applications. Birkhäuser Basel: Springer International Publishing Switzerland, 2016. 351 P.

Krasnobayev V. A. and Koshman S. A. Method for implementing the arithmetic operation of addition in residue number system based on the use of the principle of circular shift // Cybernetics and Systems Analysis. – July, 2019. – Vol. 55, Is. 4, pp. 692-698.

Krasnobayev V. A., Yanko A. S., Koshman S. A. A Method for arithmetic comparison of data represented in a residue number of system // Cybernetics and Systems Analysis. – January 2016. – Vol. 52, Is. 1, pp. 145-150.

V. A. Krasnobayev, A. A. Kuznetsov, S. A. Koshman, and K. O. Kuznetsova "A method for implementing the operation of modulo addition of the residues of two numbers in the residue number system", Cybernetics and Systems Analysis, Vol. 56, No. 6, November, 2020, 1029-1038. https://doi.org/10.1007/s10559-020-00323-9.

Azadeh Safari, James Nugent, Yinan Kong. Novel implementation of full adder based scaling in Residue Number Systems. IEEE 56th International Midwest Symposium on Circuits and Systems (MWSCAS). 4-7 Aug. 2013. рр. 657–660.

Shugang Wei. Fast signed-digit arithmetic circuits for residue number systems. IEEE International Conference on Electronics, Circuits, and Systems (ICECS). 6-9 Dec. 2015. pp. 344 – 347.

Published
2021-05-27
Cited
How to Cite
Краснобаев, В., Кузнецова, К., & Багмут, М. (2021). Method for performing the operation of adding the remainder of numbers modulo. Computer Science and Cybersecurity, (1), 4-15. https://doi.org/10.26565/2519-2310-2021-1-01
Section
Статті