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.
Is it normal ?
XU232 memory usage
-
- Active Member
- Posts: 44
- Joined: Fri Sep 15, 2017 2:58 pm
-
- XCore Legend
- Posts: 1126
- Joined: Thu May 27, 2010 10:08 am
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?
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?
-
- Active Member
- Posts: 44
- Joined: Fri Sep 15, 2017 2:58 pm
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.