- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm having difficulty using the sdram of the DE0 board (I can also use DE1 and DE2).
I need to write and read from the memory. I have searched and all I can found is about the SOPC Builder, but i need to do it with VHDL, not the SOPC. Please, I'm stuck in it long time, any help is appreciated. Thank You!Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what difficulty are you having?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let's say I don't know where to start.
I thought it would be as simple as set an ADDRESS, set the DATA BUS and activate a write pin or read pin. Looking to the SDRAM pin assignments, there's a few pins I don't even know why are necessary. I'm really lost, that's why I need a help on how to start. I don't need a good performance, just being able to write and read from the memory. Thanks!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you DE2 board - Cyclone II EP2C35F672C6. Download the sample from the web and sgdma problem. I done this like hundred of times... write to sdram with DMA or SGDMA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you need to share the memory with a CPU or are you writing your own design without any CPU?
In the former case, you will need to go through SOPC builder or QSYS and write your own component with an Avalon Memory Mapped Master to access the memory. If you are doing your own design without CPU you could directry control the SDRAM pins but writing your own controller isn't easy. You can use the Megawizard to instantiate a controller that you will use in your own code, or again go through SOPC builder/QSYS.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sean98007 (http://www.alteraforum.com/forum/member.php?u=47346),
Thanks, I will take a look on that! daixiwen (http://www.alteraforum.com/forum/member.php?u=4443), Yes, I'm writing my own code, and can't use the SOPC builder. I'll need a controller, I really doen't know all I need to make my own controller, some time concerns, some pins.... I believe the Megawizard would be a good choice, but when I tried to use it, I was lost. There's a lot of configurations I didn't understood. The Megawizard don't have the preset for the DE0 memory, and by my own I don't know how to configure all that. If someone could give me a help configuring the Megawizard memory... Thanks!!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page