cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Adventurer
Adventurer
334 Views
Registered: ‎04-01-2015

Memory size not propagating to Vitis

Jump to solution

Tool version 2020.1.1.

In the block design editor I have a 16kB shared memory block as shown below (shared_ram_ctrl).  The values in the block design address editor are correct.  But when I export this hardware design to Vitis and update the hardware specification from the exported .xsa file the xparameters.h file shows only an 8kB block:

#define XPAR_SHARED_RAM_S_AXI_BASEADDR 0xC0000000U
#define XPAR_SHARED_RAM_S_AXI_HIGHADDR 0xC0001FFFU

 

I've tried resetting the BSP sources, which regenerates the xparameters.h, but still leaves the block only 8k long.  The linker script also shows this block to be only 8kB.

What's the trick to getting the size to propagate properly?

Screen Shot 2020-11-23 at 12.39.56 PM.png

1 Solution

Accepted Solutions
Moderator
Moderator
279 Views
Registered: ‎03-25-2019

Hi @norume,

Have you tried to Reset Output Product then Generate Output Product again before exporting the hardware?
res.png

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution

View solution in original post

2 Replies
Moderator
Moderator
280 Views
Registered: ‎03-25-2019

Hi @norume,

Have you tried to Reset Output Product then Generate Output Product again before exporting the hardware?
res.png

Best regards,
Abdallah
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution

View solution in original post

Adventurer
Adventurer
273 Views
Registered: ‎04-01-2015

Yep, that worked.

Thanks!