Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20638 Discussions

Using full memory of Cyclone V

Altera_Forum
Honored Contributor II
1,136 Views

Hello 

 

I am using a Cyclone V board and I am trying to create a large matrix. I am using the Altera-SocFPGA-HelloWorld-Baremetal as an example. However I do not have enough memory. How can I configure my code so that it uses all the memory available on the board? 

 

Thanks.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
278 Views

Is 3 Hello-BareMetal examples in SoC EDS: with suffix "-ARMCC", "-GNU", and "-Linux". 

In last may be is no troubles, Linux see all, or 1st and 2nd have only 64 K hi onchip RAM for using for program and data. 

Need add 256 M of system DDR3 to these system scripts scatter.scat and .ld respectively -- examples may be found nearby with big code, initializing of DDR3 make Preloader from included .ds-script. 

Use malloc() for get memory instead allocate it in program stack. 

Or may use other examples for add their functionality! :)
0 Kudos
Reply