Forums

Remez Exchange code for TMS320C50 ?

Started by ishaan April 12, 2006
Hello fellas ...

I am making this short & sweet ... Can anyone give me a download link or
mail me (if they have ) the assembly code for the Remez Exchange Algo for
the TMS320C50 model.  I am implementing digital filters and its
necessary.
I found the c program on Jake's site but how do i convert it into ASM ?

Thanx


ishaan skrev:
> Hello fellas ... > > I am making this short & sweet ... Can anyone give me a download link or > mail me (if they have ) the assembly code for the Remez Exchange Algo for > the TMS320C50 model. I am implementing digital filters and its > necessary.
Are you completely sure you need the Remez on the DSP? The algorithm is used to design, that is, find the coefficients, of FIR filters. Usually, one downloads FIR coefficients to the DSP processor to actually filter the data. Note the difference between *designing* the filter and *using* the filter.
> I found the c program on Jake's site but how do i convert it into ASM ?
Now, *that's* an excercise worth the effort... you'd learn algorithm analysis, ASM programming and get a useful program in the end. Rune
ishaan wrote:
> Hello fellas ... > > I am making this short & sweet ... Can anyone give me a download link or > mail me (if they have ) the assembly code for the Remez Exchange Algo for > the TMS320C50 model. I am implementing digital filters and its > necessary. > I found the c program on Jake's site but how do i convert it into ASM ?
Using a tool called a "C compiler". :-) Why do you want to run Remez on the DSP itself? Its a design tool. Are you trying to design filters on the fly within an application? Steve
>Hello fellas ... > >I am making this short & sweet ... Can anyone give me a download link or >mail me (if they have ) the assembly code for the Remez Exchange Algo
for
>the TMS320C50 model. I am implementing digital filters and its >necessary. >I found the c program on Jake's site but how do i convert it into ASM ? > >Thanx > >
I think you want to design a filter using Remez and implement it in your processor. Run the Jake's C program get the output and implement the filter in the processor or FPGA. It is very unusual to implement the design itself in the processor. - Krishna
>ishaan wrote: >> Hello fellas ... >> >> I am making this short & sweet ... Can anyone give me a download link
or
>> mail me (if they have ) the assembly code for the Remez Exchange Algo
for
>> the TMS320C50 model. I am implementing digital filters and its >> necessary. >> I found the c program on Jake's site but how do i convert it into ASM
?
> >Using a tool called a "C compiler". :-) > >Why do you want to run Remez on the DSP itself? Its a design tool. Are >you trying to design filters on the fly within an application? > >Steve >
Well what I am trying to do is like this .... Feed the Remez Exchange algo into the TMS320C50 . Apply the input(it maybe an Audio signal) and then obtain the output by adding some noise . Hope I make myself clear? Thanx guys :)
ishaan wrote:

   ...

> Well what I am trying to do is like this .... > > Feed the Remez Exchange algo into the TMS320C50 . > Apply the input(it maybe an Audio signal) and then obtain the output by > adding some noise . > > Hope I make myself clear?
It seems clear to me that there are some very wrong assumptions here. For your sake, I hope they're mine. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
>ishaan wrote: > > ... > >> Well what I am trying to do is like this .... >> >> Feed the Remez Exchange algo into the TMS320C50 . >> Apply the input(it maybe an Audio signal) and then obtain the output
by
>> adding some noise . >> >> Hope I make myself clear? > >It seems clear to me that there are some very wrong assumptions here. >For your sake, I hope they're mine. > >Jerry >-- >Engineering is the art of making what you want from things you can get. >����������������������������������������������������������������������� >
Sorry Jerry .. The problem seems to be on my side . Yes my assumptions maybe wrong. I will tell you exactly in a day or two . BTW ... the term for 'Engineering is the art of making what you want from things you can get.' in our language is 'Jugaad' ;) Thanx Jerry Bye
ishaan wrote:
   ...

> Sorry Jerry .. The problem seems to be on my side . Yes my assumptions > maybe wrong. I will tell you exactly in a day or two .
I am interested to hear, Ishaan. Perhaps you'll post along the way.
> BTW ... the term for 'Engineering is the art of making what you want from > things you can get.' in our language is 'Jugaad' ;)
That's an astounding degree of compression! Is there another way to translate 'jugaad'? Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
"krishna_sun82" <krishna.sun@gmail.com> wrote in message 
news:-8OdnbeFQf3IsaPZnZ2dnUVZ_vidnZ2d@giganews.com...
> >Hello fellas ... >> >>I am making this short & sweet ... Can anyone give me a download link or >>mail me (if they have ) the assembly code for the Remez Exchange Algo > for >>the TMS320C50 model. I am implementing digital filters and its >>necessary. >>I found the c program on Jake's site but how do i convert it into ASM ? >> >>Thanx >> >> > > I think you want to design a filter using Remez and implement it in your > processor. Run the Jake's C program get the output and implement the > filter in the processor or FPGA. It is very unusual to implement the > design itself in the processor. > > - Krishna
The *only* reason I can think of to run Remez in a DSP would be if you somehow created a sort of adaptive filter that would generate the necessary frequency response as an interim "output" - that could be used to develop new designs in "real time" so to speak. One example would be if you want to force absolute zeros in a stopband and would use the Modified Remez Algorithm with the Generalized Sign Alternation Property. All you need to know are the general filter characteristics and the location of the desired zeros and have the expectation that the location of the desired zeros will be changing and you'll know the *new* locations. I have *never* seen this done. I suppose it's because those interim zero locations or filter responses are generally not known! But, I think it would be cool because I know the guy who developed that Modified Remez Algorithm. I think the adaptive filter algorithms are probably better for this type of application. Fred
>ishaan wrote: > ... > >> Sorry Jerry .. The problem seems to be on my side . Yes my assumptions >> maybe wrong. I will tell you exactly in a day or two . > >I am interested to hear, Ishaan. Perhaps you'll post along the way. > >> BTW ... the term for 'Engineering is the art of making what you want
from
>> things you can get.' in our language is 'Jugaad' ;) > >That's an astounding degree of compression! Is there another way to >translate 'jugaad'? > >Jerry >-- >Engineering is the art of making what you want from things you can get. >&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095; >
Well you could always look up 'jugaad' in google . Its usually the first search result.