Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Reading from SD card

Altera_Forum
Honored Contributor II
1,479 Views

I'm using Quartus II. The board i am going to use is Altera DE 2. Can anyone tel me how to acces the sd card and load it a module in order to process it??? 

 

I want o use verilog HDL to load the image........
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
657 Views

You will need a CPU and some software, because reading from a file system with only verilog code will be extremely hard.

0 Kudos
Altera_Forum
Honored Contributor II
657 Views

Can you explain to me how it is done??? 

If you can, give me a code.......... 

(I am new to this and this is my first project in FPGA....)
0 Kudos
Altera_Forum
Honored Contributor II
657 Views

I've never done it myself, but there should be some application example with the kit. 

There is a SD core available (here (http://www.fps-tech.net/sd_host.html) for example) but it needs a license and seems to be for uclinux. 

Alternatively you could use a standard SOPC SPI controller and try to port a light FAT library such as this one (http://elm-chan.org/fsw/ff/00index_e.html) to Nios. 

 

But in any case I think you should start with an easier task for your first FPGA project.
0 Kudos
Reply