Tutorials
Verilog Fixed-Point Multiplication: Keep the Product Bits You Need
Published · Updated
Write total width and fractional width explicitly
Fixed-point notation is easy to misread because some Q conventions include the sign bit in the integer count and others do not. State W, the total signed width, and F, the fractional width. An encoded integer x represents x×2^−F. This article uses signed two’s-complement integers and does not assume a particular Q-name convention.

For signed operands with widths Wa and Wb, a full mathematical product fits Wa+Wb bits. Its fractional width is Fa+Fb. Keep that full product before deciding what to discard. A language expression or assignment can still truncate earlier than intended if operand signedness and intermediate widths are left implicit.
Estimate native FPGA resources.
Connect the arithmetic to an acquisition workload.
Check a negative product and the most-negative boundary
With W=8 and F=4, raw integers −24 and 12 represent −1.5 and 0.75. Their product is raw −288 with F=8, representing −1.125. This gives a compact test of sign extension and binary-point placement without relying on floating-point display alone.
Also multiply the most-negative 8-bit value by itself: −128×−128 is 16,384. That positive result needs the full signed product range. A narrow temporary can turn it into a misleading negative or zero result. The worksheet accepts raw integers, checks that they fit their declared widths, and reports the full product as an integer and exact power-of-two scale.
Retain exact part-number context.
Make output conversion a separate operation
A narrower output needs a specified fractional shift, rounding rule and overflow policy. Keeping a convenient slice is not a complete definition. For negative values, dropping low bits behaves differently from rounding toward zero, and a rounding increment can itself overflow the target format.
Retain full precision through the multiply, then perform the documented conversion. Use the companion rounding and saturation task for that step. Before using an example in an FPGA, simulate the signed extremes and inspect synthesized DSP usage; a numerical model alone does not show how many hardware multipliers were inferred.
Inspect the implemented timing path.
Preserve product scale: short sequence

Operand A fractional bits: 4 fractional bits → Operand B fractional bits: 4 fractional bits → Full product fractional bits: 8 fractional bits
Export your result with its assumptions. For an unresolved board or implementation issue, prepare an engineering review with the exact part, revision and relevant record. This link opens the review page; it does not send your worksheet.
Sources and scope
- Project F Fixed Point Numbers in Verilog
- AMD UG1399 Fixed-Point Identifier Summary, 2025.1
- AMD UG953 RAMB18E1, 2026.2
Sources checked 18 November 2026. Numerical examples are calculated cases. Hardware measurements and device timing closure are outside the results shown here.
Back to Tutorials