Forum Discussion

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

Access onchip memory from NIOS II

Hi everyone,

I'm working on a project which includes a FPGA design with a NIOS II softcore. The NIOS II needs to interoperate with the FPGA logic through IO ports but I also want to exchange data with the FPGA logic. The easiest way would be if I had a possibility to directly access the onchip memory of the FPGA. Not only the part of the memory which is used by the NIOS II processor but the complete onchip memory. Is this possible and if yes what is the best way to do it?

1 Reply

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

    You can use add an on-chip memory into QSys and Avalon bus to talk to it, just be sure to handle within your FPGA logic the Avalon bus following the rules.