Forum Discussion

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

Reading from SD card

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

3 Replies

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

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

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

    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....)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.