Altera_Forum
Honored Contributor
18 years agoDE2 Sdram
Hi all !!, my name is Alberto. I'm a very begginer in FPGA's. Most experience in microcontrollers.
I'm trying to learn some about this, with the Altera DE2 board. I'm trying to test SDRAM code from the USB-API demo, but...., in asyncronous mode, (like the AS1). The point is: I can't get write or read, at least one byte from memory. Reading the stuff in Sdram_Multiplexer.v, I supposse that I only need to set the "iAS1_WR_n <= 1'b1", write address, and the data, to get one byte saved in memory, but I found that I only get only one hexadecimal digit saved instead all word of "4'hxxxx", also, I noticed that I don't know ...when?? the data was saved in SDRAM....because I've not any "wire" or "reg" that tell me that (feedback from SDRAM in this mode). So is there any place, where to find a functional code about it..or...how to use SDRAM in AS1, AS2, or AS3 ??. (To try to understand it more.) I've tried before using "Host side" part...and I get it work !...but only one byte at time, and with a very slow speed of process. I was reading another SDRAM core that I found in this site, but it is a bit different at the time of manage the data...so I still don't try it. Anyway... DE2 board manual say that I can use the async ports to test my own code, and that is what I want to do. Thank so much all in advance. Alberto.