cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
3,390 Views
Registered: ‎09-03-2007

Compiled code details

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

0 Kudos
2 Replies
Highlighted
Xilinx Employee
Xilinx Employee
3,373 Views
Registered: ‎08-13-2007

Mohamed,

 

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)

Cheers,

bt

0 Kudos
Highlighted
Contributor
Contributor
3,332 Views
Registered: ‎09-03-2007

Thanks timpe for help
0 Kudos