Search found 169 matches

by robertxmos
Fri Aug 31, 2018 9:01 am
Forum: Development Tools and Programming
Topic: Any commen term for combinable and distributable?
Replies: 12
Views: 14876

Re: Any commen term for combinable and distributable?

100 kΩ
'packaging' would be nearer the 'implementation truth' - packing suggest more effort and efficiency of density (e.g. packed structs in C).
Perhaps a better word is 'placement' viz: can/will/must the implementation be 'placed' on its-own/a-shared/another's logical-core.
by robertxmos
Mon Aug 13, 2018 1:43 pm
Forum: Development Tools and Programming
Topic: error: service called in non multi-tile function
Replies: 5
Views: 4396

Re: error: service called in non multi-tile function

Quite right, my mistake.
It seems it needs to be around other tasks that are placed, but itself is not placed.
It may be possible to make this a little less confusing in the future!
robert
by robertxmos
Wed Aug 08, 2018 4:14 pm
Forum: Development Tools and Programming
Topic: error: service called in non multi-tile function
Replies: 5
Views: 4396

Re: error: service called in non multi-tile function

The term 'service' refers to the ADC task that is actually hardware, rather than software running on a logical core. This hardware can be connected to via a channel, as long as the other end of the channel is on the same tile. The compiler is unhappy picking 'startkit_adc' without being given a tile...
by robertxmos
Tue Aug 07, 2018 9:52 am
Forum: Development Tools and Programming
Topic: Any commen term for combinable and distributable?
Replies: 12
Views: 14876

Re: Any commen term for combinable and distributable?

I am not sure if you are trying to tie two quite different attributes and intentions together that just happen to have similar (subset) coding requirements. Indeed, the 'ability' does not necessarily mean they will be used in this way - they just have the necessary characteristics should you wish to...
by robertxmos
Tue Aug 07, 2018 8:48 am
Forum: Development Tools and Programming
Topic: __start_other_cores thread
Replies: 1
Views: 1884

Re: __start_other_cores thread

Hi Marc, When you do a par, the parent core will first 'start other cores' for N-1 tasks and then pick up the last task and run it itself ... on its own stack. The other tasks will each be given a new core and a new stack to run on. The layout of where tasks are scheduled is deterministic as are the...
by robertxmos
Mon Jul 02, 2018 1:06 pm
Forum: Other Applications
Topic: Reading multiple ports in one select
Replies: 6
Views: 13699

Re: Reading multiple ports in one select

Thanks - I got it working. It's good to know the port's hardware stores the address of the case statement code. ... ususaly, yes. Timers (non explicitly hardware) are different. The compiler will emit code that compares the current time with each requested signed-absolute time (assuming current tim...
by robertxmos
Fri Jun 22, 2018 9:22 am
Forum: Other Applications
Topic: Reading multiple ports in one select
Replies: 6
Views: 13699

Re: Reading multiple ports in one select

yes. The events are triggered in each port's hardware. The port's hardware stores the address of the 'case' statement code that needs to be run. If both ports trigger at the same time, the core will run one case statement followed by the other - it is not using interrupts but rather picking up queue...
by robertxmos
Tue Jun 12, 2018 1:19 pm
Forum: Development Tools and Programming
Topic: Library API file not found
Replies: 12
Views: 10411

Re: Library API file not found

It is hard for me to tell. The compiler can only see what you give it. The preprocessor is run first (makes one big file by concaternating the header files & replacing #defines and macros). The result of this can be viewed by adding '-save-temps' to your build flags, and looking at the myfile.xi...
by robertxmos
Thu Jun 07, 2018 9:30 am
Forum: Development Tools and Programming
Topic: How to make a non-binary (source code) library?
Replies: 8
Views: 4231

Re: How to make a non-binary (source code) library?

yes, I would use xmosar.
The usage is the same as ar, and you shoud find plenty of help on the interent for 'ar'.
by robertxmos
Fri May 25, 2018 4:26 pm
Forum: Development Tools and Programming
Topic: Channel Array Use
Replies: 13
Views: 5848

Re: Channel Array Use

I would create an easy interface and look at the output assembler (-save-temps).
Compare this will the getr and freer instructions in the architecture document.