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 agoIf you are dividing by a constant, A, you might aswell change the constant to 1/A. This way, instead of x/A, you get x * 1/A instead, usuing the multiplier, saving the large logic usage of a divider.