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


Cite item

Full Text

Open Access Open Access
Restricted Access Access granted
Restricted Access Subscription Access

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.

About the authors

V. M. Zakharov

Department of Computer Systems

Email: sshalagin@mail.ru
Russian Federation, Kazan, Tatarstan, 420111

V. A. Pesoshin

Department of Computer Systems

Email: sshalagin@mail.ru
Russian Federation, Kazan, Tatarstan, 420111

S. V. Shalagin

Department of Computer Systems

Author for correspondence.
Email: sshalagin@mail.ru
Russian Federation, Kazan, Tatarstan, 420111


Copyright (c) 2018 Allerton Press, Inc.

This website uses cookies

You consent to our cookies if you continue to use our website.

About Cookies