Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

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

Altera_Forum
Honored Contributor II
1,741 Views

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 

0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
723 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
723 Views

 

--- 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
0 Kudos
Altera_Forum
Honored Contributor II
723 Views

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?
0 Kudos
Altera_Forum
Honored Contributor II
723 Views

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... 

0 Kudos
Altera_Forum
Honored Contributor II
723 Views

 

--- 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
0 Kudos
Altera_Forum
Honored Contributor II
723 Views

See here: 

http://www.altera.com/literature/hb/nios2/n2sw_nii5v2.pdf 

 

starting at page 6-20
0 Kudos
Altera_Forum
Honored Contributor II
723 Views

 

--- Quote Start ---  

See here: 

http://www.altera.com/literature/hb/nios2/n2sw_nii5v2.pdf 

 

starting at page 6-20 

--- Quote End ---  

 

 

 

just to check, can i use quartus II to write? what is the different between nios II and quartus II. sorry for asking lousying question cos i new to it. 

 

thanks
0 Kudos
Altera_Forum
Honored Contributor II
723 Views

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...
0 Kudos
Reply