Forum Discussion

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

Problems with on-chip memory

Hi!

I have used pervios Nios version - NiosI. There I have created project, which includes On-Chip memory. The property window of On-Chip memory contained two pages: Attributes and Simulation. On Simulation page I checked item Build and entered the name of file (*.mif) and on page Attributes I checked ROM. After successful generation I compiled project and then performed simulation. Everything was Ok.

When I installed last version NIOS II and attempted to create the same version I confronted with following problem: the property window had only one property page - Attributes. And I don't know how to load *.mif (or *.srec) file into On-Chip memory. I tried to use Flash Memory , but I couldn't simulate this system.

Please, tell me, how to load mif files into On-Chip memory.

2 Replies

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

    That's right. Now you use the IDE to create the initiallization file. I think it creates it automatically for you in the folder (same file name as the name of the memory itself). If you are trying to do quick testings, you can create a single large RAM, include some debug capabilities, and download you're code to the board using the IDE (it's a nicer version of the germs monitor kinda).

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

    If the IDE approach isn't your preference, you can still use the legacy on-chip memory which has the contents tab you

    are used to. The memory is located in SOPC Builder under Avalon Modules -> Legacy Components -> Legacy On-chip Memory.