Forum Discussion

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

.mif file question

I made a .mif file to initialize my ram, but I can not figure out how to specify in the software that the .mif file should be linked to that ram. Any help is greatly appreciated.

Thanks,

Dustin

2 Replies

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

    When you instantiate your ram block you should have passed over initialisation file name then just navigate to your file.

    Alternatively edit your ram generics, there is a line for initialisation file.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ahh thanks, from your post I figured out how to use the megafunction to specify ram. I had made the vhd myself previously. I figured it out now.