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 agosvhb,
thanks for the reply. i am aware of the facts you pointed out however my assignment is to use the Liebniz series so cant help it. any idea on the division? what about calculations of fractional numbers in verilog?can it be done? what i mean is that isn't there any syntax or operator in verilog which i can use to directly implement the equation like i do in matlab? thanks