FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6359 Discussions

Two questions about LPDDR3 EMIF controller

KCMurphy
New Contributor II
950 Views

I'm using the LPDDR3 controller on an Arria 10.

 

Question 1:  Is there a fixed phase relationship between  "pll_ref_clk" and "emif_usr_clk"?  Assume they have the same period.

 

Question 2:  If I issue a burst read of, say, 0x40 transfers and the sequence crosses the end of the currently selected bank & row ("page"), does the controller close the page and open the next and continue?  Or does it recycle down to the locations at the bottom of the current page?

 

0 Kudos
1 Solution
AdzimZM_Intel
Employee
908 Views

Hi KCMurphy,


"1. If the clock skew (phase relationship) is fixed, is it the same from reset to reset and in each device, and if possible, what is it? Normally a PLL has a skew parameter but for this IP that parameter is not visible. Other parts of the design MUST use the reference clock as the output of a PLL (such as the EMIF user-clock) is generally not stable enough."


There are some hidden parameter inside the IP parameter GUI.

You can view the hidden parameter by right-click on IP name and click show hidden parameter.


"2. In simulation, it appears that if the controller is set for CHIP-ROW-BANK-COLUMN, the controller changes the BANK. If set for CHIP-BANK-ROW-COLUMN it changes the ROW. IS this accurate?"


Yes it's accurate. It's control the bank/row switching whether row to bank or bank to row.

It is the address ordering setting where the controller will manage the mapping between Avalon address and memory device address.


Regards,

Adzim


View solution in original post

0 Kudos
7 Replies
AdzimZM_Intel
Employee
933 Views

Hi KCMurphy,


Thank you for submitting your question in Intel Community.

I'm Adzim, application engineer will assist you in this thread.


Please find my answer below.


"Question 1: Is there a fixed phase relationship between "pll_ref_clk" and "emif_usr_clk"? Assume they have the same period."

I would say yes if they have same period.


"Question 2: If I issue a burst read of, say, 0x40 transfers and the sequence crosses the end of the currently selected bank & row ("page"), does the controller close the page and open the next and continue? Or does it recycle down to the locations at the bottom of the current page?"

From my understanding on sequential burst operation, it's will open the bank first and close it after the operation is done. In the middle of operation, the bank should not be closed.

You can refer to this document for burst example: https://www.intel.com/content/www/us/en/docs/programmable/683609/21-3/memory-mapped-burst-host-example.html






0 Kudos
KCMurphy
New Contributor II
919 Views

1.  If the clock skew (phase relationship) is fixed, is it the same from reset to reset and in each device, and if possible, what is it?  Normally a PLL has a skew parameter but for this IP that parameter is not visible.  Other parts of the design MUST use the reference clock as the output of a PLL (such as the EMIF user-clock)  is generally not stable enough. 

 

To interface the two clock domains, it is really handy to know the phase relationship, or at least to know if it is the same in each activation of the device.

 

2.  In simulation, it appears that if the controller is set for CHIP-ROW-BANK-COLUMN, the controller changes the BANK.  If set for CHIP-BANK-ROW-COLUMN it changes the ROW.  IS this accurate?

0 Kudos
AdzimZM_Intel
Employee
909 Views

Hi KCMurphy,


"1. If the clock skew (phase relationship) is fixed, is it the same from reset to reset and in each device, and if possible, what is it? Normally a PLL has a skew parameter but for this IP that parameter is not visible. Other parts of the design MUST use the reference clock as the output of a PLL (such as the EMIF user-clock) is generally not stable enough."


There are some hidden parameter inside the IP parameter GUI.

You can view the hidden parameter by right-click on IP name and click show hidden parameter.


"2. In simulation, it appears that if the controller is set for CHIP-ROW-BANK-COLUMN, the controller changes the BANK. If set for CHIP-BANK-ROW-COLUMN it changes the ROW. IS this accurate?"


Yes it's accurate. It's control the bank/row switching whether row to bank or bank to row.

It is the address ordering setting where the controller will manage the mapping between Avalon address and memory device address.


Regards,

Adzim


0 Kudos
KCMurphy
New Contributor II
879 Views

Thanks for #2.  As for #1, the exposed "hidden parameters" do not include the PLL phase angle in any clear way.

0 Kudos
AdzimZM_Intel
Employee
854 Views

Hi KCMurphy,


Is there any question regarding to this topic?


Regards,

Adzim


0 Kudos
AdzimZM_Intel
Employee
806 Views

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


0 Kudos
Reply