Forum Discussion
Altera_Forum
Honored Contributor
14 years agolpm_divider latency
Hi, I am new in VHDL and Altera FPGA. I am currently working with a Cyclone III. I want to use the megafunction lpm_divide to do a signed 32 bit / signed 16 bit division. I read in the A...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- do you actually need a divider? do you divide by a constant, or maybe a set of a few constants? in this case you can use a multiplier instead and get away with much less pipelining and fewer resources --- Quote End --- Can you provide some pointers as to how one could use a multiplier when dividing by a set of constants? In my case I have a 64 bit number of which I am trying to find an exponent (base 10). Given: 2543000000, I need to arrive at 2543 & 6 (to represent 10^6). I would appreciate any help.