Altera_Forum
Honored Contributor
12 years agoNIOSII using the FPGA-to-HPS SDRAM Bridge via Address Span Extender
Hello,
I want to share my DDR3-RAM from HPS with my NIOS2 on the FPGA. In hps instantiation I configured an Avalon MM Bidirectional port with 64bit width (FPGA-HPS-SDRAM Bridge). Afterwards I used the address span extender to reduce the 4GB hps in a smaller window of 256MB. I choose 32bit for Datapath width and configured the windows to the sizes. I export the windowed slave to an upper level. The name of the exported extender is appl_subsystem_DDR3_RAM_to_FPGA. In the other subsystem I have NIOSII with an absolute reset vector set to 0x4000 0000. There I located a Avalon MM Pipeline which I use to export to upper level again. The size of the bridge is 32/8/30 bytes to interact, so the bridge is located from 0x4000 0000 to 0x3fff ffff. Now I connect the address span extender to the pipeline bridge on the top level. Everything is generated fine and also compilation works fine. But when I want to create BSP in NIOS2 EDS I get following error: SEVERE: CPU "cpu1" reset memory "appl_subsystem_DDR3_Ram_to_FPGA" has no matching memory region. WARNING: Tcl script "bsp-set-defaults.tcl " error: CPU "cpu1" reset memory "appl_subsystem_DDR3_Ram_to_FPGA" has no matching memory region. SEVERE: [Error] altera_hal_linkerx_generator: Required linker section mappings do not exist: "[.entry, .exceptions, .rodata, .rwdata, .text, .bss, .heap, .stack]" SEVERE: [Error] altera_hal_linkerx_generator: Required linker section mappings do not exist: "[.entry, .exceptions, .rodata, .rwdata, .text, .bss, .heap, .stack]" SEVERE: nios2-bsp-create-settings failed. nios2-bsp: nios2-bsp-create-settings failed Thanks for your replies