UPGRADE YOUR BROWSER

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# 23080

9.1i EDK - How can I obtain the program size if my design has insufficient program memory?

Description

If I have allocated correct memory size to accommodate my program size and I can check my program size in XPS by clicking "Get Program Size." However, if I have not allocated correct memory size (i.e., if the allocated memory is not enough for my program), I cannot use the tool to find out the program size. Is there any way to find the program size so that I can allocate the appropriate amount of memory?

Solution

Currently, this cannot be done. However a way to work around it would be to modify your linker script. If you are putting your program in OPB_BRAM, modify your linker script as follows, then compile your program:  

 

Before: 

===== 

opb_bram_if_cntlr_1 : ORIGIN = 0x00000050, LENGTH = 0x00007FAF 

 

After: 

===== 

opb_bram_if_cntlr_1 : ORIGIN = 0x00000050, LENGTH = 0x10007FAF

AR# 23080
Date Created 09/04/2007
Last Updated 05/20/2014
Status Archive
Type General Article