by eliecer » Mon Dec 08, 2014 7:13 pm
Hi,
If you want to use the function e_get_global_address() to know the address in a core, you need its coordinates. The coordinates that you need aren't the coordinates in the mesh, you need the coordinates of the core in the work group.
I recommend you to use, first the function e_get_coreid() to know the ID of the core. Next you use the function e_coords_from_coreid() to know its coordinates in the work group. Finally, you can use the function e_get_global_address().
Remember the documentation, this function is for transforms a local pointer ptr into the matching address on a neighbor core. If either row or col are E_SELF, or they are equal to the caller core’s own coordinates, then the function calculates the global version of the local address. But, you need a local pointer, for example, one pointer to the bank 2.
Is this that you need? Did I answer your question?