dttrinh
Newbie level 2

Hi all,
I am writing a DDR controller IP. I need to write a power-up block for this IP.
Power-up block will take care of the initialization process when the power is turn ON.
It means that when the power is ON, Reset_n signal will be kept LOW for 200us, then some loading register process will be done. There are no signals: clk and clk_n. Etc
I don't know how to write its codes, because I can not use the: always (@(posedge clk, negedge reset_n).
I never saw before how to write the power-up block like this.
Could you help me some document or RTL code of this power-up block please?
Thanks alot.
I am writing a DDR controller IP. I need to write a power-up block for this IP.
Power-up block will take care of the initialization process when the power is turn ON.
It means that when the power is ON, Reset_n signal will be kept LOW for 200us, then some loading register process will be done. There are no signals: clk and clk_n. Etc
I don't know how to write its codes, because I can not use the: always (@(posedge clk, negedge reset_n).
I never saw before how to write the power-up block like this.
Could you help me some document or RTL code of this power-up block please?
Thanks alot.