I am evaluating the Sharc 21065L. I am a private user doing it just for fun and so, the VisualDSP++ - Environment (with C-Compiler) is not affordable for me. Is there a free C-Compiler or Developing Environment for Sharc 21065L available? (For Windows) I am an ancient user of Motorola DSPs, and this was heaven, because there all is for free. Thanks and regards |
|
Free C Compiler or IDE?
Started by ●January 4, 2001
Reply by ●January 5, 20012001-01-05
>I am evaluating the Sharc 21065L. >I am a private user doing it just for fun and so, the VisualDSP++ - >Environment (with C-Compiler) is not affordable for me. >Is there a free C-Compiler or Developing Environment for Sharc 21065L >available? (For Windows) Hi, acctualy, there is a trial version of Visual DSP (available from Analog WEB site). Also, if you are Linux fan, try gcc21k compiler (also available from the FTP site) There are certain tricks required to set it up, but I forgot what exacly, since I am still using VisualDSP.... Good luck, Dubravko Biruski Shop Safely Online Without a Credit Card http://www.rocketcash.com |
|
Reply by ●January 8, 20012001-01-08
Hello, does anyone know of a way to create an array in assembly without using an excessive amount of code? In TI, we would just use pointers to memory addresses, and in C or C++ it's a simple matter of using a for loop or some such thing to fill an already defined space in memory. Now I could use VDSP to convert from C source over to ADSP 21160 source but it seems a little lengthy. what I am trying to do now is this: for (int i=0; i<5; i++) { temp[i] = i+10; } this will basically just fill an array with five places, with the values from 10 to 15. Seemingly not a big deal. however, being unfamiliar with the language, it' a little tougher. I am trying to use the do/until loop, but the information that AD has in their instruction set reference on type 13 instructions is quite limited. One thing I have seem commonly used is LCE, but I am not sure how to set this. can i use a variable as the termination condition, or does it have to be one of the system variables? Another thing. is there and FAQ online for these kinds of questions? I saw one on and old sharc page, but the link is no longer valid (it's off of http://illume.org/community/sharcpage/#what as the 'selected posts from comp.dsp'). Anyway, that's all the questions I have for now. thanks again :) Tom Hanley |
|
Reply by ●January 8, 20012001-01-08
On Mon, 8 Jan 2001 13:22:41 -0500 (EST), Tom Hanley wrote: > what I am trying to do now is this: > > for (int i=0; i<5; i++) > { > temp[i] = i+10; > } Untested code: I0 = temp; M0 = 1; R0 = 10; R1 = 5; LCNTR = R1, DO label UNTIL LCE; label: DM(I0,M0) = R0, R0 = R0 + 1; Kenneth Porter Kensington Laboratories, Inc. mailto: http://www.kensingtonlabs.com |