jerryt
Junior Member level 3
I am working on a final project for graduate school. I need to be able to calculate cos (x) and sin (x) in VHDL code. My professor tells me I should use a look up table for cos and sin values. I have never worked with look up tables in VHDL and I am a bit confused on how to do this in VHDL. Any suggestions?
Example:
cos (2) = -0.4161 (I need to find the solution of the cosine function and use it later in my VHDL code)
Thanks for everyone's help in advance! I really appreciate it.
Example:
cos (2) = -0.4161 (I need to find the solution of the cosine function and use it later in my VHDL code)
Thanks for everyone's help in advance! I really appreciate it.