Abstract
This important topic has received extensive attention in literature. The choice of the moduli set in RNS is decided by the speed of RNS to binary conversion for performing efficiently operations such as comparison, scaling, sign detection and error correction. Both ROM-based and non-ROM-based designs will be of interest. The number of moduli to be chosen is decided by the desired dynamic range, word length of the moduli and ease of RNS to binary conversion. There are two basic classical approaches to converting a number from RNS to binary form. These are based on Chinese Remainder Theorem (CRT) and Mixed Radix Conversion (MRC) [1]. Several new techniques have been introduced recently such as New CRT-I, New CRT-II, Mixed-Radix CRT, quotient function, core function and diagonal function. All these will be presented in some detail.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
N.S. Szabo, R.I. Tanaka, Residue Arithmetic and Its Applications to Computer Technology (Mc-Graw Hill, New-York, 1967)
G. Bi, E.V. Jones, Fast conversion between binary and Residue Numbers. Electron. Lett. 24, 1195–1197 (1988)
P. Bernardson, Fast memory-less over 64-bit residue to binary converter. IEEE Trans. Circuits Syst. 32, 298–300 (1985)
S. Andraros, H. Ahmad, A new efficient memory-less residue to binary converter. IEEE Trans. Circuits Syst. 35, 1441–1444 (1988)
K.M. Ibrahim, S.N. Saloum, An efficient residue to binary converter design. IEEE Trans. Circuits Syst. 35, 1156–1158 (1988)
A. Dhurkadas, Comments on “An efficient Residue to Binary converter design”. IEEE Trans. Circuits Syst. 37, 849–850 (1990)
P.V. Ananda Mohan, D.V. Poornaiah, Novel RNS to binary converters, in Proceedings of IEEE ISCAS, pp. 1541–1544 (1991)
S.J. Piestrak, A high-Speed realization of Residue to Binary System conversion. IEEE Trans. Circuits Syst. II 42, 661–663 (1995)
A. Dhurkadas, Comments on “A High-speed realisation of a residue to binary Number system converter”. IEEE Trans. Circuits Syst. II 45, 446–447 (1998)
M. Bhardwaj, A.B. Premkumar, T. Srikanthan, Breaking the 2n-bit carry propagation barrier in Residue to Binary conversion for the [2n-1, 2n, 2n+1] moduli set. IEEE Trans. Circuits Syst. II 45, 998–1002 (1998)
R. Conway, J. Nelson, Fast converter for 3 moduli RNS using new property of CRT. IEEE Trans. Comput. 48, 852–860 (1999)
Z. Wang, G.A. Jullien, W.C. Miller, An improved Residue to Binary Converter. IEEE Trans. Circuits Syst. I 47, 1437–1440 (2000)
P.V. Ananda Mohan, Comments on “Breaking the 2n-bit carry propagation barrier in Residue to Binary conversion for the [2n-1, 2n, 2n+1] moduli set”. IEEE Trans. Circuits Syst. II 48, 1031 (2001)
Y. Wang, X. Song, M. Aboulhamid, H. Shen, Adder based residue to binary number converters for (2n-1, 2n, 2n+1). IEEE Trans. Signal Process. 50, 1772–1779 (2002)
W. Wang, M.N.S. Swamy, M.O. Ahmad, Y. Wang, A study of the residue-to-Binary converters for the three moduli sets. IEEE Trans. Circuits Syst. I 50, 235–243 (2003)
B. Vinnakota, V.V.B. Rao, Fast conversion techniques for Binary to RNS. IEEE Trans. Circuits Syst. I 41, 927–929 (1994)
P.V. Ananda Mohan, Evaluation of Fast Conversion techniques for Binary-Residue Number Systems. IEEE Trans. Circuits Syst. I 45, 1107–1109 (1998)
D. Gallaher, F.E. Petry, P. Srinivasan, The digit parallel method for Fast RNS to weighted number System conversion for specific moduli (2k-1, 2k, 2k+1). IEEE Trans. Circuits Syst. II 44, 53–57 (1997)
P.V. Ananda Mohan, On “The Digit Parallel method for fast RNS to weighted number system conversion for specific moduli (2k-1, 2k, 2k+1)”. IEEE Trans. Circuits Syst. II 47, 972–974 (2000)
A.S. Ashur, M.K. Ibrahim, A. Aggoun, Novel RNS structures for the moduli set {2n-1, 2n, 2n+1} and their application to digital filter implementation. Signal Process. 46, 331–343 (1995)
R. Chaves, L. Sousa, {2n+1, 2n+k, 2n-1}: a new RNS moduli set extension, in Proceedings of Euro Micro Systems on Digital System Design, pp. 210–217 (2004)
A. Hiasat, A. Sweidan, Residue-to-binary decoder for an enhanced moduli set. Proc. IEE Comput. Digit. Tech. 151, 127–130 (2004)
M.A. Soderstrand, C. Vernia, J.H. Chang, An improved residue number system digital to analog converter. IEEE Trans. Circuits Syst. 30, 903–907 (1983)
T.V. Vu, Efficient implementations of the Chinese remainder theorem for sign detection and residue decoding. IEEE Trans. Comput. 34, 646–651 (1985)
G.C. Cardarilli, M. Re, R. Lojacano, G. Ferri, A systolic architecture for high-performance scaled residue to binary conversion. IEEE Trans. Circuits Syst. I 47, 1523–1526 (2000)
G. Dimauro, S. Impedevo, R. Modugno, G. Pirlo, R. Stefanelli, Residue to binary conversion by the “Quotient function”. IEEE Trans. Circuits Syst. II 50, 488–493 (2003)
J.Y. Kim, K.H. Park, H.S. Lee, Efficient residue to binary conversion technique with rounding error compensation. IEEE Trans. Circuits Syst. 38, 315–317 (1991)
C.H. Huang, A fully parallel Mixed-Radix conversion algorithm for residue number applications. IEEE Trans. Comput. 32, 398–402 (1983)
Y. Wang, Residue to binary converters based on New Chinese Remainder theorems. IEEE Trans. Circuits Syst. II 47, 197–205 (2000)
P.V. Ananda Mohan, Comments on “Residue-to-Binary Converters based on New Chinese Remainder Theorems”. IEEE Trans. Circuits Syst. II Analog Digit. Signal Process. 47, 1541 (2000)
D.F. Miller, W.S. McCormick, An arithmetic free Parallel Mixed-Radix conversion algorithm. IEEE Trans. Circuits Syst. II 45, 158–162 (1998)
Antonio Garcia, G.A. Jullien, Comments on “An Arithmetic Free Parallel Mixed-Radix Conversion Algorithm”, IEEE Trans. Circuits Syst. II Analog Digit. Signal Process, 46, 1259–1260 (1999)
H.M. Yassine, W.R. Moore, Improved Mixed radix conversion for residue number system architectures. Proc. IEE Part G 138, 120–124 (1991)
S. Bi, W.J. Gross, The Mixed-Radix Chinese Remainder Theorem and its applications to Residue comparison. IEEE Trans. Comput. 57, 1624–1632 (2008)
A. Skavantzos, Y. Wang, New efficient RNS-to-weighted decoders for conjugate pair moduli residue number Systems, in Proceedings of 33rd Asilomar Conference on Signals, Systems and Computers, vol. 2, pp. 1345–1350 (1999)
Y. Wang, New Chinese remainder theorems, in Proceedings of 32nd Asilomar Conference on Signals, Systems and Computers, pp. 165–171 (1998)
A.B. Premkumar, An RNS to binary converter in 2n-1, 2n, 2n+1 moduli set. IEEE Trans. Circuits Syst. II 39, 480–482 (1992)
A.B. Premkumar, M. Bhardwaj, T. Srikanthan, High-speed and low-cost reverse converters for the (2n-1, 2n, 2n+1) moduli set. IEEE Trans. Circuits Syst. II 45, 903–908 (1998)
Y. Wang, M.N.S. Swamy, M.O. Ahmad, Residue to binary converters for three moduli sets. IEEE Trans. Circuits Syst. II 46, 180–183 (1999)
K.A. Gbolagade, G.R. Voicu, S.D. Cotofana, An efficient FPGA design of residue-to-binary converter for the moduli set {2n+1, 2n, 2n-1}. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 19, 1500–1503 (2011)
A.B. Premkumar, An RNS to binary converter in a three moduli set with common factors. IEEE Trans. Circuits Syst. II 42, 298–301 (1995)
A.B. Premkumar, Corrections to “An RNS to Binary converter in a three moduli set with common factors”. IEEE Trans. Circuits Syst. II 51, 43 (2004)
K.A. Gbolagade, S.D. Cotofana, A residue-to-binary converter for the {2n+2, 2n+1, 2n} moduli set, in Proceedings of 42nd Asilomar Conference on Signals, Systems Computers, pp. 1785–1789 (2008)
A.A. Hiasat, H.S. Abdel-Aty-Zohdy, Residue to Binary arithmetic converter for the moduli set (2k, 2k-1, 2k-1-1). IEEE Trans. Circuits Syst. II 45, 204–209 (1998)
W. Wang, M.N.S. Swamy, M.O. Ahmad, Y. Wang, A high-speed Residue-to-binary converter for thee moduli {2k, 2k-1, 2k-1-1}RNS and a scheme for its VLSI implementation. IEEE Trans. Circuits Syst. II 47, 1576–1581 (2000)
W. Wang, M.N.S. Swamy, M.O. Ahmad, Y. Wang, A note on “A high-speed Residue-to-binary converter for thee moduli {2k, 2k-1, 2k-1-1} RNS and a scheme for its VLSI implementation”, IEEE Trans. Circuits Syst. II, 49, 230 (2002)
P.V. Ananda Mohan, New residue to Binary converters for the moduli set {2k, 2k-1, 2k-1-1}, IEEE TENCON, doi:10.1109/TENCON.2008.4766524 (2008)
P.V. Ananda Mohan, Reverse converters for the moduli sets {22n-1, 2n, 22n+1} and {2n-3, 2n+1, 2n-1, 2n+3}, in SPCOM, Bangalore, pp. 188–192 (2004)
P.V. Ananda Mohan, Reverse converters for a new moduli set {22n-1, 2n, 22n+1}. CSSP 26, 215–228 (2007)
P.V. Ananda Mohan, RNS to binary converter for a new three moduli set {2n+1 -1, 2n, 2n-1}. IEEE Trans. Circuits Syst. II 54, 775–779 (2007)
A.P. Vinod, A.B. Premkumar, A residue to Binary converter for the 4-moduli superset {2n-1,2n, 2n+1, 2n+1-1}. JCSC 10, 85–99 (2000)
M. Bhardwaj, T. Srikanthan, C.T. Clarke, A reverse converter for the 4 moduli super set {2n-1, 2n, 2n+1, 2n+1+1}, in IEEE Conference on Computer Arithmetic, pp. 168–175 (1999)
P.V. Ananda Mohan, A.B. Premkumar, RNS to Binary converters for two four moduli sets {2n-1, 2n, 2n+1, 2n+1-1} and {2n-1, 2n, 2n+1, 2n+1+1}. IEEE Trans. Circuits Syst. I 54, 1245–1254 (2007)
B. Cao, T. Srikanthan, C.H. Chang, Efficient reverse converters for the four-moduli sets {2n-1, 2n, 2n+1, 2n+1-1} and {2n-1, 2n, 2n+1, 2n-1-1}. IEE Proc. Comput. Digit. Tech. 152, 687–696 (2005)
M. Hosseinzadeh, A. Molahosseini, K. Navi, An improved reverse converter for the moduli set {2n+1, 2n-1, 2n, 2n+1-1}. IEICE Electron. Exp. 5, 672–677 (2008)
L. Sousa, S. Antao, R. Chaves, On the design of RNS reverse converters for the four-moduli set {2n+1, 2n-1, 2n, 2n+1+1}. IEEE Trans. VLSI Syst. 21, 1945–1949 (2013)
M.H. Sheu, S.H. Lin, C. Chen, S.W. Yang, An efficient VLSI design for a residue to binary converter for general balance moduli (2n-3, 2n-1, 2n+1, 2n+3). IEEE Trans. Circuits Syst. Exp. Briefs 51, 52–55 (2004)
P.V. Ananda Mohan, New Reverse converters for the moduli set {2n-3, 2n + 1, 2n-1, 2n + 3}. AEU 62, 643–658 (2008)
G. Jaberipur, H. Ahmadifar, A ROM-less reverse converter for moduli set {2q ± 1, 2q ± 3}. IET Comput. Digit. Tech. 8, 11–22 (2014)
P. Patronik, S.J. Piestrak, Design of Reverse Converters for the new RNS moduli set {2n+1, 2n, 2n-1, 2n-1+1} (n odd). IEEE Trans. Circuits Syst. I 61, 3436–3449 (2014)
L.S. Didier, P.Y. Rivaille, A generalization of a fast RNS conversion for a new 4-Modulus Base. IEEE Trans. Circuits Syst. II Exp. Briefs 56, 46–50 (2009)
B. Cao, C.H. Chang, T. Srikanthan, An efficient reverse converter for the 4-moduli set {2n-1, 2n, 2n+1, 22n+1} based on the new Chinese Remainder Theorem. IEEE Trans. Circuits Syst. I 50, 1296–1303 (2003)
A.S. Molahosseini, K. Navi, C. Dadkhah, O. Kavehei, S. Timarchi, Efficient reverse converter designs for the new 4-moduli sets {2n-1, 2n, 2n+1, 22n+1-1} and {2n-1, 2n+1, 22n, 22n+1} based on new CRTs. IEEE Trans. Circuits Syst. I 57, 823–835 (2010)
W. Zhang, P. Siy, An efficient design of residue to binary converter for the moduli set {2n-1, 2n+1, 22n-2, 22n+1-3} based on new CRT II. Elsevier J. Inf. Sci. 178, 264–279 (2008)
L. Sousa, S. Antao, MRC based RNS reverse converters for the four-moduli sets {2n+1,2n-1,2n, 22n+1-1} and {2n+1,2n-1,22n, 22n+1-1}. IEEE Trans. Circuits Syst. II 59, 244–248 (2012)
N. Stamenkovic, B. Jovanovic, Reverse Converter design for the 4-moduli set {2n-1,2n,2n+1,22n+1-1} based on the Mixed-Radix conversion. Facta Universitat (NIS) SER: Elec. Energy 24, 91–105 (2011)
B. Cao, C.H. Chang, T. Srikanthan, A residue to binary converter for a New Five-moduli set. IEEE Trans. Circuits Syst. I 54, 1041–1049 (2007)
A.A. Hiasat, VLSI implementation of new arithmetic residue to binary decoders. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 13, 153–158 (2005)
A. Skavantzos, T. Stouraitis, Grouped-moduli residue number systems for Fast signal processing, in Proceedings of IEEE ISCAS, pp. 478–483 (1999)
A. Skavantzos, M. Abdallah, Implementation issues of the two-level residue number system with pairs of conjugate moduli. IEEE Trans. Signal Process. 47, 826–838 (1999)
H. Pettenghi, R. Chaves, L. Sousa, Method to design general RNS converters for extended moduli sets. IEEE Trans. Circuits Syst. II 60, 877–881 (2013)
A. Skavantzos, M. Abdallah, T. Stouraitis, D. Schinianakis, Design of a balanced 8-modulus RNS, in Proceeedings of IEEE ISCAS, pp. 61–64 (2009)
H. Pettenghi, R. Chaves, L. Sousa, RNS reverse converters for moduli sets with dynamic ranges up to (8n+1) bits. IEEE Trans. Circuits Syst. 60, 1487–1500 (2013)
G. Chalivendra, V. Hanumaiah, S. Vrudhula, A new balanced 4-moduli set {2k, 2n-1, 2n+1,2n+1-1} and its reverse converter design for efficient reverse converter implementation, in Proceedings of ACM GSVLSI, Lausanne, Switzerland, pp. 139–144 (2011)
P. Patronik, S.J. Piestrak, Design of Reverse converters for general RNS moduli sets {2k, 2n-1, 2n+1, 2n+1-1} and {2k, 2n-1, 2n+1, 2n-1-1} (n even). IEEE Trans. Circuits Syst. I 61, 1687–1700 (2014)
R. Conway, J. Nelson, New CRT based RNS converter for restricted moduli set. IEEE Trans. Comput. 52, 572–578 (2003)
R. Lojacono, G. C. Cardarilli, A. Nannarelli, M. Re, Residue Arithmetic techniques for high performance DSP, in IEEE 4th World Multi-conference on Circuits, Communications and Computers, CSCC-2000, pp. 314–318 (2000)
M. Re, A. Nannarelli, G.C. Cardiralli, M. Lojacono, FPGA implementation of RNS to binary signed conversion architecture, Proc. ISCAS, IV, 350–353 (2001)
L. Akushskii, V.M. Burcev, I.T. Pak, A New Positional Characteristic of Non-positional Codes and Its Application, in Coding Theory and Optimization of Complex Systems, ed. by V.M. Amerbaev (Nauka, Kazhakstan, 1977)
D.D. Miller et al., Analysis of a Residue Class Core Function of Akushskii, Burcev and Pak, in RNS Arithmetic: Modern Applications in DSP, ed. by G.A. Jullien (IEEE Press, Piscataway, 1986)
J. Gonnella, The application of core functions to residue number systems. IEEE Trans. Signal Process. SP-39, 69–75 (1991)
N. Burgess, Scaled and unscaled residue number systems to binary conversion techniques using the core function, in Proceedings of 13th IEEE Symposium on Computer Arithmetic, pp 250–257 (1997)
N. Burgess, Scaling a RNS number using the core function, in Proceedings of 16th IEEE Symposium on Computer Arithmetic, pp. 262–269 (2003)
M. Abtahi, P. Siy, Core function of an RNS number with no ambiguity. Comput. Math. Appl. 50, 459–470 (2005)
M. Abtahi, P. Siy, The non-linear characteristic of core function of RNS numbers and its effect on RNS to binary conversion and sign detection algorithms, in Proceedings of NAFIPS 2005-Annual Meeting of the North American Fuzzy Information Processing Society, pp. 731–736 (2005)
R. Krishnan, J. Ehrenberg, G. Ray, A core function based residue to binary decoder for RNS filter architectures, in Proceedings of 33rd Midwest Symposium on Circuits and Systems, pp. 837–840 (1990)
G. Dimauro, S. Impedevo, G. Pirlo, A new technique for fast number comparison in the Residue Number system. IEEE Trans. Comput. 42, 608–612 (1993)
G. Dimauro, S. Impedevo, G. Pirlo, A. Salzo, RNS architectures for the implementation of the diagonal function. Inf. Process. Lett. 73, 189–198 (2000)
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)
P.V. Ananda Mohan, RNS to binary conversion using diagonal function and Pirlo and Impedovo monotonic function, Circuits Syst. Signal Process. 35, 1063–1076 (2016)
S.J. Piestrak, A note on RNS architectures for the implementation of the diagonal function. Inf. Process. Lett. 115, 453–457 (2015)
P.L. Montgomery, Modular multiplication without trial division. Math. Comput. 44, 519–521 (1985)
Further Reading
R.E. Altschul, D.D. Miller, Residue to binary conversion using the core function, in 22nd Asilomar Conference on Signals, Systems and Computers, pp. 735–737 (1988)
M. Esmaeildoust, K. Navi, M. Taheri, A.S. Molahosseini, S. Khodambashi, Efficient RNS to Binary Converters for the new 4-moduli set {2n, 2n+1 -1, 2n-1, 2n-1 -1}. IEICE Electron. Exp. 9(1), 1–7 (2012)
F. Pourbigharaz, H.M. Yassine, A signed digit architecture for residue to binary transformation. IEEE Trans. Comput. 46, 1146–1150 (1997)
W. Zhang, P. Siy, An efficient FPGA design of RNS core function extractor, in Proceedings of 2005 Annual Meeting of the North American Fuzzy Information Processing Society (NAFIPS), pp. 722–724 (2005)
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Ananda Mohan, P.V. (2016). RNS to Binary Conversion. In: Residue Number Systems. Birkhäuser, Cham. https://doi.org/10.1007/978-3-319-41385-3_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-41385-3_5
Published:
Publisher Name: Birkhäuser, Cham
Print ISBN: 978-3-319-41383-9
Online ISBN: 978-3-319-41385-3
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)