david90
- 311
- 2
How do I use two 8-bit sine table to make one 16-bit sine table?
Here is my 8-bit sine table in verilog
char sintable[256]
for(int i=0;i<256;i++)
sintable=sin(2*pi*i/256)*128
I know I have to somehow use: sin(theta+ delta*theta)
theta would be the first 8-bit and delta*theta would be the last 8 bit. Combine and u get 16-bit.
Here is my 8-bit sine table in verilog
char sintable[256]
for(int i=0;i<256;i++)
sintable=sin(2*pi*i/256)*128
I know I have to somehow use: sin(theta+ delta*theta)
theta would be the first 8-bit and delta*theta would be the last 8 bit. Combine and u get 16-bit.