Forum Discussion

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

HELP, how to store data into the memory(example flash or any memory on my fpga

Topic: HELP, how to store data into the memory(example flashor any memory on my fpga dev kit) and read out the data when needed

Example my is data is 4 bit

0110, 0111,0000……

Anyone can advise me how to start? Any tutorial online canshare? Any mega wizard plug-in

Current using the Cyclone v GX fpga dev kit & quartus IIweb package 13 software

Thanks J

8 Replies

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

    you want to store data from the NIOS to the Memory or from your own hardware?

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

    --- Quote Start ---

    you want to store data from the NIOS to the Memory or from your own hardware?

    --- Quote End ---

    Cyclone V chip to the 512 MB flash memory. All is build inside the Dev kit board. no external HW

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

    Okay, you want to store data to the 512Mb Flash Device.

    But from where?

    From your own Hardwareblock in the FPGA or from the NIOS?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    With NIOS II, which is a processor, from Altera Quartus, that you can "build" in your FGPA. It is quite easy to write to flash and read back.

    It is easier with your Altera dev kit. There are examples of NIOS II software that you can modify for that. Look at your "getting started" book included with your dev kit

    in pure hardware (no processor), it is a little bit difficult : you have to handle sectors, to respect the timing of writing to flash...

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

    --- Quote Start ---

    Okay, you want to store data to the 512Mb Flash Device.

    But from where?

    From your own Hardwareblock in the FPGA or from the NIOS?

    --- Quote End ---

    from NIOSto Flash. is there any example of note on this parts for me to start.

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

    Maybe you should watch some web seminars from altera to understand all this things...

    FYI: QuartusII is the Software where you can Write your own VHDL/Verilog/etc Code and where you synthesise this code to get this HW-Description to your FPGA.

    NIOSII is a Softcoreprocessor which acts like a "normal" Microprocessor but which is in the FPGA if you put him there...