Abstract
Computing cores to be implemented on FPGAs may involve divisions by small integer constants in fixed or floating point. This article presents a family of architectures addressing this need. They are derived from a simple recurrence whose body can be implemented very efficiently as a look-up table that matches the hardware resources of the target FPGA. For instance, division of a 32-bit integer by the constant 3 may be implemented by a combinatorial circuit of 48 LUT6 on a Virtex-5. Other options are studied, including iterative implementations, and architectures based on embedded memory blocks. This technique also computes the remainder. An efficient implementation of the correctly rounded division of a floating-point constant by such a small integer is also presented.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
de Dinechin, F., Pasca, B.: Designing custom arithmetic data paths with FloPoCo. IEEE Design & Test of Computers 28(4) (August 2011)
Ercegovac, M.D., Lang, T.: Digital Arithmetic. Morgan Kaufmann (2003)
Artzy, E., Hinds, J.A., Saal, H.J.: A fast division technique for constant divisors. Communications of the ACM 19, 98–101 (1976)
de Dinechin, F.: Multiplication by rational constants. IEEE Transactions on Circuits and Systems II (to appear, 2012)
Li, S.-Y.R.: Fast constant division routines. IEEE Transactions on Computers C-34(9), 866–869 (1985)
Srinivasan, P., Petry, F.: Constant-division algorithms. IEE Proc. Computers and Digital Techniques 141(6), 334–340 (1994)
Doran, R.W.: Special cases of division. Journal of Universal Computer Science 1(3), 67–82 (1995)
Paplinski, A.: CSE2306/1308 Digital Logic Lecture Note, Lecture 8. Clayton School of Information Technology Monash University, Australia (2006)
Muller, J.-M., Brisebarre, N., de Dinechin, F., Jeannerod, C.-P., Lefèvre, V., Melquiond, G., Revol, N., Stehlé, D., Torres, S.: Handbook of Floating-Point Arithmetic. Birkhauser, Boston (2009)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
de Dinechin, F., Didier, LS. (2012). Table-Based Division by Small Integer Constants. In: Choy, O.C.S., Cheung, R.C.C., Athanas, P., Sano, K. (eds) Reconfigurable Computing: Architectures, Tools and Applications. ARC 2012. Lecture Notes in Computer Science, vol 7199. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-28365-9_5
Download citation
DOI: https://doi.org/10.1007/978-3-642-28365-9_5
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-28364-2
Online ISBN: 978-3-642-28365-9
eBook Packages: Computer ScienceComputer Science (R0)