Forum Discussion
Hi
Which boot method are you using right now?
Regards
Jingyang, Teh
I don't know what boot method I am using right now.
what I did is as follows:
1) I assigned 120KB RAM and 80KB ROM in Platform Designer, and initialize RAM and ROM by hex data built by Eclipse.
2) compile Verilog code in Quartus.
3) build C code in Eclipse, and choose "Make Targets" in right click menu of project in Eclipse and choose mem_init_generate. This step will generate hex data of C code.
4) re-compile Verilog code in Quartus.
5) convert sof file to jic file.
6) Program jic file to flash by Quartus-->Tools--> Programmer.
Currently, what confused me is:
--> I have ROM, but I Program hex to flash with jic. why can't I program ROM directly? how to program ROM?
--> the hex is programed to flash, which component copied it RAM? how the component knows the flash start address of the hex data so that it can copy it to RAM? where to tell/set the flash start address of hex data?
--> what is the purpose of ROM in my design? Can I remove it?