Forum Discussion
Altera_Forum
Honored Contributor
10 years agoWrite to SD card using Altera DE1 and Verilog
I'm using an Altera DE1 to implement a snake game on it. I developed a 4-bit counter, on my verilog code, to count the times the snake eats a dot. How can I save this 4-bit digit into the SD card?
Altera_Forum
Honored Contributor
10 years agoThe SD card and the FLASH are your only non-volotile on-board options. I'd suggest the SD card could be considered easier to implement.
This page; "how to use mmc/sdc (http://elm-chan.org/docs/mmc/mmc_e.html)" covers basic access of an SD card. I'd suggest it need not be very big. An SPI host is something an FPGA will easily accommodate. Cheers, Alex