Appendix: Re-Generate the Memory Initialization Files Manually
With the Efinity software v2022.1 and higher, you do not need to re-generate these files manually. These instructions are for reference if you are using an earlier software version.
To re-generate the memory initialization files manually using the binGen.py helper script. You find this script in the <project>/embedded_sw/<SoC module>/tool directory.
Windows:
Open a command prompt and type these commands:
${EFINITY_HOME}/bin/setup.bat
python3 binGen.py -b bootloader.bin -s <RAM size> -f <FPU>
Linux:
Open a terminal and type these commands:
source ${EFINITY_HOME}/bin/setup.sh
python3 binGen.py -b bootloader.bin -s <RAM size> -f <FPU>
where:
- <RAM size> is the on-chip RAM size you want to use.
- <FPU> indicates whether the floating-point unit is enabled for the SoC. 1: floating-point is enabled, 0: disabled.
This command generates the new memory initialization files. Copy these files into the same directory as your project .xml file, replacing the existing files.
Compile your design.