Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCosine and Sine lookup table in vhdl
Hi i'm new to vhdl and I need a cosine and sine lookup table file in vhdl file already DONE.. because I don't have much time.. please help! thanks.
Altera_Forum
Honored Contributor
15 years agoFind some example code in this previous thread http://www.alteraforum.com/forum/showthread.php?t=1902
The general option is to calculate a sine table with an external tool, e.g. a spreasheet calculator like MS Excel and export it as *.hex or *.mif file, that can be imported by a ROM MegaFunction.