Jump to content
  • 0

Accessing DDR memory


R. Augereau

Question

Hello,
I use a Zybo Zynq Z010, Vivado and Vitis board.
I want to fill a Look Up Table in a for loop with values calculated with differential equations and then send these values to a Pmod in another for loop. My problem is the size of the Look Up Table, I'd like to store 10 million 16-bit values in it but beyond about 7000 values my code crashes. I think the processor memory must be the limiting factor, how can I access the memory on my FPGA board? 
Thanks in advance

Translated with DeepL.com (free version)

helloworld.c

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @R. Augereau

Please increase the size of the heap and/or stack memory for your application through the linker script, lscript.ld. All application memory is likely already placed in DDR, but, with default settings, the sizes of these sections are too small for this large of an array.

image.png

Thanks,

Arthur

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...