Hi,
just started learning linear assembly,would like to program DSP board tms320c6713 dsp starter kit.
Can you please share links for TI ppt on this linear assembly and also example codes!
Thank you.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
just started learning linear assembly,would like to program DSP board tms320c6713 dsp starter kit.
Can you please share links for TI ppt on this linear assembly and also example codes!
Thank you.
Hi Kartheek,
Please have a look at below mentioned wikis and links.
processors.wiki.ti.com/.../PRU_Assembly_Instructions
processors.wiki.ti.com/.../PRU_Assembly_Advanced_Topics
http://www.ti.com.cn/cn/lit/ug/spru186x/spru186x.pdf
I hope this will help you out.
Hi Kartheek,
I am not sure what is the motivation to look into Linear assembly but you might want to look at the below thread:
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/178685/644753
As far as I remember we use to provide Linear assembly for the optimized DSP lib functions. But since then a lot of improvement came on the C compiler side so it did not made sense anymore to keep providing linear assembly routines. Today the compiler can generate very efficient code and make most of the the SPLOOP instruction (introduced in C64x+, C66x CPU).
I would rather advise you to look how to optimize C code rather than using Linear assembly.
about C optimization:
a) The below E2E post does give some good guidelines and point to some documentation about C6000 optimization:
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/201819.aspx
As for C66x specifically please have a look at:
Optimizing Loops on the C66x DSP - SPRABG7
b) If the code you try to optimize does have some loops check if the compiler does generate code that make use of the SPLOOP instruction. It was introduced in C64x+ CPU and is present in C674x/C66x.
See as well:
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/p/11376/44230.aspx
The workshop mentioned in the post is available from:
http://processors.wiki.ti.com/index.php/TMS320C6000_DSP_Optimization_Workshop
It walk you through all the C6000 optimization concepts (C6000 architecture like pipeline, instruction set and optimization technics like Software pipelining,..etc). Even if the information might be a little bit outdated all the concepts still applies to C66x too.
c) There are as well a few articles on the C compiler wiki that give interesting information:
http://processors.wiki.ti.com/index.php/Category:Compiler
For example:
C6000 CGT Optimization Lab - 1
Optimization Techniques for the TI C6000 Compiler
C6000 Compiler Obscure Restrict Bug
C6000 Compiler: Memory Access Intrinsics
C6000 Compiler: Recommended Compiler Options
C6000 Compiler: Tuning Software Pipelined Loops
Program Cache Layout
Rather than using the C6713 DSK you could use the C6657 simulator (present in CCSv5.5) in order to use the C66x CPU instead of C67x.
Note that the simulator is not present anymore in CCSv6.x.
Anthony
Hi Anthony & Arvind singh,
I want to implement a real time application using this TI TMS320C6713 dsk kit using linear assembly,so would like to have TI presentations on linear assembly,can you please provide the link if possible.
I have tried the link:
ti.com/ww/cn/uprogram/share/ppt/c6000/ but showing no page found.
This link has all presentations from TI related to DSP board programming and some sample codes under TI university program section.I would like to have these TI presentations link.
Thank you.
Hi Kartheek,
Thanks for your update.
May be, you could find the workshop materail powerpoint slids on c6000 DSP optimization workshop in which you could learn, how to write c and assembly coding. Please check the link below and find the workshop material powerpoint slides attached as zip file:
http://processors.wiki.ti.com/index.php/TMS320C6000_DSP_Optimization_Workshop#Workshop_Materials
Thanks & regards,
Sivaraj K
-------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question
-------------------------------------------------------------------------------------------------------