Forum Discussion
Altera_Forum
Honored Contributor
8 years agoDepending on size and access pattern, Local and Private Memory on the FPGA are created using either registers or FPGA BLOCK RAMs. For buffers that are bigger than a certain size, the compiler always uses Block RAMs. The total size of Block RAMs you get on Arria 10 is around 6.5 MB. You also get around 1.5 MB of on-chip memory in form of MLAB. There is also an abundance of registers; thought they will only be used for very small buffers (a few hundred bytes).
If you add the --report switch to your kernel compilation command, you will get an area estimation report from the compiler that will tell you how much of the FPGA resources you are using; however, this report can be sometimes be inacurate and you can get exact numbers only after full placement and routing.