Link Copied
If the software code will be smaller than the amount of memory available on the FPGA (onchip) , then you can use the on-chip RAM to store the program/data. Do keep in mind that you cannot utilize the entire FPGA onchip RAM blocks just for storing program code/data. Your design will also need some amount of RAM blocks depending on the complexity, functionality.
Hi,
Yes agree with Abe's comment if your software code is known to be smaller than the available memory on the FPGA's on chip memory then it is possible.
For more complete information about compiler optimizations, see our Optimization Notice.