Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | c routine for FFT and IFFT

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Visual DSP++ emulator error. - Yuval Saban - Oct 12 15:08:00 2001



Hi everyone,

did anybody encounter this error when working withg VDSP++ ?
I changed an existing LDF file with new memory allocations and received
this error when building the project.
these are all .var/circ definitions and the right amount of memory is
allocated to the appropriate sections. any ideas/solutions?

Thanks much,

Yuval Saban

Design Engineer
Bio-Logic Systems Corp.

----------->>>>>

[Error E1201] The memory 'seg_stim_buff' has insufficient free memory
to satisfy alignment needs of section '.circ1.dataout
needs 4096 words starting on a 4096 word boundary.
[Error E1201] The memory 'seg_data_circ3b' has insufficient free memory
to satisfy alignment needs of section '.circ3.datain
needs 4 words starting on a 4 word boundary.
[Error E1201] The memory 'seg_data_circ3' has insufficient free memory
to satisfy alignment needs of section '.circ4.ctrlin
needs 4 words starting on a 4 word boundary.
[Error E1201] The memory 'seg_data_circ3a' has insufficient free memory
to satisfy alignment needs of section '.circ5.ctrlout
needs 4 words starting on a 4 word boundary.
Linker finished with 4 error(s) 0 warning(s)





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

Visual DSP++ memory warning. - Imran Bajwa - Oct 13 5:50:00 2001

hello every body,

i have changed the ldf file for adsp 21065. i have
encountered the following warning

"subscript out of range"

i have tried allocating a larger chunk of memory for
data memory but to no avail. Keeping in mind this is
only a warning,not an error.........wht are its
implications.

secondly whts the difference between a heap and a
stack?

regards

imran

=====
************************************************************
LIFE IS A BED OF ROSES FOR THOSE WHO GOT THE HEART TO FACE THIS WORLD WITH
COURAGE AND VALOUR.
DONT LOSE HOPE AND FINALLY U WILL BE SUCCESSFUL.
bajwa
************************************************************

__________________________________________________





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

Re: Visual DSP++ memory warning. - Kenneth Porter - Oct 15 17:10:00 2001

On Fri, 12 Oct 2001 22:50:52 -0700 (PDT), Imran Bajwa wrote:

> i have changed the ldf file for adsp 21065. i have
> encountered the following warning
>
> "subscript out of range"

From the linker? If so, that sounds like a bug in the linker. Post the
exact edit (a diff from the original would be fine), linker version
number, and the command line so we can reproduce it.

> i have tried allocating a larger chunk of memory for
> data memory but to no avail. Keeping in mind this is
> only a warning,not an error.........wht are its
> implications.

Hard to know without seeing the code.

> secondly whts the difference between a heap and a
> stack?

Heap is used for dynamic allocation (ie. malloc() and new()). Stack is
used for function return addresses, automatic variables (those scoped
to a subroutine), and saving registers of a caller that a function
needs for its work.

The shallow hardware stacks are used just for return addresses for
interrupts and do loops. The SHARC runtime maintains a separate stack
in memory for the C/C++ system using DAG 6 and 7. The stack base is in
B7 and the pointer is in I7. The size of the stack is kept in L7, and
you can use the DAG wraparound interrupt to detect stack overflows and
underflows. I6 holds the C "frame pointer", which is used to address
local variables and to restore the stack when a function returns.

The SHARC runtime has a mechanism for having multiple heaps in a linked
list, in case you need to spread it across different memory spaces (eg.
internal and external). Even if you don't use dynamic allocation, you
need to declare enough space (I think about 5-8 words) to hold an empty
list so the startup code that initializes the heap doesn't trample
whatever follows it.





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

c routine for FFT and IFFT - P.Kranthi Reddy - Oct 15 18:50:00 2001

Hi,
i am working on adsp 2192 processor and new to it.
i need a 'c'language implementation of COMPLEX FFT
and COMPLEX IFFT routines for a 16 bit fixed point
processor.

I implemented the complex fft directly using the
straight forward equation .if i give this data to
ifft, the output of this ifft does not match with the
original data,i.e, the i/p of the fft.

may be the problem is because the adsp 2192 processor
is a 16 bit fixed point processor.

can anyone of you please share with me the above
programs ?

Thanks in advance __________________________________________________




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