Abstract
This paper presents reverse converters for dynamic ranges (DRs) up to \(10n+1\) achieved with horizontal and vertical extensions of the traditional three-moduli set \(\{2^{n},2^n-1, 2^n+1\}\). The proposed approach results in increased parallelism with a smaller number of bits per channel. An arithmetic application is considered to show that the proposed converter scales better with an increasing number of residue operations per channel, confirming the practical applications of the moduli set and reverse converter. Experimental results suggest that the proposed architecture outperforms the best reverse converters in the related state of the art, with equivalent DR, presenting speedup of 2.09 times, and average reductions of 62.00 and 45.20% in area and power consumption, respectively.
Similar content being viewed by others
References
P. Ananda Mohan, A. Premkumar, RNS-to-binary converters for two four-moduli sets \(\{2^{n}-1,2^{n},2^{n}+1,2^{n+1}-1\}\) and \(\{2^{n}-1,2^{n},2^{n}+1,2^{n+1}+1\}\). IEEE Trans. Circuits Syst. I Regul. Pap. 54(6), 1245–1254 (2007). https://doi.org/10.1109/TCSI.2007.895515
B. Cao, C.H. Chang, T. Srikanthan, A residue-to-binary converter for a new five-moduli set. IEEE Trans. Circuits Syst. I Regul. Pap. 54(5), 1041–1049 (2007). https://doi.org/10.1109/TCSI.2007.890623
R. Chaves, L. Sousa, \(\{2^n+1\),\(2^{n+k}\),\(2^n-1\}\): a new RNS moduli set extension. in Digital System Design, 2004. DSD 2004. Euromicro Symposium on (2004), pp. 210–217. https://doi.org/10.1109/DSD.2004.1333279
R. de Matos, R. Paludo, N. Chervyakov, P.A. Lyakhov, H. Pettenghi, Efficient implementation of modular multiplication by constants applied to rns reverse converters, in 2017 IEEE International Symposium on Circuits and Systems (ISCAS) (2017), pp. 1–4. https://doi.org/10.1109/ISCAS.2017.8050779
G. Dimitrakopoulos, D. Nikolos, High-speed parallel-prefix VLSI Ling adders. IEEE Trans. Comput. 54(2), 225–231 (2005). https://doi.org/10.1109/TC.2005.26
A. Hiasat, VLSI implementation of new arithmetic residue to binary decoders. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 13(1), 153–158 (2005). https://doi.org/10.1109/TVLSI.2004.840400
A. Hiasat, A reverse converter and sign detectors for an extended rns five-moduli set. IEEE Trans. Circuits Syst. I Regul. Pap. 64(1), 111–121 (2017)
M. Hosseinzadeh, A. Molahosseini, K. Navi, An improved reverse converter for the moduli set \(\{2^n-1,2^n,2^n+1, 2^{n+1}-1\}\). Trans. IEICE Electron. Express 5(17), 672–677 (2008)
A. Molahosseini, K. Navi, C. Dadkhah, O. Kavehei, S. Timarchi, Efficient reverse converter designs for the new 4-moduli sets \(\{2^{n}-1,2^{n},2^{n}+1,2^{2n+1}-1\}\) and \(\{2^{n}-1,2^{n}+1,2^{2n},2^{2n}+1\}\) based on new CRTs. IEEE Trans. Circuits Syst. I Regul. Pap. 57(4), 823–835 (2010). https://doi.org/10.1109/TCSI.2009.2026681
H. Pettenghi, R. de Matos, A. Molahosseini, RNS reverse converters for moduli sets with dynamic ranges of \(9n\)-bit, in 2016 IEEE 7th Latin American Symposium on Circuits Systems (LASCAS) (2016), pp. 143–146. https://doi.org/10.1109/LASCAS.2016.7451030
H. Pettenghi, R. Chaves, L. Sousa, Method to design general RNS reverse converters for extended moduli sets. IEEE Trans. Circuits Syst. II Express Briefs 60(12), 877–881 (2013). https://doi.org/10.1109/TCSII.2013.2286433
H. Pettenghi, R. Chaves, L. Sousa, RNS reverse converters for moduli sets with dynamic ranges up to \((8n+1)\)-bit. IEEE Trans. Circuits Syst. I Regul. Pap. 60(6), 1487–1500 (2013). https://doi.org/10.1109/TCSI.2012.2220460
H. Pettenghi, R. Chaves, R.D. Matos, L. Sousa, Method for designing two levels RNS reverse converters for large dynamic ranges. Integr. VLSI J. 55, 22–29 (2016). https://doi.org/10.1016/j.vlsi.2016.02.004
S. Piestrak, K. Berezowski, Design of residue multipliers-accumulators using periodicity, in Signals and Systems Conference, 208 (ISSC 2008). (IET Irish, 2008), pp. 380–385. https://doi.org/10.1049/cp:20080692
A. Skavantzos, An efficient residue to weighted converter for a new residue number system, in VLSI, 1998. Proceedings of the 8th Great Lakes Symposium on (1998), pp. 185–191. https://doi.org/10.1109/GLSV.1998.665223
L. Sousa, S. Antao, MRC-based RNS reverse converters for the four-moduli sets \(\{2^{n}+1, 2^{n}-1, 2^{n}, 2^{2n+1}-1\}\) and \(\{2^{n}+1, 2^{n}-1, 2^{2n}, 2^{2n+1}-1\}\). IEEE Trans. Circuits Syst. I Express Briefs 59(4), 244–248 (2012). https://doi.org/10.1109/TCSII.2012.2188456
N. Szabó, R. Tanaka, Residue Arithmetic and Its Applications to Computer Technology, McGraw-Hill series in information processing and computers (McGraw-Hill, New York, 1967)
A. Tyagi, A reduced-area scheme for carry-select adders. IEEE Trans. Computers 42(10), 1163–1170 (1993). https://doi.org/10.1109/12.257703
Virtual Silicon Technology, Inc, UMC high density standards cells library \(90n\)m CMOS process (2010)
Y. Wang, Residue-to-binary converters based on new Chinese remainder theorems. IEEE Trans. Circuits Syst. II Analog Digit. Signal Process. 47(3), 197–205 (2000). https://doi.org/10.1109/82.826745
R. Zimmermann, Efficient VLSI implementation of modulo \((2^n \pm 1)\) addition and multiplication, in Proceedings 14th IEEE Symposium on Computer Arithmetic (1999), pp. 158–167. https://doi.org/10.1109/ARITH.1999.762841
Acknowledgements
This work was supported in part by the Brazilian Federal Agency for Support and Evaluation of Graduate Education (CAPES) and by the Russian Federation President Grant \(SP-2245.2018.5\).
Author information
Authors and Affiliations
Corresponding author
Appendices
Appendices
1.1 Proof of Lemmas in the Paper
Proof
In order to prove the value of multiplicative inverse of \((2^{9n}-2^{3n})\) modulo \(M_{b}=2^{n-1}-1\) for \(n=12k_1+6, k_1 \in {\mathbb {N}}\) given in Eq. (4), we need to distinguish two subcases \(n=6\) and \(n>6\). For \(n=6\) we have to show that:
Therefore substituting the value \(n=6\):
For \(n>6\) we have to show that:
where \(| 2^{9n}-2^{3n} |_{M_b} = | \overbrace{|2^{9n}|_{M_b}}^{2^{9}}-\overbrace{|2^{3n}|_{M_b}}^{2^{3}} |_{M_b} = 504\). Therefore, Eq. (13) can be written as:
It is important to note that \(\left| (2^{9n}-2^{3n})^{-1} \right| _{M_b}\) is also expressed for \(n>6\) in terms of powers of two in (4). Thus, to finish the proof we have to show that:
By using the sum of n terms of a geometric series with common ratio r:
we can obtain:
Thus, Lemma 1 is proved. \(\square \)
Proof
In order to prove the value of the multiplicative inverse of \((2^{9n}-2^{3n})\) modulo \(M_{b}=2^{n-1}-1\) for \(n=12k_2+14, k_2 \in {\mathbb {N}}\) given in Eq. (5) we need to distinguish again two subcases \(n=14\) and \(n>14\). For \(n=14\) we have to show that:
Therefore, substituting the value \(n=14\):
For \(n>14\) we have to show that:
It is important to note that \(\left| (2^{9n}-2^{3n})^{-1} \right| _{M_b}\) is also expressed for \(n>14\) in terms of powers of two in Eq. (5). Thus, to finish the proof we have to show that:
Applying Eq. (16), we can obtain:
Thus, Lemma 2 is proved. \(\square \)
Proof
In order to prove the value of the multiplicative inverse of \((2^{9n}-2^{3n})\) modulo \(M_{b}=2^{n+1}-1\) for \(n=12k_3+6, k_3 \in {\mathbb {N}}\) given in (6), we need to distinguish two subcases \(n=6\) and \(n>6\). For \(n=6\) we have to show that:
Therefore substituting the value \(n=6\):
For \(n>6\) we have to show that:
where \(| 2^{9n}-2^{3n} |_{M_b} = | \overbrace{|2^{3n}|_{M_b}}^{2^{n-2}}(\overbrace{|2^{6n}|_{M_b}}^{2^{n-5}}-1) |_{M_b} = 2^{n-2} (2^{n-5}-1)\). Therefore, Eq. (25) can be written as:
Note that \(\left| (2^{9n}-2^{3n})^{-1} \right| _{M_b}\) is also expressed in terms of powers of two in (6). Thus, to finish the proof we have to show that:
Applying Eq. (16), we can obtain:
Thus, Lemma 3 is proved. \(\square \)
Proof
In order to prove the value of the multiplicative inverse of \((2^{9n}-2^{3n})\) modulo \(M_{b}=2^{n+1}-1\) for \(n=12k_4+10, k_4 \in {\mathbb {N}}\) given in (7), we need to distinguish two subcases \(n=10\) and \(n>10\). For \(n=10\) we have to show that:
Therefore substituting the value \(n=10\):
For \(n>10\) we have to show that:
where \(| 2^{9n}-2^{3n} |_{M_b} = | \overbrace{|2^{3n}|_{M_b}}^{2^{n-2}}(\overbrace{|2^{6n}|_{M_b}}^{2^{n-5}}-1) |_{M_b} = 2^{n-2} (2^{n-5}-1)\). Therefore, Eq. (31) can be written as:
It is important to note that \(\left| (2^{9n}-2^{3n})^{-1} \right| _{M_b}\) is also expressed in terms of powers of two in (5). Thus, to finish the proof we have to show that:
Applying Eq. (16), we can obtain:
Thus, Lemma 4 is proved. \(\square \)
Rights and permissions
About this article
Cite this article
Pettenghi, H., Paludo, R., Matos, R. et al. Efficient RNS Reverse Converters for Moduli Sets with Dynamic Ranges Up to \((10n+1)\)-bit. Circuits Syst Signal Process 37, 5178–5196 (2018). https://doi.org/10.1007/s00034-018-0815-7
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00034-018-0815-7