Thanks,
Dave Feustel
Fort Wayne, Indiana
Of course, you can put the first 60 bits into a RAM, and the SRL16
in Virtex is especially nice and cheap, since you can stuff up to
16 shift-register bits into a 4-input Look-Up-Table (LUT).
Good luck, and tell us when you reach max count.
It will take more than 5,000 years @ 100 MHz, so don't hold your
breath. :-)
Peter Alfke, Xilinx Applications
==============================================================
>please tell me how to design a fast (unsigned)32bit divider
>thanks
How fast, and how much hardware can you supply to it?
There is always a tradeoff.
Are both dividend and divisor 32 bits?
(Traditionally, the dividend is twice as long as the divisor.)
-- glen
glen herrmannsfeldt wrote:
> How fast, and how much hardware can you supply to it?
>
> There is always a tradeoff.
>
> Are both dividend and divisor 32 bits?
> (Traditionally, the dividend is twice as long as the divisor.)
>
And is the divisor realy a variable, or is it fairly stable and
1/x can be pre-computed, so that the problem becomes one of
multiplication ?
As an aside: Virtex-II now has many 18 x 18 combinatorial
multipliers that can help speed up the division, if you go for
the one-bit-per -clock successsive approximation method...
Peter Alfke, Xilinx Applications
I'm unfamiliar with the V-II multiplier block performance, but
using add/sub/acc usually results in a very fast iteration cycle.
-- Bob Elkind, et...@aracnet.com
You might turn up some references with some web searching...
HTH,
Subbu
"Dave Feustel" <dfeu...@mindspring.com> wrote in message
news:9ec4nt$ipc$1...@slb6.atl.mindspring.net...
Subbu Meiyappan wrote:
--
-Ray Andraka, P.E.
President, the Andraka Consulting Group, Inc.
401/884-7930 Fax 401/884-7950
email r...@andraka.com
http://www.andraka.com
If you want the longest period, then you want what is called a
primitive polynomial modulo 2. There are a number of descriptions,
the one I have is in "Numerical Recipes in C".
(64,4,3,1,0). Depending on which way you put the logic together
(there are symmetry operations), that is taps 0, 1, 3, 4.
-- glen
64-bits is among them. I wave empirically proven using
C-code that the 16-bit and 32-bit are indeed maximal length. I would expect
I could trust the others too.
Regards,
Spock
"Subbu Meiyappan" <msu...@cisco.com> wrote in message
news:993161117.666970@sj-nntpcache-3...