Presentation is loading. Please wait.

Presentation is loading. Please wait.

FPGA Implementation of Multipliers

Similar presentations


Presentation on theme: "FPGA Implementation of Multipliers"— Presentation transcript:

1 FPGA Implementation of Multipliers
Lecture 9 Addendum FPGA Implementation of Multipliers

2 Source Jean-Pierre Deschamps, Gery Jean Antoine Bioul,
Gustavo D. Sutter, Synthesis of Arithmetic Circuits: FPGA, ASIC and Embedded Systems, Chapter 12: Multipliers Section FPGA Implementation of Multipliers

3 Y Multiplicand yk-1yk-2 . . . y1 y0 X Multiplier xm-1xm-2 . . . x1 x0
Notation Y Multiplicand yk-1yk y1 y0 X Multiplier xm-1xm x1 x0 P Product (Y  X ) pm+k-1pm+k p2 p1 p0 If multiplicand and multiplier are of different sizes, usually multiplier has the smaller size

4 Xilinx FPGA Implementation
Equations Z = (2xm-1+xm-2)  Y  2m-2 + … + (2xi+1+xi)  Y  2i + … + +(2x3+x2)  Y  22 + (2x1+x0)  Y  20 (2xi+1+xi)  Y = pi(k+1)pikpi(k-1)…pi2pi1pi0 pij = xiyj xor xi+1yj-1 xor cj cj+1 = (xiyj)(xi+1yj-1) + (xiyj)cj + (xi+1yj-1)cj c0 = c1 = 0

5 Xilinx FPGA Implementation
Modified Basic Cell Xilinx FPGA Implementation xi+1 xi cj+1 yj yj-1 FA pij cj

6 Xilinx FPGA Implementation
Modified Basic Cell Xilinx FPGA Implementation LUT: xiyj xor xi+1yj-1 cj+1 xi yi xi+1 LUT 1 yi-1 pij cj pij = xiyj xor xi+1yj-1 xor cj cj+1 = (xiyj)(xi+1yj-1) + (xiyj)cj + (xi+1yj-1)cj

7 Xilinx FPGA Multiplier


Download ppt "FPGA Implementation of Multipliers"

Similar presentations


Ads by Google