Advertisement

Non-Modular Operations of the Residue Number System: Functions for Computing

  • Giuseppe PirloEmail author
Chapter
  • 776 Downloads

Abstract

This chapter introduces the problem of non-modular operations in the Residue Number System (RNS) and presents some recent approaches for their effective implementation. The approaches are based on specific functions defined from the RNS to the Integers that show mathematical properties useful to support the implementation of non-modular operations, like magnitude comparison and residue-to-binary conversion. In particular, two different functions defined from the RNS to the Integers are discussed: the ‘diagonal functions’ and the ‘quotient functions’. Through the paper the new implementations of non-modular operations in the RNS are described and their effectiveness is analysed with respect to traditional techniques in the literature.

Keywords

Chinese remainder theorem Core function Diagonal function Magnitude comparison Mixed-radix conversion Multi-operand modular adder Quotient function Residue number system Residue-to-binary conversion 

Nomenclature

-

m1,m2,…,m n : set of pairwise relatively prime moduli (n integer, n ≥ 2)

-

\( M={\displaystyle \prod_{i=1}^n{m}_i} \)

-

I = [0,M − 1]: dynamic range of the RNS (set of integers)

-

\( {X}_i={\left|X\right|}_{m_i} \): the least positive residue of X modulo m i , i = 1,2,..,n

-

\( {M}_i=\frac{M}{m_i} \), i = 1,2,…,n

-

\( \mathit{SQ}={\displaystyle \sum_{i=1}^n{M}_i} \): the ‘diagonal modulus’ of the RNS

-

\( {J}_{a,b}={\left|\frac{1}{a}\right|}_b \): the multiplicative inverse of a modulo b (i.e. \( \vert a\cdot {\left|\frac{1}{a}\right|}_b{\vert}_b=1 \))

-

a⌋: the largest integer not exceeding a

-

b⌉: rounding to a higher integer

-

≡: modular congruence

-

MOMA (n, W): multi-operand modulo W adder for n operands.

References

  1. 1.
    S. Szabó, R.I. Tanaka, Residue arithmetic and its applications to computer technology (McGraw-Hill, New York, 1967)zbMATHGoogle Scholar
  2. 2.
    F.J. Taylor, Residue arithmetic: a tutorial with examples. Computer 17(5), 50–62 (1984)CrossRefGoogle Scholar
  3. 3.
    A.A. Albert, Fundamental concepts of higher algebra (University of Chicago Press, Chicago, 1956)zbMATHGoogle Scholar
  4. 4.
    S. Andraos, H. Ahmed, A new efficient memoryless residue to binary converter. IEEE Trans. Circ. Syst. 35, 1441–1444 (1988)CrossRefzbMATHMathSciNetGoogle Scholar
  5. 5.
    K.M. Ibrahim, S.N. Saloum, An efficient residue to binary converter design. IEEE Trans. Circ. Syst. CAS-35, 1156–1158 (1988)CrossRefzbMATHGoogle Scholar
  6. 6.
    S. Chen, S. Wei, Weighted-to-residue and residue-to-weighted converters with three-moduli (2n − 1, 2n, 2n + 1) signed-digit architectures, in Proceedings of 2006 IEEE International Symposium on Circuits and Systems (ISCAS 2006), Island of Kos, Greece, 21–24 May 2006Google Scholar
  7. 7.
    W.W. Swamy, M.N.S. Ahmad, M.O.Y. Wang, A high-speed residue-to-binary converter for three-moduli (2k − 1, 2k − 1, 2n−1 − 1) RNS and a scheme for its VLSI implementations. IEEE Trans. Circuits Syst. II: Express Briefs 47(12), 1576–1581 (2000)CrossRefzbMATHGoogle Scholar
  8. 8.
    B. Cao, C.-H. Chang, T. Srikanthan, A residue-to-binary converter for a new five-moduli set. IEEE Trans. Circuits Syst. I 54(5), 1041–1049 (2007)CrossRefMathSciNetGoogle Scholar
  9. 9.
    B. Cao, T. Srikanthan, C.-H. Chang, Design of residue-to-binary converter for a new 5-moduli superset residue number system, in Proceedings of the International Symposium on Circuits and Systems (ISCAS 2004), Vancouver, Canada, vol. 2, pp. II-841-4, 23–26 May 2004Google Scholar
  10. 10.
    A. Skavantzos, M. Abdallah, Implementation issues of the two-level residue number system with pairs of conjugate moduli. IEEE Trans. Signal Process. 47(3), 826–838 (1999)CrossRefGoogle Scholar
  11. 11.
    B. Phillips, Scaling and reduction in the residue number system with pairs of conjugate moduli. in Proceedings of the 37th Asilomar Conference on Signals, Systems and Computers, vol. 2, pp. 2247–2251, 2003Google Scholar
  12. 12.
    S.J. Piestrak, Design off residue generators and multioperand modular adders using carry-save adders. IEEE Trans. Comput. 423(1), 68–77 (1994)CrossRefGoogle Scholar
  13. 13.
    S.J. Piestrak, A high-speed realization of a residue to binary number system converter. IEEE Trans. Circuits Syst. II 42(10), 661–663 (1995)CrossRefGoogle Scholar
  14. 14.
    S.J. Piestrak, A note on RNS architectures for the implementation of the diagonal function. Inform. Process. Lett. 115(4), 453–457 (2015)CrossRefzbMATHGoogle Scholar
  15. 15.
    J. Gonnella, The application of core functions to residue number system. IEEE Trans. Signal Process. 39(1), 69–75 (1991)CrossRefzbMATHGoogle Scholar
  16. 16.
    I.J. Akushskii, V.M. Burcev, I.T. Pak, A new positional characteristic of nonpositional codes and its applications, in Coding Theory and the Optimization of Complex Systems, V.M.Amerbsev ed., Kazah, 1977Google Scholar
  17. 17.
    D.D. Miller, R.E. Altschul, J.R. King, J.N. Polky, analysis of the residue class core function of akushskii, burcev and pak, in Residue Number System Arithmetic, Modern Applications in Digital Signal Processing, ed. by M.A.Soderstrand et al. IEEE Press,Paper 7-2, pp. 390–401Google Scholar
  18. 18.
    G. Dimauro, S. Impedovo, G. Pirlo, A new technique for fast numbers comparison in the residue number system. IEEE Trans. Comput. 42(5), 608–612 (1993)CrossRefMathSciNetGoogle Scholar
  19. 19.
    G. Dimauro, S. Impedovo, G. Pirlo, A new magnitude function for fast numbers comparison in the residue number system. Microprocess. Microprogram. 35(1–5), 97–104 (1992)CrossRefGoogle Scholar
  20. 20.
    G. Dimauro, S. Impedovo, G. Pirlo, A. Salzo, RNS architectures for the implementation of the diagonal function. Inform. Process. Lett. 73, 189–198 (2000)CrossRefzbMATHMathSciNetGoogle Scholar
  21. 21.
    G. Dimauro, S. Impedovo, R. Modugno, G. Pirlo, R. Stefanelli, Residue-to-binary conversion by the quotient function. IEEE Trans. Circuits Syst—Part II 50(8), 488–493 (2003)CrossRefGoogle Scholar
  22. 22.
    G. Pirlo, D. Impedovo, A new class of monotone functions of the residue number system. Int. J. Math. Models Methods Appl. Sci. 7, 802–809 (2013)Google Scholar
  23. 23.
    P.V. Ananda Mohan, RNS to binary conversion using diagonal function and pirlo and impedovo monotonic function. Circuits Syst. Signal Process. 35(3), 1063–1076 (2016)CrossRefMathSciNetGoogle Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  1. 1.Dipartimento di InformaticaUniversità degli Studi di Bari Aldo MoroBariItaly

Personalised recommendations