Forum Discussion

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

How to use SDRAM on de2-70 board?

Hi everyone.

I'm newbie about Quartus II & Nios II, and using Altera DE2-70 board.

I have two questions about SDRAM on DE2-70.

1. I don't want to use neither the SOPC builder nor the NIOS 2 processor.

In other words, I don't want to use SDRAM controller, C++ software.

I want to use only verilog code and read/write data from/to SDRAM address directily.

I need to know how to read/write 16 bits word from/to an address location of the SDRAM, lets say 0x000000.

and, do I need to concern about the refreshing time, precharge, ... etc?

2. If I have to use the SOPC builder & the NIOS 2 processor for SDRAM controller to use read/write data from/to SDRAM address,

how can I know SDRAM address about data in/out, and how can I express c or c++ code about read/write data from/to SDRAM address?

please let me know the solution or send me very simple source about sdram data & address using NIOS II/e cpu, JTAG UART, SDRAM..

thank you very much in advance.

20 Replies