Forum Discussion

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

Getting System.h to list base of dual port onchip RAM

Hello,

I have a project with dual port on-chip ram. One of the ports is accesible from the NIOS II. "system.h" has no information about the memory. I would like to get the base address and hopefully the span from "system.h".

Does anyone know how to get "system.h" to include this information?

Important portion from my ptf file:


            Entry onchip_ram/s2
            {
               address = "0x00000000";
               span = "0x00008000";
               is_bridge = "0";
            }

EDIT:

I'm using 9.0SP2 for the NIOS IDE and Quartus. I would rather not upgrade because the environment is setup on multiple systems.

2 Replies

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

    I had the same problem, and it is a bug in SOPC builder (or more precisely in the gtf scripts).

    The dual port RAM will only show up in system.h if the first slave port is connected to the Nios CPU.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Unfortunately, I figured that was the problem. I'll have to change that and recompile the design later.

    Thank you,

    Jeff