Reply by Mark DeArman September 7, 20152015-09-07
On Sunday, September 6, 2015 at 9:20:26 AM UTC-7, robert bristow-johnson wrote:
<snip
> > in assembly language? > > there *is* a C complier for the SHArC but i don't think you get very > efficient code outa it. >
The C compiler has improved over the years, but there are still a ton of performance bugs to run into. They have added a number of pramgas to the compiler to help out with vectorization. If you want to program in C, VDSP has a pretty nice split C/asm view which I would highly recommend using. In some cases, it still generates some of the most non-sense asm I have ever seen. Mixed C/asm projects are easy in VDSP. Anyway, have fun.
Reply by robert bristow-johnson September 6, 20152015-09-06
On 9/4/15 9:41 AM, stevenceuppens wrote:
> Hi all, > > I ordered a evaluation board of the ADSP-21469,
too bad you didn't talk to Al Clark here. his company manufactures all sorts of SHArC-based boards, that use the same emulator and VDSP.
> which i want to use for > learning& exploring sharc programming (Assembly, C, C++). I never used a > sharc processor before, but i'm expierienced in programming ARM, STM32, > ...
in assembly language? there *is* a C complier for the SHArC but i don't think you get very efficient code outa it.
> > What is the best way to learn sharc programming, and where can i find > usefull help, tutorials etc... I already found lots of info on the analog > devices website, but i'm wondering if there are other/better places to > start.
i diddled around with the SHArC about 2 decades ago and again very recently. i would suggest that if you want to use this thing most efficiently, you should learn to code it in assembly. get the programmers reference manual http://www.analog.com/media/en/dsp-documentation/processor-manuals/ADSP-2136x_2137x_214xx_pgr_rev2.4.pdf the hardware reference manual http://www.analog.com/media/en/dsp-documentation/processor-manuals/ADSP-214xx_hwr_rev1.1.pdf and the VDSP docs: http://www.analog.com/media/en/dsp-documentation/software-manuals/VDSP5.0-GettingStartedGuideRev3.0.pdf http://www.analog.com/media/en/dsp-documentation/legacy-software-manuals/50_asm_man_rev3.2.pdf http://www.analog.com/media/en/dsp-documentation/software-manuals/50_21k_cc_mn_rev_1.5.pdf http://www.analog.com/media/en/dsp-documentation/legacy-software-manuals/50_linker_man.rev3.1.pdf http://www.analog.com/media/en/dsp-documentation/legacy-software-manuals/50_21k_rtl_man.rev1.2.pdf but i wouldn't bother too much with their run-time library. i think you can write better code than that. i have had difficultly with the instruction set and programmers reference finding what i need where. to me, it's not as clearly laid out as it should be. unlike with the old Mot 56K, i find myself writing non-optimal DSP assembly code with very few parallel moves. looks sorta like assembly code for a non-DSP processor. except in a filter kernel or something like that. otherwise, very few opportunities to take advantage of any Harvard architecture, let alone a "Super" Harvard ARCitecture. but the clock speed is damn fast. thousands of instructions per sample at audio sample rates. there are some nice peripheral goodies, probably the most notable is DMA with the I/O interfaces. -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
Reply by stevenceuppens September 4, 20152015-09-04
Hi all,

I ordered a evaluation board of the ADSP-21469, which i want to use for
learning & exploring sharc programming (Assembly, C, C++). I never used a
sharc processor before, but i'm expierienced in programming ARM, STM32,
...

What is the best way to learn sharc programming, and where can i find
usefull help, tutorials etc... I already found lots of info on the analog
devices website, but i'm wondering if there are other/better places to
start.

Best Steven,


---------------------------------------
Posted through http://www.DSPRelated.com