[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.rtsc] Re: Issue with declaring structure variable and array under instance label in xdc fi

Do you need the instance state to contain a config time generated/initialized array whose length is settable during configuration? If so, you don't need to modify the params structure.

Static arrays can be created (and placed) via Memory.staticPlace() when you create static instances; see http://rtsc.eclipse.org/cdoc-tip/index.html#xdc/runtime/Memory.html#static.Place.

An example of it's usage is the HeapMin module in the xdc.runtime package; see HeapMin.xdc and HeapMin.xs.

Can you describe a bit more about what you are trying to do? It would make it easier to help craft an appropriate solution.

Ravindranath wrote:
my requirement is such that dimension of the array needs to be set thorough the cfg file. And in xdc/xs file array elements should be initialized.

Regards,
Ravindranath Andela