Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThe answer depends on the version of the tools you are using. In the old days it was true that compiling your software would automatically generate the .hex file and all you'd have to do is run your Quartus project. However, let's assume you are up to date on tools.
What I would do ... 1) Generate SoPC system (you can potentially re-order this) 2) Build your software (produce your .elf file) 3) The makefile includes a make target called "mem_init_install". If you make this target it will convert the .elf to a .hex and copy the file to the folder where the onchip ram variation is located (the same directory where your SoPC system is located). 4) Compile your FPGA project in Quartus. Now I haven't actually used 10.0 yet. It's possible they've returned to making the mem_init_install step automatic. I doubt it though. Jake