Forum Discussion
Altera_Forum
Honored Contributor
19 years agoBuilding a SDRAM controller
Hi.....im quite new to the Altera DE2 board, and i have a very fundamental question. Lets say I wanted to build hardware that does Y = (A+B)*C where A is my input and B and C are prestored values in ...
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by zaphod@Oct 18 2006, 12:15 PM hi.....im quite new to the altera de2 board, and i have a very fundamental question. lets say i wanted to build hardware that does y = (a+http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/cool.gif *c where a is my input and b and c are prestored values in the sdram. the final output y also goes to the sdram.
a)how do i build a sdram controller that i can integrate with my verilog code (for the above function)? all the tutorials keep talking about using c or assembly to do the function which i dont want to do. --- Quote End --- I don't think you want to build your own SDRAM controller. You want to write your own Avalon component (presumably a master) that does this. Or, you could just use C2H and let it do the job for you. --- Quote Start --- originally posted by zaphod@Oct 18 2006, 12:15 PM http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/cool.gif how do i use the burst modes in these? --- Quote End --- If you're using the Altera-provided SDRAM controller, I don't think enabling burst will help you. The Microtronix SDRAM controller does support bursting....so you might want to have a look at that. For a sample of an Avalon master (that supports bursting), you could take a look at the provided Avalon DMA controller. --- Quote Start --- originally posted by zaphod@Oct 18 2006, 12:15 PM sorry if this seems trivial and thanks for the help in advance. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif
-zaphod
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18777)
--- quote end ---
--- Quote End --- Best Regards, - slacker