XU232 memory usage

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
cl-b
Active Member
Posts: 44
Joined: Fri Sep 15, 2017 2:58 pm

XU232 memory usage

Post by cl-b »

Hi all,

We are developing a XU232 based board from the reference design USB audio 2.0.
In binary viewer I can see that some variable and functions are replicated in all 4 tiles even if they are used only in one.

Image

Image

Is it normal ?


User avatar
infiniteimprobability
XCore Legend
Posts: 1126
Joined: Thu May 27, 2010 10:08 am
Contact:

Post by infiniteimprobability »

It's not normal for standard functions. I think what is happening here is that the interrupt service routine handle_audio_request is being added to all tiles at assembler level. I think it's the macros in interrupt.h causing this.
main has to have presence on all tiles for the multi-core code to have an entry point.
Do you see other repeated functions or is it just related to the ISR and main?
cl-b
Active Member
Posts: 44
Joined: Fri Sep 15, 2017 2:58 pm

Post by cl-b »

There are no repeated functions except those relative to ISR, main and those which are used in different cores (i.e. configure_in_port). As I can see data replication is also related to interrupt handler.
Post Reply