даю на всякий случай

Multiplication of Large Integers (Karatsuba Algorithm)
"The example design is a fully pipelined 64 x 64 bit multiply with a latency of 6. It uses
three 36 x 36 bit pipelined DSP block multipliers implemented in the sample file
mult_3tick.v. The adder/compressor logic occupies 431 combinational cells. The
pipeline registers are implemented in 520 cell registers and a small inferred
RAM-based shifter. You can disable the RAM inference with synthesis assignments or
a ”synthesis preserve” attribute. Operating frequency on a 2S15C3 (Stratix II) device is
approximately 265 MHz."
The example files are available on the Altera website at the following URL:
www.altera.com/literature/manual/cookbook.zip.
примеры на verilog
If it doesn't work in simulation, it won't work on the board.
"Ты живешь в своих поступках, а не в теле. Ты — это твои действия, и нет другого тебя" Антуан де Сент-Экзюпери повесть "Маленький принц"