Forum Discussion
Altera_Forum
Honored Contributor
18 years agocalculate pi in verilog
Im trying to develop a system which will calculate pi using verilog and using the Gregory Leibniz series. this is the equation pi = 4 x ( (-1)^n / 2n+1 ); where n = 0 to infinity ive tri...
Altera_Forum
Honored Contributor
18 years agoStefaan,
Thanks a lot. Ive tried the altfp_div megafunction for the floating point division part and it works great. I now have to implement the rest of the Gregory series. Thanks for all the help. Naamhin