Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | TMS320C55x | problem in TMS320C55x DSPLIB Release Version 2.40.00

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

problem in TMS320C55x DSPLIB Release Version 2.40.00 - rahu...@spectross.com - Aug 6 8:28:25 2008



Hi all,
      i am using TMS320C55x DSPLIB Release Version 2.40.00 , when i trie d
to implement some functions like 
1)mul32()
2)sqrt_16
3)add()
4)power()
from the library and i am not able to trace out the results.

In case of mul32(): As it is implemnted for single MAC (17x17 bits), 
it has to choose 17 bits from long datatype(32 bit) for multiplication,
whether it does any other processing on remaining bits? I am not able to
verify the results 

In case of sqrt_16: also I am not able to trace the results. 

In case of add(): results are exactly half of the required results (scale
has been set to 1)

In case of power() results are exactly twice of the expected results.

has anyone implemented the function or know the algorithm actually being
used for these function? 

Thanks in advance,
Rahul.
------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: problem in TMS320C55x DSPLIB Release Version 2.40.00 - Wei Li - Aug 6 12:00:33 2008

I remember the releases always come with a folder with examples for 
each function. The result is verified in the examples. It will be a good 
starting point to try.

Wei

--- In c...@yahoogroups.com, rahul.jadhav@... wrote:
>
> Hi all,
>       i am using TMS320C55x DSPLIB Release Version 2.40.00 , 
when i trie d
> to implement some functions like 
> 1)mul32()
> 2)sqrt_16
> 3)add()
> 4)power()
> from the library and i am not able to trace out the results.
> 
> In case of mul32(): As it is implemnted for single MAC (17x17 bits), 
> it has to choose 17 bits from long datatype(32 bit) for multiplication,
> whether it does any other processing on remaining bits? I am not able 
to
> verify the results 
> 
> In case of sqrt_16: also I am not able to trace the results. 
> 
> In case of add(): results are exactly half of the required results (scale
> has been set to 1)
> 
> In case of power() results are exactly twice of the expected results.
> 
> has anyone implemented the function or know the algorithm actually 
being
> used for these function? 
> 
> Thanks in advance,
> Rahul.
>

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: problem in TMS320C55x DSPLIB Release Version 2.40.00 - chenkaishiyi - Aug 7 10:47:20 2008

o8lhZHZpc2UgeW91IHRvIGxvb2sgdGhlIGFzc2VtYmx5IGNvZGUgb2YgRFNQTElCIGZ1bmN0
aW9ucyx0aGVuIHlvdSB3aWxsIGZpbmQgb3V0IGhvdyB0aGUgZnVuY3Rpb25zIHdvcmtzLgoK
CjIwMDgtMDgtMDcgCgoKCmNoZW5rYWlzaGl5aSAKCgoKt6K8/sjLo7ogcmFodWwuamFkaGF2
QHNwZWN0cm9zcy5jb20gCreiy83Ksbzko7ogMjAwOC0wOC0wNiAgMjA6Mjg6MjkgCsrVvP7I
y6O6IGM1NXhAeWFob29ncm91cHMuY29tIAqzrcvNo7ogCtb3zOKjuiBbYzU1eF0gcHJvYmxl
bSBpbiBUTVMzMjBDNTV4IERTUExJQiBSZWxlYXNlIFZlcnNpb24gMi40MC4wMCAKIApIaSBh
bGwsCmkgYW0gdXNpbmcgVE1TMzIwQzU1eCBEU1BMSUIgUmVsZWFzZSBWZXJzaW9uIDIuNDAu
MDAgLCB3aGVuIGkgdHJpZSBkCnRvIGltcGxlbWVudCBzb21lIGZ1bmN0aW9ucyBsaWtlIAox
KW11bDMyKCkKMilzcXJ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ICBodHRwOi8vZ3JvdXBzLnlhaG9vLmNvbS9ncm91cC9jNTV4L2pvaW4KICAg
IChZYWhvbyEgSUQgcmVxdWlyZWQpCgo8Kj4gVG8gY2hhbmdlIHNldHRpbmdzIHZpYSBlbWFp
bDoKICAgIG1haWx0bzpjNTV4LWRpZ2VzdEB5YWhvb2dyb3Vwcy5jb20gCiAgICBtYWlsdG86
YzU1eC1mdWxsZmVhdHVyZWRAeWFob29ncm91cHMuY29tCgo8Kj4gVG8gdW5zdWJzY3JpYmUg
ZnJvbSB0aGlzIGdyb3VwLCBzZW5kIGFuIGVtYWlsIHRvOgogICAgYzU1eC11bnN1YnNjcmli
ZUB5YWhvb2dyb3Vwcy5jb20KCjwqPiBZb3VyIHVzZSBvZiBZYWhvbyEgR3JvdXBzIGlzIHN1
YmplY3QgdG86CiAgICBodHRwOi8vZG9jcy55YWhvby5jb20vaW5mby90ZXJtcy8KCg==


(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: problem in TMS320C55x DSPLIB Release Version 2.40.00 - rahu...@spectross.com - Aug 7 12:30:51 2008

Hello Chenkaishiyi,
               Thanks for the reply, I have gone through ASM codes but not able to get the
significance of some step for example in case of multiplication mul32( ) how to map 32 bit
result with actual 64 bit result?

 Thanks in advance.
Rahul Jadhav
Junior Design Engineer
Spectross Digital System (P) Ltd.
No. 4, Siri Fort Road | New Delhi - 110049
Phone    : +91-9990865914 | 011-26264077
Email       : r...@spectross.com
Web         : www.spectross.com

  ----- Original Message ----- 
  From: chenkaishiyi 
  To: c...@yahoogroups.com 
  Sent: Thursday, August 07, 2008 11:21 AM
  Subject: Re: [c55x] problem in TMS320C55x DSPLIB Release Version 2.40.00
  Iadvise you to look the assembly code of DSPLIB functions,then you will find out how the
functions works.

  2008-08-07 

  chenkaishiyi 

  发件人: r...@spectross.com 
  发送时间: 2008-08-06 20:28:29 
  收件人: c...@yahoogroups.com 
  抄送: 
  主题: [c55x] problem in TMS320C55x DSPLIB Release Version 2.40.00 

  Hi all,
  i am using TMS320C55x DSPLIB Release Version 2.40.00 , when i trie d
  to implement some functions like 
  1)mul32()
  2)sqrt_16
  3)add()
  4)power()
  from the library and i am not able to trace out the results.

  In case of mul32(): As it is implemnted for single MAC (17x17 bits), 
  it has to choose 17 bits from long datatype(32 bit) for multiplication,
  whether it does any other processing on remaining bits? I am not able to
  verify the results 

  In case of sqrt_16: also I am not able to trace the results. 

  In case of add(): results are exactly half of the required results (scale
  has been set to 1)

  In case of power() results are exactly twice of the expected results.

  has anyone implemented the function or know the algorithm actually being
  used for these function? 

  Thanks in advance,
  Rahul.

------------------------------------------------------------------------------
  No virus found in this incoming message.
  Checked by AVG. 
  Version: 7.5.526 / Virus Database: 270.5.12/1596 - Release Date: 8/6/2008 4:55 PM



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )