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 agoI was assuming it was to be written to a file on the SD card. Correctly handling a file system would be hard.
If you just want to use the SD card for raw data that doesn't need to be read by anything else, then it isn't that hard to read/write a block of data. If you have NAND flash or EEPROM, on your board, that might be easier than the SD card.