Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17259 Discussions

Changing memory initialization file without recompiling

Altera_Forum
Honored Contributor II
2,652 Views

Hi all, 

 

I got use SOPC builder and specified a "your_image.hex" as the memory initialization file for the on-chip memory. May I know are there any ways to change the content of the hex file without recompiling the whole project ? Each time I change the content I need to recompile again for it to work. Thank you in advance.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,548 Views

Yes, for the debug you can use the "In system memory editor" described here : http://www.altera.com/literature/hb/qts/qts_qii53012.pdf 

 

You select the target memory, then import relevant data file and write it to the embedded RAM and it's done !
0 Kudos
Altera_Forum
Honored Contributor II
1,548 Views

Too bad that method doesn't support Nios II on-chip memory and only works on certain megafunctions. Are there other ways?

0 Kudos
Altera_Forum
Honored Contributor II
1,548 Views

Originally from http://www.alteraforum.com/forum/showpost.php?p=22783&postcount=7 

 

quartus_cdb --update_mif <your quartus project name>.qpf 

quartus_asm <your quartus project name>.qpf 

 

Will generate new programming files with up to date memory initialization files.
0 Kudos
Altera_Forum
Honored Contributor II
1,548 Views

this should be the same as going to Processing => Update Memory Initialization File, then running the Assembler (if you're a GUI user).

0 Kudos
Reply