writing a vhdl or verilog program for the ddr3 power up initilization

OP (Company: iqi labs) #2670201
Hi, i have attatched on file in which there is a timing diagram and a 
flow chart for ddr3 power up initialization, can any1 help me how to 
start writing a vhdl or verilog code for this. please.
Thanks in advance.
Guest #2670205
There are 24 steps described in the PDF, which are needed for 
initialization.
Write a state machine, which covers the 24 steps and assign the correct 
values for the ports at each state.
#2670251
Usually, these kind of initialisation steps are handled by the DDR(3) 
controller IP. Are you intending to write your own memory controller?

Writing your own DDR controller is very uncommon and usually only done 
when you have very special requirements (and probably happening more 
frequently on an own IC than on an FPGA), good skills in that area are 
required.

Nothing for someone who claims to be "very new for this". I suggest you 
start using a DDR controller IP, or if you want really to do it by 
yourself, with a "hello world" kind of FSM (e.g. adressing an LEDS, SPI, 
etc. to get some idea about this).

Good luck.
OP (Company: iqi labs) #2670256
Actually i need to interface a ddr3 memory to an virtex6 fpga so in that 
this power up initialization is one of the part so i need to develop 
that so for making to start, what is the process and how to start.
Guest #2670274
What I'm wondering about: you are working at iqi labs.

iqi labs has (taken from their homepage)
Technical expertise counts through engineers, averaging 15 years of 
experience in VHDL

Why don't you ask your collegues about writing a state machine?
State machines are very basic, and every VHDL engineer should know about 
it.
Guest #2671096
I guess this is because, there are 5 students having 3 years of 
experience each. 5x3 = 15!

Seriously, the virtex6 requires nothing else than the usage of the 
MIG-based DDR-3 controller core.
OP (Company: iqi labs) #2671652
Actually i generated the code by using MIG long back and it is working. 
But again now here there is a problem with something so i need to write 
code for power up initialization so that is why i was searching and 
asking for the help.
Guest #2671662
> Actually i generated the code by using MIG long back and it is working.

you posted on 2012-05-08 06:52
> HI, i have generated the code for ddr3 interfacing with virtex6 fpga but
> iam unable to understand is that right or wrong.

A mircale must have happend...

Reply

A question of your own? This thread is over 14 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.