03-19-2009 01:49 PM
Hi everybody. I would like to ask if anybody knows how to get detailed information about the compiled code in MicroBlaze/PPC SDK? I want to get the following information:
1- Size of each function binaries and its data memory usage.
2- Location of each function in the memory space and locations for local variables (if variables not handled in registers)
3- Locations of global/volatile variables and constants.
These information are very helpful in debugging and optimization of program/data memory usage.
Thanks in advance
03-19-2009 04:23 PM
I would start here:
http://forums.xilinx.com/xlnx/board/message?board.id=EMBEDDED&message.id=330 (Generate a mapfile)
You may also find this useful:
http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=2276#M2276 (Object file that microblaze generates)