nashafi
Member level 1
Hi,
I am writing an FIR filter in VHDL and i tested with some random coefficients like 1,2,3,4,5 and it works fine for impulse response.
Now I have to test it with some actual coefficients which are like
-0.00000001234
or
0.0000234569
I was wondering that if some one can tell me how to convert this into std_logic_vectors or if i can some how use them as it like some integer conversion
Any Ideas ???
Thanks,
-Nauman
I am writing an FIR filter in VHDL and i tested with some random coefficients like 1,2,3,4,5 and it works fine for impulse response.
Now I have to test it with some actual coefficients which are like
-0.00000001234
or
0.0000234569
I was wondering that if some one can tell me how to convert this into std_logic_vectors or if i can some how use them as it like some integer conversion
Any Ideas ???
Thanks,
-Nauman