Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

need help with MIF file please

i am changing my MIF (rom Memory Initial File) context and it does not affect the rom out bus.

i checked if it is the right rom file which belongs to the project.

i saw by signal tap that there is no change in the rom out data (means that the rom out data is constant with values i gave in the past).

anyone can guess what the problem is ?

thank you very much for help ...

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    i am changing my MIF (rom Memory Initial File) context and it does not affect the rom out bus.

    i checked if it is the right rom file which belongs to the project.

    i saw by signal tap that there is no change in the rom out data (means that the rom out data is constant with values i gave in the past).

    anyone can guess what the problem is ?

    thank you very much for help ...

    --- Quote End ---

    When changing mif you need to rebuild to take effect.

    If you are rebuilding and the rom contains old data then it must be the project is linked to old file so check the path in the rom instantiation.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Check the path of the .mif file, then save and update the rom instantiation, then compile the whole logic project(attention to top module file set).

    If you copy a project bak, that the .sof file download may be at the old path, please check the creation time of the .sof file before download (check the compile time and the .sof file time info to find the lateast one, also check the time of the mif file after update it), just to do that...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i checked the path...

    is rebuild is to compile the project ? if it is , i allready did so...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    i checked the path...

    is rebuild is to compile the project ? if it is , i allready did so...

    --- Quote End ---

    either:

    you are using the wrong sof (if it is signaltap observation)

    or your signaltap observation is wrong

    or you are building with past mif file

    or you are not rebuilding

    or you are not updating the right file (also note it could be using hex, check extension)

    or you are very unlucky

    Remember the tool hasn't got memory of the past...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    is rebuild means compiling the project ???

    --- Quote End ---

    yes rebuild = recompile fully till sof generation