Forum Discussion
Altera_Forum
Honored Contributor
15 years agohow to perform large number(128bit) division
Hi all, I'm designing a system using simple LPM divider, it works fine below 64 bits number, but when the number is larger than 64 bits, it gives me an error stating that LPM cannot support mor...
Altera_Forum
Honored Contributor
15 years agoYou can write your own function using a serial approach for 'long divide'. It will take up to 128 clocks (and a few) to calculate the result. It will use reasonably few rersources compared to a direct combinatorial approach.
If you need speed that you have to pipeline every stage which will be a lot more work.