Skip to main content
Log in

The Complexity of a Pipelined Algorithm for Remainder Computing in a Given Modulo

  • Published:
Automatic Control and Computer Sciences Aims and scope Submit manuscript

Abstract

A pipelined algorithm for computing the remainder when dividing an arbitrary binary number of a given bit capacity (numerator) by a certain constant value (a constant) is proposed. The algorithm is based on the same types of operations of comparisons and addition–subtraction of partial remainders upon division by this constant. Depending on whether an intermediate result during computation of the remainder is positive or negative, addition with the value of the intermediate result or subtraction from it of the remainder upon division of a given power of two occur. The number of algorithm stages compared with the model is known in advance and depends on the bit capacities of both the dividend and constants. The estimates of the time complexity of the proposed pipelined algorithm are determined by the maximum delay time of operation of the pipeline stage. The estimates of the hardware complexity of the proposed algorithm, as well as the model of the device that implements the algorithm, are determined at the abstract and structural levels.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Moldovyan, N.A., Algorithms of information authentication for the automatic control systems on the basis of structures in finite vector spaces, Autom. Remote Control, 2008, vol. 69, no. 12, pp. 2142–2155.

    Article  MathSciNet  MATH  Google Scholar 

  2. Latypov, R.Kh., Nurutdinov, Sh.R., Stolov, E.L., and Faradzhev, R.G., Application of the theory of linear sequential machines in diagnostic systems, Avtom. Telemekh., 1988, no. 8, pp. 3–27.

    MathSciNet  MATH  Google Scholar 

  3. Kuznetsov, V.M. and Pesoshin, V.A., Generatory sluchainykh i psevdosluchainykh posledovatel’-nostei na tsifrovykh elementakh zaderzhki (Generators of Random and Pseudo-Random Sequences on Digital Delay Elements), Kazan: Izd. Kazan. Gos. Tekh. Univ., 2013.

    Google Scholar 

  4. Petrenko, V.I., Kuz’minov, Yu.V., Karagulyan, D.L., and Mosin, O.V., RF Patent 2324972, Byull. Izobret., 2008, no. 14.

    Google Scholar 

  5. Ovcharenko, L.A. and Turchenyak, V.I., RF Patent 2192092, Byull. Izobret., 2002, no. 30.

    Google Scholar 

  6. Berezhnoi, V.V., Chervyakov, N.I., and Olenev, A.A., RF Patent 1785081, Byull. Izobret., 1992, no. 48.

  7. Shalagin, S.V., Kaibushev, F.Kh., and Zelinskii, R.V., PLD-based implementation of generators of pseudo-random sequences and means of their CRC-control, Vestn. Kaliningr. Gos. Tekh. Univ. im. A. N. Tupoleva, 2009, no. 2, pp. 57–61.

    Google Scholar 

  8. Pesoshin, V.A., Kuznetsov, V.M., and Shirshova, D.V., Generators of the equiprobable pseudorandom nonmaximal-length sequences based on linear-feedback shift registers, Autom. Remote Control, 2016, vol. 77, no. 9, pp. 1622–1631.

    Article  MathSciNet  MATH  Google Scholar 

  9. Kuzelin, M.O., Knyshev, D.A., and Zotov, V.Yu., Sovremennye semeistva PLIS firmy Xilinx. Sprav. posobie (Modern PLD-Families from Xilinx: Handbook), Moscow: Goryachaya liniya–Telekom, 2004.

    Google Scholar 

  10. Virtex-7. Highest Performance and Integration at 28 nm. Xilinx, Inc. https://www.xilinx.com/products/silicondevices/fpga/virtex-7.html.

  11. Zotov, V.Yu., Proektirovanie vstraivaemykh mikroprotsessornykh sistem na osnove SAPR firmy Xilinx (Design of CAD-Based Embedded Microprocessor Systems from Xilinx), Moscow: Goryachaya liniya–Telekom, 2006.

    Google Scholar 

  12. Paar, C., Fleischmann, P., and Soria-Rodriguez, P., Fast arithmetic for public-key algorithms in Galois fields with composite exponents, IEEE Trans. Comput., 1999, vol. 48, no. 10, pp. 1025–1034.

    Article  MathSciNet  MATH  Google Scholar 

  13. Zakharov, V.M., Nurutdinov, Sh.R., and Shalagin, S.V., Hardware implementation of multiplication of Galois field elements on programmable FPGA architecture chips, Vestn. Kaliningr. Gos. Tekh. Univ. im. A. N. Tupoleva, 2001, no. 1, pp. 36–41.

    Google Scholar 

  14. Shalagin, S.V., Computer evaluation of a method for combinational-circuit synthesis in FPGAs, Russ. Microelectron., 2004, vol. 33, no. 1, pp. 46–54.

    Article  Google Scholar 

  15. Shalagin, S.V., Multiplication of Galois field expansion elements in the PLD/FPGA basis, Inf. Tekhnol., 2007, no. 12, pp. 22–27.

    Google Scholar 

  16. Zakharov, V.M., Stolov, E.L., and Shalagin, S.V., An algorithm for computing the residue modulo and estimating its complexity, Inf. Tekhnol., 2010, no. 11, pp. 32–36.

    Google Scholar 

  17. Zakharov, V.M., Stolov, E.L., and Shalagin, S.V., RF Pat. 2421781 MPK8G06F 7/72, H03M 7/18, Byull. Izobret., 2011, no. 17.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to S. V. Shalagin.

Additional information

Original Russian Text © V.M. Zakharov, V.A. Pesoshin, S.V. Shalagin, 2018, published in Avtomatika i Vychislitel’naya Tekhnika, 2018, No. 4, pp. 79–85.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zakharov, V.M., Pesoshin, V.A. & Shalagin, S.V. The Complexity of a Pipelined Algorithm for Remainder Computing in a Given Modulo. Aut. Control Comp. Sci. 52, 251–255 (2018). https://doi.org/10.3103/S0146411618040120

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.3103/S0146411618040120

Keywords