Forum Discussion
Altera_Forum
Honored Contributor
10 years agohow to code tan, arctan, log functions in verilog?
I need to use tan and arctan functions in verilog and generate a plot, one like in matlab. Also , the code should be synthesizable. Can any one suggest how can I code such trigonometric fu...
Altera_Forum
Honored Contributor
10 years agoYou should use the Cordic IP core in order to generate complex mathematical functions.
Try to instantiate and simulate the cordic core and configure it such a way that your math functions are generated.