We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 62984

2014.4 - SDK - How can I get the size of my Microblaze ELF from command line


How can I get the size of my MicroBlaze ELF from the command line?


You can use the mb-size utility in the SDK install to get the size of the ELF. 

For example:

C:\Xilinx\SDK\2014.3\gnu\microblaze\nt\bin\mb-size.exe -t test.elf
This will return the following:

   text    data     bss     dec     hex filename
   3820     288    2124    6232    1858 test.elf
   3820     288    2124    6232    1858

AR# 62984
Date Created 12/01/2014
Last Updated 12/02/2014
Status Active
Type General Article
  • Artix-7
  • Kintex-7
  • Kintex UltraScale
  • Virtex-7
  • Vivado Design Suite - 2014.4
  • Vivado Design Suite - 2014.3