DSPRelated.com
Forums

FIR coefficient : is there a software which allows to convert real number coefficients to hexadecimal Q15 ones ?

Started by french_student March 25, 2004
Hi,

Here is another question :

I'm designing a FIR filter program (on a TMS320VC5402) and as a
consequence i calculated the coefficients with an online software. The
issue is that this software gives the coefficient in real number
representation. In the program, when defining the buffer which
contains the coefficients, i guess they must be declared as Q15
numbers or another hexadecimal (fixed-point) representation. So my
question is : is there a software (free!) which converts real numbers
to hexadecimal Q15 ? Of course i could do it myself, but converting 99
coefficients will be very long!!

Thanks.
"french_student" <jerome_lapeyre_mirande@hotmail.com> wrote in message
news:b261816f.0403250015.611509f8@posting.google.com...
> Hi, > > Here is another question : > > I'm designing a FIR filter program (on a TMS320VC5402) and as a > consequence i calculated the coefficients with an online software. The > issue is that this software gives the coefficient in real number > representation. In the program, when defining the buffer which > contains the coefficients, i guess they must be declared as Q15 > numbers or another hexadecimal (fixed-point) representation. So my > question is : is there a software (free!) which converts real numbers > to hexadecimal Q15 ? Of course i could do it myself, but converting 99 > coefficients will be very long!! > > Thanks.
An Excel-like spreadsheet will do it fairly quickly. Took me about 5 minutes to generate a table of 256 cosine values from 0 to Pi/2 in 1.15 Hex today. Cheers, -- Alf alfkatz@remove.the.obvious.ieee.org --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.601 / Virus Database: 382 - Release Date: 29/02/2004
try my software:

http://winfilter.20m.com

salutation,
Adrian

french_student wrote:
> Hi, > > Here is another question : > > I'm designing a FIR filter program (on a TMS320VC5402) and as a > consequence i calculated the coefficients with an online software. The > issue is that this software gives the coefficient in real number > representation. In the program, when defining the buffer which > contains the coefficients, i guess they must be declared as Q15 > numbers or another hexadecimal (fixed-point) representation. So my > question is : is there a software (free!) which converts real numbers > to hexadecimal Q15 ? Of course i could do it myself, but converting 99 > coefficients will be very long!! > > Thanks.
Thank you Adrian, but i can't download your software : there is an
error when trying to make "save target".
Moreover, i work on windows XP so i guess your software won't work on
my PC.

Adrian <I_HATE@SPAM.com> wrote in message news:<40630692_2@news.tiscalinet.ch>...
> try my software: > > http://winfilter.20m.com > > salutation, > Adrian > > french_student wrote: > > Hi, > > > > Here is another question : > > > > I'm designing a FIR filter program (on a TMS320VC5402) and as a > > consequence i calculated the coefficients with an online software. The > > issue is that this software gives the coefficient in real number > > representation. In the program, when defining the buffer which > > contains the coefficients, i guess they must be declared as Q15 > > numbers or another hexadecimal (fixed-point) representation. So my > > question is : is there a software (free!) which converts real numbers > > to hexadecimal Q15 ? Of course i could do it myself, but converting 99 > > coefficients will be very long!! > > > > Thanks.
i don t know why it doesn t work !!!

Try this link :
http://www.scs.ch/~kundert/bin/WinFilter/WinFilter.exe

Adrian

french_student wrote:
> Thank you Adrian, but i can't download your software : there is an > error when trying to make "save target". > Moreover, i work on windows XP so i guess your software won't work on > my PC. > > Adrian <I_HATE@SPAM.com> wrote in message news:<40630692_2@news.tiscalinet.ch>... > >>try my software: >> >>http://winfilter.20m.com >> >>salutation, >>Adrian >> >>french_student wrote: >> >>>Hi, >>> >>>Here is another question : >>> >>>I'm designing a FIR filter program (on a TMS320VC5402) and as a >>>consequence i calculated the coefficients with an online software. The >>>issue is that this software gives the coefficient in real number >>>representation. In the program, when defining the buffer which >>>contains the coefficients, i guess they must be declared as Q15 >>>numbers or another hexadecimal (fixed-point) representation. So my >>>question is : is there a software (free!) which converts real numbers >>>to hexadecimal Q15 ? Of course i could do it myself, but converting 99 >>>coefficients will be very long!! >>> >>>Thanks.
It works now!

Thank you Adrian.




Adrian <I_HATE@SPAM.com> wrote in message news:<4063f965$1_1@news.tiscalinet.ch>...
> i don t know why it doesn t work !!! > > Try this link : > http://www.scs.ch/~kundert/bin/WinFilter/WinFilter.exe > > Adrian > > french_student wrote: > > Thank you Adrian, but i can't download your software : there is an > > error when trying to make "save target". > > Moreover, i work on windows XP so i guess your software won't work on > > my PC. > > > > Adrian <I_HATE@SPAM.com> wrote in message news:<40630692_2@news.tiscalinet.ch>... > > > >>try my software: > >> > >>http://winfilter.20m.com > >> > >>salutation, > >>Adrian > >> > >>french_student wrote: > >> > >>>Hi, > >>> > >>>Here is another question : > >>> > >>>I'm designing a FIR filter program (on a TMS320VC5402) and as a > >>>consequence i calculated the coefficients with an online software. The > >>>issue is that this software gives the coefficient in real number > >>>representation. In the program, when defining the buffer which > >>>contains the coefficients, i guess they must be declared as Q15 > >>>numbers or another hexadecimal (fixed-point) representation. So my > >>>question is : is there a software (free!) which converts real numbers > >>>to hexadecimal Q15 ? Of course i could do it myself, but converting 99 > >>>coefficients will be very long!! > >>> > >>>Thanks.