Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] memory controler for ddr2 sddram problem

Status
Not open for further replies.

maia31

Member level 1
Joined
Jul 10, 2011
Messages
38
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
earth
Activity points
1,519
hi
i want design a memory controller for ddr2 sdram.
but i don't know how do it:sad:
can you guide me?
or show me a sample that i can use it?
 

jdec. mig. etc...

if this is an FPGA post, i'd start with the FPGA memory interfaces. MIG, altera's choice. newer FPGAs have hard-IP for memory. If this is for an ASIC, look into other's IP. Or at least look at the standard JEDEC models.
 
  • Like
Reactions: maia31

    maia31

    Points: 2
    Helpful Answer Positive Rating
jdec. mig. etc...

if this is an FPGA post, i'd start with the FPGA memory interfaces. MIG, altera's choice. newer FPGAs have hard-IP for memory. If this is for an ASIC, look into other's IP. Or at least look at the standard JEDEC models.

well
in fact it is about fpga
and i start with mig
but when it come to program(vhdl)
i face problem
because i don't know how to start
i read datasheet
 

well that's not helpful at all.

there are three possible answers.
1.) quit. you are just not capable in this field.
2.) don't quit. attempt to learn from others. explain yourself well and ask good questions that show where any conceptual difficulties might arise.
3.) don't quit but ignore everyone else. try until you get things to work. possibly at great expense to your company or your career.

(ideally, you will chose #2 -- explaining why MIG is confusing to you, what you want MIG to do, etc...)
 

well if i want send 200 bite per second from ram in to fpga
and my ram is 128
what should i do?
and my ram need refresh each 3.9 micro second
that's my problem in fact
and i hope i explain it good
and by the way this s my first project
 

I'd start with MIG's example core. Just see if you can get that to work on your FPGA. After that, remove the test code and develop an application. MIG contains state machines that allow it to schedule reads/writes/refreshes etc... It also performs the calibration. You should be concerned with getting the infrastructure set up -- MIG uses multiple clocks. Then with the interface to MIG -- it uses fifos to allow the memory to run in their own clock domain, as well as to allow refresh operation to be performed.

I'm not sure what a ram of 128 refers to. either a bus width, memory size, etc...
 

and by the way this s my first project

If this is your first fpga project ever, and you are new to vhdl as well ... I would suggest that as a first project you try something simpler than anything to do with a ddr2 controller. Or expect a lot of pain^H^H^H^H opportunities to learn new and exciting things!
 



---------- Post added at 06:10 ---------- Previous post was at 06:08 ----------

If this is your first fpga project ever, and you are new to vhdl as well ... I would suggest that as a first project you try something simpler than anything to do with a ddr2 controller. Or expect a lot of pain^H^H^H^H opportunities to learn new and exciting things!

yah i know it is difficult
but i try hard well i hope i can do it
tnx

---------- Post added at 06:12 ---------- Previous post was at 06:10 ----------

I'd start with MIG's example core. Just see if you can get that to work on your FPGA. After that, remove the test code and develop an application. MIG contains state machines that allow it to schedule reads/writes/refreshes etc... It also performs the calibration. You should be concerned with getting the infrastructure set up -- MIG uses multiple clocks. Then with the interface to MIG -- it uses fifos to allow the memory to run in their own clock domain, as well as to allow refresh operation to be performed.

I'm not sure what a ram of 128 refers to. either a bus width, memory size, etc...


i mean my ram size is 128 M
and my port width is 32
and well i figure out how do it
and tnx for all your help
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top