Results 1 to 5 of 5

Thread: Changing memory initialization file without recompiling

  1. #1
    Join Date
    Oct 2009
    Posts
    22
    Rep Power
    1

    Default Changing memory initialization file without recompiling

    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.

  2. #2
    Join Date
    Jun 2007
    Location
    Paris (France)
    Posts
    81
    Rep Power
    1

    Default Re: Changing memory initialization file without recompiling

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

    You select the target memory, then import relevant data file and write it to the embedded RAM and it's done !

  3. #3
    Join Date
    Oct 2009
    Posts
    22
    Rep Power
    1

    Default Re: Changing memory initialization file without recompiling

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

  4. #4
    Join Date
    Nov 2009
    Posts
    985
    Rep Power
    1

    Default Re: Changing memory initialization file without recompiling

    Originally from http://www.alteraforum.com/forum/sho...83&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.

  5. #5
    Join Date
    Nov 2008
    Posts
    2,440
    Rep Power
    1

    Default Re: Changing memory initialization file without recompiling

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

Similar Threads

  1. SDRAM memory initialization
    By emma109 in forum General Altera Discussion
    Replies: 1
    Last Post: May 7th, 2014, 11:38 AM
  2. Memory Initialization File for multiple RAMs
    By floppes in forum Quartus II and EDA Tools Discussion
    Replies: 5
    Last Post: February 8th, 2010, 04:17 AM
  3. Quartus8.1 Memory Initialization File Warning
    By senlin in forum General Altera Discussion
    Replies: 10
    Last Post: June 18th, 2009, 07:47 PM
  4. Memory Initialization
    By Sandyfeet in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 1
    Last Post: March 22nd, 2007, 09:15 AM
  5. Memory Initialization File
    By quan1328 in forum General Discussion Forum
    Replies: 1
    Last Post: March 6th, 2007, 08:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •