Forum Discussion

DShat4's avatar
DShat4
Icon for New Contributor rankNew Contributor
6 years ago

Accessing SDRAM from FPGA (DE0-Nano-SoC)

Please, can someone explain me how to write data to the SDRAM from the FPGA?

Thank you

3 Replies

  • Abe's avatar
    Abe
    Icon for Frequent Contributor rankFrequent Contributor

    You will have to create a HPS2FPGA bridge and access the SDRAM via HPS from the FPGA side since the DDR is only connected to the HPS side on the DE0-Nano kit. The HPS should be used as a slave while the FPGA side will have a NIOS-2 as the master.

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor
    Hello, You can use Nios II to write to HPS SDRAM. You need to connect the Data master of Nios II to the f2sdram bridge through the Address span extender. If you dont want to use a processor, you need to have a state-machine mechanism to write your data to SDRAM, however, this would be complex to verify. Thanks