Forum Discussion
Altera_Forum
Honored Contributor
9 years agoSD card multiple read
Hello everyone Greetings, I am Ph.D student working on FPGA, I am facing a problem that I couldn't figure out its reason(s). I have implemented SD card reading / writing. The prob...
Altera_Forum
Honored Contributor
9 years agoThis is only a snippet, so I cant really comment on this code - is it synchronous? why are you using variables?
The fact you have a variable called "wr_enable" AND a biderectional description using wr_enable, that makes me beleive this is all in the same process - which is poor practice. Did you draw a diagram of your circuit before you did any coding? did you follow the coding guidelines the in the Quartus manual? https://people.ece.cornell.edu/land/courses/ece5760/de1_soc/hdl_style_qts_qii51007.pdf