Abstract
Multiplication by a constant is probably the most useful and best studied case of operator specialization, in particular for its importance in the construction of digital filters. There are two main families of constant multiplication techniques (shift-and-add and table-based), and there are several types of constants (integer/fixed-point, rational, or arbitrary real numbers). This chapter reviews the techniques that have been developed for each case. Some variants of the multiple constant multiplication problems are also addressed.
Being unable to trust my reasoning, I learnt by heart all the possible results of all the possible multiplications.Eugène Ionesco, La leçon
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
References
IEEE Standard for Information technology– Telecommunications and information exchange between systems– Local and metropolitan area networks– Specific requirements– Part 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate Wireless Personal Area Networks (WPANs). 2006.
Levent Aksoy, Paulo Flores, and José Monteiro. “Approximation of Multiple Constant Multiplications Using Minimum Look-Up Tables on FPGA”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2015, pp. 2884–2887.
Levent Aksoy, E. Gunes, and Paulo Flores. “An Exact Breadth- First Search Algorithm for the Multiple Constant Multiplications Problem”. In: NORCHIP (2008), pp. 41–46.
Levent Aksoy, E.O. Günes, and Paulo Flores. “Search Algorithms for the Multiple Constant Multiplications Problem: Exact and Approximate”. In: Microprocessors and Microsystems 34.5 (2010), pp. 151–162.
Ehud Artzy, James A. Hinds, and Harry J. Saal. “A Fast Division Technique for Constant Divisors”. In: Communications of the ACM 19 (1976), pp. 98–101.
A. V. Aho, S. C. Johnson, and J. D. Ullman. “Code generation for expressions with common subexpressions (Extended Abstract)”. In: ACM SIGACT-SIGPLAN Symposium on Principles on Programming Languages (POPL). 1976.
Levent Aksoy, Eduardo da Costa, Paulo Flores, and José Monteiro. “Optimization of Area in Digital FIR Filters using Gate-Level Metrics”. In: Design Automation Conference (DAC). ACM/IEEE, 2007, pp. 420–423.
Levent Aksoy, Eduardo da Costa, Paulo Flores, and José Monteiro. “Exact and Approximate Algorithms for the Optimization of Area and Delay in Multiple Constant Multiplications”. In: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 27.6 (2008), pp. 1013–1026.
Levent Aksoy, Eduardo Costa, Paulo Flores, and José Monteiro. “Design of Low-Power Multiple Constant Multiplications Using Low-Complexity Minimum Depth Operations”. In: Great Lakes Symposium on VLSI (GLSVLSI). ACM, 2011, pp. 79–84.
Levent Aksoy. “Optimization Algorithms for the Multiple Constant Multiplications Problem”. PhD thesis. Istanbul Technical University, 2009.
Algirdas Antanas Avižienis. “Signed-Digit Number Representations for Fast Parallel Arithmetic”. In: IRE Transactions on Electronic Computers EC-10.3 (1961), pp. 389–400.
Nicolas Brisebarre, Florent de Dinechin, and Jean-Michel Muller. “Integer and Floating-Point Constant Multipliers for FPGAs”. In: International Conference on Application-Specific Systems, Architectures and Processors (ASAP). IEEE, 2008, pp. 239–244.
Andrew D. Booth. “A Signed Binary Multiplication Technique”. In: The Quarterly Journal of Mechanics and Applied Mathematics (1951), pp. 236–240.
Ken D. Chapman. “Fast Integer Multipliers Fit in FPGAs”. In: Electronic Design News (1994).
Peter Cappello and Kenneth Steiglitz. “Some Complexity Issues in Digital Signal Processing”. In: IEEE Transactions onAcoustics, Speech and Signal Processing 32.5 (1984), pp. 1037–1041.
Süleyman S. Demirsoy, Andrew G. Dempster, and Izzet Kale. “Transition Analysis on FPGA for Multiplier-Block Based FIR Filter Structures”. In: International Symposium on Circuits and Systems (ISCAS). Vol. 2. IEEE, 2000, pp. 862–865.
Andrew G. Dempster, Süleyman S. Demirsoy, and Izzet Kale. “Designing Multiplier Blocks with Low Logic Depth”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2002, pp. 773–776.
Andrew G. Dempster, Oscar Gustafsson, and Jeffrey O. Coleman. “Towards an Algorithm for Matrix Multiplier Blocks”. In: European Conference on Circuit Theory and Design (ECCTD). 2003, pp. 1–4.
Florent de Dinechin, Silviu-Ioan Filip, Luc Forget, and Martin Kumm. “Table-Based versus Shift-And-Add Constant Multipliers for FPGAs”. In: Symposium on Computer Arithmetic (ARITH). IEEE, 2019.
Vassil Dimitrov, Laurent Imbert, and Andrew Zakaluzny. “Multiplication by a Constant is Sublinear”. In: Symposium on Computer Arithmetic (ARITH). IEEE, 2007, pp. 261–268.
Andrew G. Dempster and Malcolm D. Macleod. “Constant Integer Multiplication Using Minimum Adders”. In: IEE Proceedings of Circuits, Devices and Systems 141.5 (1994), pp. 407–413.
Andrew G. Dempster and Malcolm D. Macleod. “Use of Minimum-Adder Multiplier Blocks in FIR Digital Filters”. In: IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing 42.9 (1995), pp. 569–577.
Mathias Faust and Chip-Hong Chang. “Minimal Logic Depth Adder Tree Optimization for Multiple Constant Multiplication”. In: International Symposium on Circuits and Systems (IS-CAS). IEEE, 2010, pp. 457–460.
Mathias Faust and Chip-Hong Chang. “Bit-parallel Multiple Constant Multiplication using Look-Up Tables on FPGA”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2011, pp. 657–660.
Oscar Gustafsson and Andrew G. Dempster. “On the Use of Multiple Constant Multiplication in Polyphase FIR Filters and Filter Banks”. In: Nordic Signal Processing Symposium (NOR-SIG). 2004, pp. 53–56.
Oscar Gustafsson, Andrew G. Dempster, and Lars Wanhammar. “Extended Results for Minimum-Adder Constant Integer Multipliers”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2002, pp. 73–76.
Oscar Gustafsson, Kenny Johansson, and Linda S. DeBrunner. “Techniques for Avoiding Sign-Extension in Multiple Constant Multiplication”. In: Asilomar Conference on Signals, Circuits and Systems. IEEE, 2009, pp. 740–743.
J. W. L. Glaisher. “Periods of Reciprocals of Integers Prime to 10”. In: Proceedings of the Cambridge Philosophical Society 3 (1878), pp. 185–206.
Oscar Gustafsson, Henrik Ohlsson, and Lars Wanhammar. “Low-Complexity Constant Coefficient Matrix Multiplication Using a Minimum Spanning Tree Approach”. In: 6th Nordic Signal Processing Symposium (NORSIG). 2004, pp. 141–144.
Oscar Gustafsson and Fahad Qureshi. “Addition Aware Quantization for Low Complexity and High Precision Constant Multiplication”. In: IEEE Signal Processing Letters 17.2 (2010), pp. 173–176.
Gurobi Optimization Inc. Gurobi Website. 2022. URL: http://www.gurobi.com.
Oscar Gustafsson, Andrew G. Dempster, Kenny Johansson, and Malcolm D. Macleod. “Simplified Design of Constant Coefficient Multipliers”. In: Circuits, Systems, and Signal Processing 25.2 (2006), pp. 225–251.
Oscar Gustafsson. “A Difference Based Adder Graph Heuristic for Multiple Constant Multiplication Problems”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2007, pp. 1097–1100.
Oscar Gustafsson. “Lower Bounds for Constant Multiplication Problems”. In: IEEE Transactions on Circuits and Systems II: Express Briefs 54.11 (2007), pp. 974–978.
Oscar Gustafsson. “Towards Optimal Multiple Constant Multiplication: A Hypergraph Approach”. In: Asilomar Conference on Signals, Circuits and Systems. IEEE, 2008, pp. 1805–1809.
Remi Garcia and Anastasia Volkova. “Toward the Multiple Constant Multiplication at Minimal Hardware Cost”. In: IEEE Transactions on Circuits and Systems I: Regular Papers (2023), pp. 1–13.
Rémi Garcia, Anastasia Volkova, and Martin Kumm. “Truncated Multiple Constant Multiplication with Minimal Number of Full Adders”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2022, pp. 263–267.
Oscar Gustafsson and Lars Wanhammar. “A Novel Approach to Multiple Constant Multiplication Using Minimum Spanning Trees”. In: IEEE Midwest Symposium on Circuits and Systems (MWSCAS). Vol. 3. 2002.
Oscar Gustafsson and Lars Wanhammar. “Low-Complexity and High-Speed Constant Multiplications for Digital Filters Using Carry-Save Arithmetic”. In: Digital Filters. InTech, 2011.
Martin Hardieck, M Kumm, Konrad Möller, and Peter Zipf. “Reconfigurable Convolutional Kernels for Neural Networks on FPGAs”. In: International Symposium on Field Programmable Gate Arrays (FPGA). ACM, 2019, pp. 43–52.
Richard Hartley. “Optimization of Canonic Signed Digit Multipliers for Filter Design”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 1991, pp. 1992–1995.
Richard I. Hartley. “Subexpression Sharing in Filters Using Canonic Signed Digit Multipliers”. In: IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing 43.10 (1996), pp. 677–688.
Kai Hwang. Computer Arithmetic: Principles, Architecture, and Design. Wiley-Interscience, 1979.
Intel Stratix 10 Variable Precision DSP Blocks User Guide. Intel Corporation. 2018.
Miriam Guadalupe Cruz Jimenez, Uwe Meyer Baese, and Gordana Jovanovic Dolecek. “Theoretical Lower Bounds for Parallel Pipelined Shift-and-Add Constant Multiplications with N-Input Arithmetic Operators”. In: EURASIP Journal on Advances in Signal Processing 2017.1 (2017), pp. 1–13.
Kenny Johansson, Oscar Gustafsson, and Lars Wanhammar. “A Detailed Complexity Model for Multiple Constant Multiplication and an Algorithm to Minimize the Complexity”. In: European Conference on Circuit Theory and Design. Vol. 3. 2005, III/465–III/468 vol. 3.
Kenny Johansson, Oscar Gustafsson, and Lars Wanhammar. “Bit-Level Optimization of Shift-and-Add Based FIR Filters”. In: International Conference on Electronics, Circuits and Systems, (ICECS). IEEE, 2007, pp. 713–716.
Kenny Johansson. “Low Power and Low Complexity Shift-and-Add Based Computations”. PhD thesis. Linköping Studies in Science and Technology, 2008.
Martin Kumm, Martin Hardieck, and Peter Zipf. “Optimization of Constant Matrix Multiplication with Low Power and High Throughput”. In: IEEE Transactions on Computers 66.12 (2017), pp. 2072–2080.
Andrew Kinane, Valentin Muresan, and Noel O’Connor. “Optimisation of Constant Matrix Multiplication Operation Hardware Using a Genetic Algorithm”. In: Lecture Notes in Computer Science. Springer, 2006, pp. 296–307.
Andrew Kinane, Valentin Muresan, and Noel O’Connor. “Towards an Optimised VLSI Design Algorithm for the Constant Matrix Multiplication Problem”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2006, pp. 5111–5114.
Donald Knuth. The Art of Computer Programming, vol.2: Seminumerical Algorithms. 3rd ed. Addison Wesley, 1997.
Martin Kumm, Peter Zipf, Mathias Faust, and Chip-Hong Chang. “Pipelined Adder Graph Optimization for High Speed Multiple Constant Multiplication”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2012, pp. 49–52.
Martin Kumm, Diana Fanghänel, K Möller, Peter Zipf, and Uwe Meyer-Baese. “FIR Filter Optimization for Video Processing on FPGAs”. In: Springer EURASIP Journal on Advances in Signal Processing (2013), pp. 1–18.
Martin Kumm, Martin Hardieck, Jens Willkomm, Peter Zipf, and Uwe Meyer-Baese. “Multiple Constant Multiplication with Ternary Adders”. In: International Conference on Field Programmable Logic and Application (FPL). 2013, pp. 1–8.
Martin Kumm, Oscar Gustafsson, Mario Garrido, and Peter Zipf. “Optimal Single Constant Multiplication using Ternary Adders”. In: IEEE Transactions on Circuits and Systems II: Express Briefs 65.7 (2016), pp. 928–932.
Martin Kumm. “Multiple Constant Multiplication Optimizations for Field Programmable Gate Arrays”. PhD thesis. Springer Wiesbaden, 2015.
Martin Kumm. “Optimal Constant Multiplication using Integer Linear Programming”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2018.
Martin Kumm and Peter Zipf. “High Speed Low Complexity FPGA-Based FIR Filters Using Pipelined Adder Graphs”. In: International Conference on Field-Programmable Technology (FPT). IEEE, 2011, pp. 1–4.
Martin Kumm and Peter Zipf. “Hybrid Multiple Constant Multiplication for FPGAs”. In: International Conference on Electronics, Circuits and Systems, (ICECS). 2012, pp. 556–559.
Shuo-Yen Robert Li. “Fast Constant Division Routines”. In: IEEE Transactions on Computers C-34.9 (1985), pp. 866–869.
Xin Lou, Ya Jun Yu, and Pramod Kumar Meher. “High-Speed Multiplier Block Design Based on Bit-Level Critical Path Optimization”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2014, pp. 1308–1311.
Xin Lou, Ya Jun Yu, and Pramod Kumar Meher. “Fine-Grained Critical Path Analysis and Optimization for Area-Time Efficient Realization of Multiple Constant Multiplications”. In: IEEE Transactions on Circuits and Systems I 62.3 (2015), pp. 863–872.
Malcolm D. Macleod and Andrew G. Dempster. “Common Subexpression Elimination Algorithm for Low-Cost Multiplierless Implementation of Matrix Multipliers”. In: Electronics Letters 40.11 (2004), pp. 651–652.
Ahmed Can Mert, Hasan Azgın, Ercan Kalalı, and İlker Hamzaoğlu. “Efficient multiple constant multiplication using DSP blocks in FPGA”. In: International Conference on Field Programmable Logic and Application (FPL). IEEE, 2018.
Uwe Meyer-Baese, Jiajia Chen, Chip Hong Chang, and Andrew G. Dempster. “A Comparison of Pipelined RAG-n and DA FPGA-based Multiplierless Filters”. In: IEEE Asia Pacific Conference on Circuits and Systems (APCCAS). 2006, pp. 1555–1558.
Uwe Meyer-Baese. Digital Signal Processing with Field Programmable Gate Arrays. 4th ed. Springer, 2014.
Konrad Möller, Martin Kumm, Marco Kleinlein, and Peter Zipf. “Reconfigurable Constant Multiplication for FPGAs”. In: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 36.6 (2017), pp. 927–937.
Konrad Möller, Martin Kumm, Mario Garrido, and Peter Zipf. “Optimal Shift Reassignment in Reconfigurable Constant Multiplication Circuits”. In: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 37.3 (2018), pp. 710–714.
Konrad Möller. “Run-time Reconfigurable Constant Multiplication on Field Programmable Gate Arrays”. PhD thesis. Kassel University Press, 2017.
M. Potkonjak, M. B. Srivastava, and A. P. Chandrakasan. “Multiple Constant Multiplications: Efficient and Versatile Framework and Algorithms for Exploring Common Subexpression Elimination”. In: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 15.2 (1996), pp. 151–165.
Narges Mohammadi Sarband, Oscar Gustafsson, and Mario Garrido. “Using Transposition to Efficiently Solve Constant Matrix-Vector Multiplication and Sum of Product Problems”. In: Journal of Signal Processing Systems 54.11 (July 2020), pp. 1–15.
P. Srinivasan and F.E. Petry. “Constant-division algorithms”. In: IEE Proc. Computers and Digital Techniques 141.6 (1994), pp. 334–340.
Dong Shi and Ya Jun Yu. “Design of Linear Phase FIR Filters With High Probability of Achieving Minimum Number of Adders”. In: IEEE Transactions on Circuits and Systems I: Regular Papers 58.1 (2011), pp. 126–136.
Richard H. Turner, Tim Courtney, and Roger Woods. “Implementation of Fixed DSP Functions using the Reduced Coefficient Multiplier”. In: IEEE International Conference on Acoustics, Speech, and Signal Processing 2 (2001), pp. 881–884.
Peter Tummeltshammer, James C. Hoe, and Markus Püschel. “Time-Multiplexed Multiple-Constant Multiplication”. In: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 26.9 (2007), pp. 1551–1563.
David E. Troncoso Romero, Uwe Meyer-Baese, and Gordana Jovanovic Dolecek. “On the Inclusion of Prime Factors to Calculate the Theoretical Lower Bounds in Multiplierless Single Constant Multiplications”. In: EURASIP Journal on Advances in Signal Processing (2014).
Jason Thong and Nicola Nicolici. “A Novel Optimal Single Constant Multiplication Algorithm”. In: Design Automation Conference (DAC). ACM/IEEE, 2010.
Jason Thong and Nicola Nicolici. “An Optimal and Practical Approach to Single Constant Multiplication”. In: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 30.9 (2011), pp. 1373–1386.
Keith D. Tocher. “Techniques of Multiplication and Division for Automatic Binary Computers”. In: The Quarterly Journal of Mechanics and Applied Mathematics 11.3 (1958), pp. 364–384.
Anastasia Volkova, Matei Iştoan, Florent de Dinechin, and Thibault Hilaire. “Towards Hardware IIR Filters Computing Just Right: Direct Form I Case Study”. In: IEEE Transactions on Computers 68.4 (2019).
Yevgen Voronenko and Markus Püschel. “Multiplierless Multiple Constant Multiplication”. In: ACM Transactions on Algorithms 3.2 (2007).
Michael J. Wirthlin. “Constant Coefficient Multiplication Using Look-Up Tables”. In: Journal of VLSI Signal Processing 36.1 (2004), pp. 7–15.
Yao Fu, Ephrem Wu, Ashish Sirasao, Sedny Attia, Kamran Khan, and Ralph Wittig. Deep Learning with INT8 Optimization on Xilinx Devices (White Paper). Tech. rep. Xilinx, Inc., 2017.
Wen Bin Ye and Ya Jun Yu. “Switching Activity Analysis and Power Estimation for Multiple Constant Multiplier Block of FIR Filters”. In: International Symposium on Circuits and Systems (ISCAS). IEEE, 2011, pp. 145–148.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2024 Springer Nature Switzerland AG
About this chapter
Cite this chapter
de Dinechin, F., Kumm, M. (2024). Multiplication by Constants. In: Application-Specific Arithmetic. Springer, Cham. https://doi.org/10.1007/978-3-031-42808-1_12
Download citation
DOI: https://doi.org/10.1007/978-3-031-42808-1_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-42807-4
Online ISBN: 978-3-031-42808-1
eBook Packages: EngineeringEngineering (R0)