3187 lines
360 KiB
HTML
3187 lines
360 KiB
HTML
|
|
||
|
|
||
|
<head>
|
||
|
<style type="text/css">
|
||
|
|
||
|
table.platform{
|
||
|
border-bottom:1px dashed grey;
|
||
|
margin: 1px;
|
||
|
}
|
||
|
table.platform td
|
||
|
{
|
||
|
|
||
|
}
|
||
|
table.platform tr
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
th
|
||
|
{
|
||
|
height:50px;
|
||
|
/* border:1px solid black; */
|
||
|
}
|
||
|
td
|
||
|
{
|
||
|
/* border:1px solid black;*/
|
||
|
}
|
||
|
|
||
|
.wide
|
||
|
{
|
||
|
width : 100%;
|
||
|
border:1px solid green;
|
||
|
height : 0px;
|
||
|
padding : 0px;
|
||
|
|
||
|
}
|
||
|
|
||
|
table.section
|
||
|
{
|
||
|
width = 1000px;
|
||
|
border:1px solid black;
|
||
|
}
|
||
|
td.description
|
||
|
{
|
||
|
width:350px;
|
||
|
}
|
||
|
td.programming
|
||
|
{
|
||
|
width:450px;
|
||
|
|
||
|
}
|
||
|
td.run_option
|
||
|
{
|
||
|
width:30px;
|
||
|
}
|
||
|
th.run_option
|
||
|
{
|
||
|
width:30px;
|
||
|
}
|
||
|
|
||
|
p
|
||
|
{
|
||
|
width:1000px;
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<h1>AMC Initialization Sequence</h1>
|
||
|
This file was created using the following files on: Wed Jun 17 11:45:29 2015<br />AMC Version: Major Release: Minor Release: <br />AMP Version: 3 Major Release: 1 Minor Release: 3<br />AMC UM Init sourced from: //depot/ip_lib/apple/amcc/a0.malta/amcc/tb/cfg/static/maqstb_cfg.pl#18<br />AMP UM Init sourced from: //depot/ip_lib/apple/amp/a0.malta/amp/tb/cfg/phy_helper_fxns.pl#5<br />
|
||
|
<h4> Change Log</h4>
|
||
|
* ------------------------------------------------------------------<br /> * Version:1 - Files Edited: all<br /> * Initial fiji checkin<br /> * ------------------------------------------------------------------<br /> * Version:6 - herb - Files Edited: maqstb_cfg.pl#8 - <br /> * changes for updated amph V0013 and mcu init gen flow.<br /> * ------------------------------------------------------------------<br /> * Version:7 - rishah - Files Edited: maqs_gen_cfg.pl#7 - maqstb_cfg.pl#13 - <br /> * Ported over changes from Maui B0 related to INIT Sequence.<br /> * ------------------------------------------------------------------<br /> * Version:8 - rishah - Files Edited: phy_helper_fxns.pl#15 - <br /> * Updated MCU init sequence.<br /> * ------------------------------------------------------------------<br /> * Version:9 - cpolapra - Files Edited: maqs_gen_cfg_c.pl#6 - <br /> * Ported over init and calibration changes from Maui A0/B0 and Elba<br /> * ------------------------------------------------------------------<br /> * Version:10 - rishah - Files Edited: phy_helper_fxns.pl#16 - <br /> * Init sequence update for VrefSel for SW Calib.<br /> * ------------------------------------------------------------------<br />
|
||
|
<h4>0. AMC Prolog</h4>
|
||
|
<p>Program SPLL registers<br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == ONE_CH_ONE_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00050200<br /> ChSelHiBits = 0x5 *read-only<br /> ChSelTyp = 0x0 *read-only<br /> ChnlStartBit = 0x2 *read-only<br /> NumMcuChnl = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == ONE_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00050200<br /> ChSelHiBits = 0x5 *read-only<br /> ChSelTyp = 0x0 *read-only<br /> ChnlStartBit = 0x2 *read-only<br /> NumMcuChnl = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == TWO_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00050210<br /> ChSelHiBits = 0x5 *read-only<br /> ChSelTyp = 0x0 *read-only<br /> ChnlStartBit = 0x2 *read-only<br /> NumMcuChnl = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == TWO_CH_ONE_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00050210<br /> ChSelHiBits = 0x5 *read-only<br /> ChSelTyp = 0x0 *read-only<br /> ChnlStartBit = 0x2 *read-only<br /> NumMcuChnl = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00050220<br /> ChSelHiBits = 0x5 *read-only<br /> ChSelTyp = 0x0 *read-only<br /> ChnlStartBit = 0x2 *read-only<br /> NumMcuChnl = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> spllctrl_SpllCtrl_ChargePump(n) = 0x00000068<br /> slvpll_cp_boost = 0x0 <br /> slvpll_cp_i_set = 0x3 *read-only<br /> slvpll_cp_lp = 0x0 *read-only<br /> slvpll_cp_md = 0x0 *read-only<br /> slvpll_cp_pd = 0x0 *read-only<br /> slvpll_cp_r_set = 0x8 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> spllctrl_SpllCtrl_VCO(n) = 0x00000076<br /> slvpll_vco_buf_pd = 0x0 *read-only<br /> slvpll_vco_cap = 0x1 *read-only<br /> slvpll_vco_kvco = 0x3 <br /> slvpll_vco_pd = 0x0 *read-only<br /> slvpll_vco_rv2i = 0x6 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> spllctrl_SpllCtrl_VCO(n) = 0x00000078<br /> slvpll_vco_buf_pd = 0x0 *read-only<br /> slvpll_vco_cap = 0x1 *read-only<br /> slvpll_vco_kvco = 0x3 <br /> slvpll_vco_pd = 0x0 *read-only<br /> slvpll_vco_rv2i = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> spllctrl_SpllCtrl_LDO(n) = 0x00000004<br /> slvpll_bg_start_sel = 0x0 *read-only<br /> slvpll_reg_pd = 0x0 *read-only<br /> slvpll_vreg_adj = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> spllctrl_SpllCtrl_SPLLPwrDnCfg(n) = 0x00000011<br /> bypass_en_stby_pd = 0x1 <br /> spll_fast_pd_exit = 0x0 *read-only<br /> spll_mode_dcs_pwrdn = 0x1 *read-only<br /> use_idle_for_pd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>1. AMC Initial Configuration</h4>
|
||
|
<p>Perform the proper configurations of the AMC. Note that all the timing parameters should be programmed with respect to the normal clock, not the slow boot clock.<br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</table>
|
||
|
<h4> Setting up MCU registers and FSP for Freq change</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl0_freq0(n) = 0x18cd104d<br /> freqchngmrw0_addr_freq0 = 0xd <br /> freqchngmrw0_ctrl_freq0 = 0x1 <br /> freqchngmrw0_data_freq0 = 0x10 <br /> freqchngmrw1_addr_freq0 = 0xd <br /> freqchngmrw1_ctrl_freq0 = 0x3 <br /> freqchngmrw1_data_freq0 = 0x18 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl1_freq0(n) = 0x110c110e<br /> freqchngmrw2_addr_freq0 = 0xe <br /> freqchngmrw2_ctrl_freq0 = 0x0 <br /> freqchngmrw2_data_freq0 = 0x11 <br /> freqchngmrw3_addr_freq0 = 0xc <br /> freqchngmrw3_ctrl_freq0 = 0x0 <br /> freqchngmrw3_data_freq0 = 0x11 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq0(n) = 0xb303000b<br /> freqchngmrw4_addr_freq0 = 0xb <br /> freqchngmrw4_ctrl_freq0 = 0x0 <br /> freqchngmrw4_data_freq0 = 0x0 <br /> freqchngmrw5_addr_freq0 = 0x3 <br /> freqchngmrw5_ctrl_freq0 = 0x0 <br /> freqchngmrw5_data_freq0 = 0xb3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq0(n) = 0xb303440b<br /> freqchngmrw4_addr_freq0 = 0xb <br /> freqchngmrw4_ctrl_freq0 = 0x0 <br /> freqchngmrw4_data_freq0 = 0x44 <br /> freqchngmrw5_addr_freq0 = 0x3 <br /> freqchngmrw5_ctrl_freq0 = 0x0 <br /> freqchngmrw5_data_freq0 = 0xb3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl3_freq0(n) = 0xce012402<br /> freqchngmrw6_addr_freq0 = 0x2 <br /> freqchngmrw6_ctrl_freq0 = 0x0 <br /> freqchngmrw6_data_freq0 = 0x24 <br /> freqchngmrw7_addr_freq0 = 0x1 <br /> freqchngmrw7_ctrl_freq0 = 0x0 <br /> freqchngmrw7_data_freq0 = 0xce <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl4_freq0(n) = 0x00000416<br /> freqchngmrw8_addr_freq0 = 0x16 <br /> freqchngmrw8_ctrl_freq0 = 0x0 <br /> freqchngmrw8_data_freq0 = 0x4 <br /> freqchngmrw9_addr_freq0 = 0x0 *read-only<br /> freqchngmrw9_ctrl_freq0 = 0x0 *read-only<br /> freqchngmrw9_data_freq0 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngtim_freq0(n) = 0x000c1108<br /> freqchngclkofflat_freq0 = 0x8 <br /> freqchngclkonlat_freq0 = 0x11 <br /> freqchngsocupdlat_freq0 = 0xc <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl0_freq1(n) = 0x18cd104d<br /> freqchngmrw0_addr_freq1 = 0xd <br /> freqchngmrw0_ctrl_freq1 = 0x1 <br /> freqchngmrw0_data_freq1 = 0x10 <br /> freqchngmrw1_addr_freq1 = 0xd <br /> freqchngmrw1_ctrl_freq1 = 0x3 <br /> freqchngmrw1_data_freq1 = 0x18 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl1_freq1(n) = 0x110c110e<br /> freqchngmrw2_addr_freq1 = 0xe <br /> freqchngmrw2_ctrl_freq1 = 0x0 <br /> freqchngmrw2_data_freq1 = 0x11 <br /> freqchngmrw3_addr_freq1 = 0xc <br /> freqchngmrw3_ctrl_freq1 = 0x0 <br /> freqchngmrw3_data_freq1 = 0x11 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq1(n) = 0xf303000b<br /> freqchngmrw4_addr_freq1 = 0xb <br /> freqchngmrw4_ctrl_freq1 = 0x0 <br /> freqchngmrw4_data_freq1 = 0x0 <br /> freqchngmrw5_addr_freq1 = 0x3 <br /> freqchngmrw5_ctrl_freq1 = 0x0 <br /> freqchngmrw5_data_freq1 = 0xf3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq1(n) = 0xf303030b<br /> freqchngmrw4_addr_freq1 = 0xb <br /> freqchngmrw4_ctrl_freq1 = 0x0 <br /> freqchngmrw4_data_freq1 = 0x3 <br /> freqchngmrw5_addr_freq1 = 0x3 <br /> freqchngmrw5_ctrl_freq1 = 0x0 <br /> freqchngmrw5_data_freq1 = 0xf3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl3_freq1(n) = 0xae015202<br /> freqchngmrw6_addr_freq1 = 0x2 <br /> freqchngmrw6_ctrl_freq1 = 0x0 <br /> freqchngmrw6_data_freq1 = 0x52 <br /> freqchngmrw7_addr_freq1 = 0x1 <br /> freqchngmrw7_ctrl_freq1 = 0x0 <br /> freqchngmrw7_data_freq1 = 0xae <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl4_freq1(n) = 0x00000416<br /> freqchngmrw8_addr_freq1 = 0x16 <br /> freqchngmrw8_ctrl_freq1 = 0x0 <br /> freqchngmrw8_data_freq1 = 0x4 <br /> freqchngmrw9_addr_freq1 = 0x0 *read-only<br /> freqchngmrw9_ctrl_freq1 = 0x0 *read-only<br /> freqchngmrw9_data_freq1 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngtim_freq1(n) = 0x000c1108<br /> freqchngclkofflat_freq1 = 0x8 <br /> freqchngclkonlat_freq1 = 0x11 <br /> freqchngsocupdlat_freq1 = 0xc <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl0_freq2(n) = 0x18cd104d<br /> freqchngmrw0_addr_freq2 = 0xd <br /> freqchngmrw0_ctrl_freq2 = 0x1 <br /> freqchngmrw0_data_freq2 = 0x10 <br /> freqchngmrw1_addr_freq2 = 0xd <br /> freqchngmrw1_ctrl_freq2 = 0x3 <br /> freqchngmrw1_data_freq2 = 0x18 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl1_freq2(n) = 0x590c590e<br /> freqchngmrw2_addr_freq2 = 0xe <br /> freqchngmrw2_ctrl_freq2 = 0x0 <br /> freqchngmrw2_data_freq2 = 0x59 <br /> freqchngmrw3_addr_freq2 = 0xc <br /> freqchngmrw3_ctrl_freq2 = 0x0 <br /> freqchngmrw3_data_freq2 = 0x59 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq2(n) = 0xf303000b<br /> freqchngmrw4_addr_freq2 = 0xb <br /> freqchngmrw4_ctrl_freq2 = 0x0 <br /> freqchngmrw4_data_freq2 = 0x0 <br /> freqchngmrw5_addr_freq2 = 0x3 <br /> freqchngmrw5_ctrl_freq2 = 0x0 <br /> freqchngmrw5_data_freq2 = 0xf3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq2(n) = 0xf303000b<br /> freqchngmrw4_addr_freq2 = 0xb <br /> freqchngmrw4_ctrl_freq2 = 0x0 <br /> freqchngmrw4_data_freq2 = 0x0 <br /> freqchngmrw5_addr_freq2 = 0x3 <br /> freqchngmrw5_ctrl_freq2 = 0x0 <br /> freqchngmrw5_data_freq2 = 0xf3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl3_freq2(n) = 0x8e010002<br /> freqchngmrw6_addr_freq2 = 0x2 <br /> freqchngmrw6_ctrl_freq2 = 0x0 <br /> freqchngmrw6_data_freq2 = 0x0 <br /> freqchngmrw7_addr_freq2 = 0x1 <br /> freqchngmrw7_ctrl_freq2 = 0x0 <br /> freqchngmrw7_data_freq2 = 0x8e <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl4_freq2(n) = 0x00000016<br /> freqchngmrw8_addr_freq2 = 0x16 <br /> freqchngmrw8_ctrl_freq2 = 0x0 <br /> freqchngmrw8_data_freq2 = 0x0 <br /> freqchngmrw9_addr_freq2 = 0x0 *read-only<br /> freqchngmrw9_ctrl_freq2 = 0x0 *read-only<br /> freqchngmrw9_data_freq2 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngtim_freq2(n) = 0x000c1108<br /> freqchngclkofflat_freq2 = 0x8 <br /> freqchngclkonlat_freq2 = 0x11 <br /> freqchngsocupdlat_freq2 = 0xc <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl0_freq3(n) = 0x18cd104d<br /> freqchngmrw0_addr_freq3 = 0xd <br /> freqchngmrw0_ctrl_freq3 = 0x1 <br /> freqchngmrw0_data_freq3 = 0x10 <br /> freqchngmrw1_addr_freq3 = 0xd <br /> freqchngmrw1_ctrl_freq3 = 0x3 <br /> freqchngmrw1_data_freq3 = 0x18 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl1_freq3(n) = 0x590c590e<br /> freqchngmrw2_addr_freq3 = 0xe <br /> freqchngmrw2_ctrl_freq3 = 0x0 <br /> freqchngmrw2_data_freq3 = 0x59 <br /> freqchngmrw3_addr_freq3 = 0xc <br /> freqchngmrw3_ctrl_freq3 = 0x0 <br /> freqchngmrw3_data_freq3 = 0x59 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq3(n) = 0xf303000b<br /> freqchngmrw4_addr_freq3 = 0xb <br /> freqchngmrw4_ctrl_freq3 = 0x0 <br /> freqchngmrw4_data_freq3 = 0x0 <br /> freqchngmrw5_addr_freq3 = 0x3 <br /> freqchngmrw5_ctrl_freq3 = 0x0 <br /> freqchngmrw5_data_freq3 = 0xf3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl2_freq3(n) = 0xf303000b<br /> freqchngmrw4_addr_freq3 = 0xb <br /> freqchngmrw4_ctrl_freq3 = 0x0 <br /> freqchngmrw4_data_freq3 = 0x0 <br /> freqchngmrw5_addr_freq3 = 0x3 <br /> freqchngmrw5_ctrl_freq3 = 0x0 <br /> freqchngmrw5_data_freq3 = 0xf3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl3_freq3(n) = 0x8e010002<br /> freqchngmrw6_addr_freq3 = 0x2 <br /> freqchngmrw6_ctrl_freq3 = 0x0 <br /> freqchngmrw6_data_freq3 = 0x0 <br /> freqchngmrw7_addr_freq3 = 0x1 <br /> freqchngmrw7_ctrl_freq3 = 0x0 <br /> freqchngmrw7_data_freq3 = 0x8e <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl4_freq3(n) = 0x00000016<br /> freqchngmrw8_addr_freq3 = 0x16 <br /> freqchngmrw8_ctrl_freq3 = 0x0 <br /> freqchngmrw8_data_freq3 = 0x0 <br /> freqchngmrw9_addr_freq3 = 0x0 *read-only<br /> freqchngmrw9_ctrl_freq3 = 0x0 *read-only<br /> freqchngmrw9_data_freq3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngtim_freq3(n) = 0x000c1108<br /> freqchngclkofflat_freq3 = 0x8 <br /> freqchngclkonlat_freq3 = 0x11 <br /> freqchngsocupdlat_freq3 = 0xc <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dllupdtctrl(n) = 0x50017350<br /> DllInitUpdtDur = 0x7 *read-only<br /> DllUpdtDur = 0x3 *read-only<br /> DllUpdtMode = 0x1 <br /> DllUpdtPhyUpdtTyp = 0x0 *read-only<br /> FreqChangeSDLLUpdDur = 0x50 *read-only<br /> SDLLUpdDur = 0x50 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_dllupdtctrl(n) = 0x50017350<br /> DllInitUpdtDur = 0x7 *read-only<br /> DllUpdtDur = 0x3 *read-only<br /> DllUpdtMode = 0x1 <br /> DllUpdtPhyUpdtTyp = 0x0 *read-only<br /> FreqChangeSDLLUpdDur = 0x50 *read-only<br /> SDLLUpdDur = 0x50 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM timing parameters for default frequencyset. Example here shows LPDDR4-2667 8Gb DRAM die. See Section 3.2.2.4 for other value. <br /> Configure the PHY timing. These are determined by the design of the PHY and the interface between the PHY and AMC. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq0(n) = 0x001030c2<br /> DRAMRL_freq0 = 0x3 <br /> DRAMWL_freq0 = 0x2 <br /> tDQSCKMaxCyc_freq0 = 0x3 *read-only<br /> tDQSCKMinCyc_freq0 = 0x0 *read-only<br /> tDQSSMaxCyc_freq0 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq0(n) = 0x00103306<br /> DRAMRL_freq0 = 0xc <br /> DRAMWL_freq0 = 0x6 <br /> tDQSCKMaxCyc_freq0 = 0x3 *read-only<br /> tDQSCKMinCyc_freq0 = 0x0 *read-only<br /> tDQSSMaxCyc_freq0 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq1(n) = 0x001020c2<br /> DRAMRL_freq1 = 0x3 <br /> DRAMWL_freq1 = 0x2 <br /> tDQSCKMaxCyc_freq1 = 0x2 *read-only<br /> tDQSCKMinCyc_freq1 = 0x0 *read-only<br /> tDQSSMaxCyc_freq1 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq1(n) = 0x00102206<br /> DRAMRL_freq1 = 0x8 <br /> DRAMWL_freq1 = 0x6 <br /> tDQSCKMaxCyc_freq1 = 0x2 *read-only<br /> tDQSCKMinCyc_freq1 = 0x0 *read-only<br /> tDQSSMaxCyc_freq1 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_phytim_phyrdwrtim_freq0(n) = 0x00010d01<br /> PHYRdLat_freq0 = 0xd <br /> PHYtPhyWrlat_freq0 = 0x1 <br /> PHYtRddataEn_freq0 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_phytim_phyrdwrtim_freq0(n) = 0x00050d0a<br /> PHYRdLat_freq0 = 0xd <br /> PHYtPhyWrlat_freq0 = 0x5 <br /> PHYtRddataEn_freq0 = 0xa <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_phytim_phyrdwrtim_freq1(n) = 0x00010c01<br /> PHYRdLat_freq1 = 0xc <br /> PHYtPhyWrlat_freq1 = 0x1 <br /> PHYtRddataEn_freq1 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_phytim_phyrdwrtim_freq1(n) = 0x00050c06<br /> PHYRdLat_freq1 = 0xc <br /> PHYtPhyWrlat_freq1 = 0x5 <br /> PHYtRddataEn_freq1 = 0x6 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_phytim_phyrdwrtim_freq2(n) = 0x00010c01<br /> PHYRdLat_freq2 = 0xc <br /> PHYtPhyWrlat_freq2 = 0x1 <br /> PHYtRddataEn_freq2 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_phytim_phyrdwrtim_freq2(n) = 0x00010c01<br /> PHYRdLat_freq2 = 0xc <br /> PHYtPhyWrlat_freq2 = 0x1 <br /> PHYtRddataEn_freq2 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq0(n) = 0x42110408<br /> tRASCyc_freq0 = 0x11 <br /> tRCDCyc_freq0 = 0x8 <br /> tRTPCyc_freq0 = 0x4 <br /> tWRCyc_freq0 = 0x8 <br /> tWTRCyc_freq0 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq0(n) = 0x40c20402<br /> tRASCyc_freq0 = 0x2 <br /> tRCDCyc_freq0 = 0x2 <br /> tRTPCyc_freq0 = 0x4 <br /> tWRCyc_freq0 = 0x3 <br /> tWTRCyc_freq0 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq0(n) = 0x531a060b<br /> tRASCyc_freq0 = 0x1a <br /> tRCDCyc_freq0 = 0xb <br /> tRTPCyc_freq0 = 0x5 <br /> tWRCyc_freq0 = 0xc <br /> tWTRCyc_freq0 = 0x6 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq0(n) = 0x10040908<br /> tFAWCyc_freq0 = 0x10 <br /> tRPCyc_freq0 = 0x8 <br /> tRPabCyc_freq0 = 0x9 <br /> tRRDCyc_freq0 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq0(n) = 0x01020202<br /> tFAWCyc_freq0 = 0x1 <br /> tRPCyc_freq0 = 0x2 <br /> tRPabCyc_freq0 = 0x2 <br /> tRRDCyc_freq0 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq0(n) = 0x18060d0b<br /> tFAWCyc_freq0 = 0x18 <br /> tRPCyc_freq0 = 0xb <br /> tRPabCyc_freq0 = 0xd <br /> tRRDCyc_freq0 = 0x6 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq0(n) = 0x24480078<br /> tRFCBaseCyc_freq0 = 0x78 *read-only<br /> tRFCCyc_freq0 = 0x48 <br /> tRFCpbCyc_freq0 = 0x24 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq0(n) = 0x01010078<br /> tRFCBaseCyc_freq0 = 0x78 *read-only<br /> tRFCCyc_freq0 = 0x1 <br /> tRFCpbCyc_freq0 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq0(n) = 0x366c0078<br /> tRFCBaseCyc_freq0 = 0x78 *read-only<br /> tRFCCyc_freq0 = 0x6c <br /> tRFCpbCyc_freq0 = 0x36 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq0(n) = 0x50057012<br /> tFCCyc_freq0 = 0x50 <br /> tXSRCyc_freq0 = 0x57 <br /> tZQCalCyc_freq0 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq0(n) = 0x28002012<br /> tFCCyc_freq0 = 0x28 <br /> tXSRCyc_freq0 = 0x2 <br /> tZQCalCyc_freq0 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq0(n) = 0x78071012<br /> tFCCyc_freq0 = 0x78 <br /> tXSRCyc_freq0 = 0x71 <br /> tZQCalCyc_freq0 = 0x12 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_modereg(n) = 0x0e0a9084<br /> tMRRCyc = 0x4 <br /> tMRRICyc = 0x8 <br /> tMRWCyc = 0x9 <br /> tVRCGOFFCyc = 0xa <br /> tZQLatCyc = 0xe <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_modereg(n) = 0x060a9024<br /> tMRRCyc = 0x4 <br /> tMRRICyc = 0x2 <br /> tMRWCyc = 0x9 <br /> tVRCGOFFCyc = 0xa <br /> tZQLatCyc = 0x6 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_modereg(n) = 0x140a90b4<br /> tMRRCyc = 0x4 <br /> tMRRICyc = 0xb <br /> tMRWCyc = 0x9 <br /> tVRCGOFFCyc = 0xa <br /> tZQLatCyc = 0x14 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM timing parameters for alternative frequency points. For the dynamic frequency change support, all frequency sets should be programmed. See Section 3.2.2.3 for details. The actual values should correspond to the desired frequency points and the actual device specifications. <br />(N=1/2/3)<br />*since mcu_clk freq1 = 200MHz and per-bank refresh is not enabled,<br />mcusch.mifcassch_freq1. HiTempRefRnkAgeOut_freq1 =0x0 </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq1(n) = 0x42110408<br /> tRASCyc_freq1 = 0x11 <br /> tRCDCyc_freq1 = 0x8 <br /> tRTPCyc_freq1 = 0x4 <br /> tWRCyc_freq1 = 0x8 <br /> tWTRCyc_freq1 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq1(n) = 0x40c20402<br /> tRASCyc_freq1 = 0x2 <br /> tRCDCyc_freq1 = 0x2 <br /> tRTPCyc_freq1 = 0x4 <br /> tWRCyc_freq1 = 0x3 <br /> tWTRCyc_freq1 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq1(n) = 0x42110408<br /> tRASCyc_freq1 = 0x11 <br /> tRCDCyc_freq1 = 0x8 <br /> tRTPCyc_freq1 = 0x4 <br /> tWRCyc_freq1 = 0x8 <br /> tWTRCyc_freq1 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq1(n) = 0x01020202<br /> tFAWCyc_freq1 = 0x1 <br /> tRPCyc_freq1 = 0x2 <br /> tRPabCyc_freq1 = 0x2 <br /> tRRDCyc_freq1 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq1(n) = 0x10040908<br /> tFAWCyc_freq1 = 0x10 <br /> tRPCyc_freq1 = 0x8 <br /> tRPabCyc_freq1 = 0x9 <br /> tRRDCyc_freq1 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > **IMPORTANT** : For power saving on SOC's using Samsung and Hynix DRAM's, it's mandatory to set autoref_freq1 to 0x1C480050. For SOC's using Micron DRAM, autoref_freq1 should be set to 0x20480050. </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq1(n) = 0x01010050<br /> tRFCBaseCyc_freq1 = 0x50 *read-only<br /> tRFCCyc_freq1 = 0x1 <br /> tRFCpbCyc_freq1 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq1(n) = 0x24480050<br /> tRFCBaseCyc_freq1 = 0x50 *read-only<br /> tRFCCyc_freq1 = 0x48 <br /> tRFCpbCyc_freq1 = 0x24 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq1(n) = 0x50057012<br /> tFCCyc_freq1 = 0x50 <br /> tXSRCyc_freq1 = 0x57 <br /> tZQCalCyc_freq1 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq1(n) = 0x28002012<br /> tFCCyc_freq1 = 0x28 <br /> tXSRCyc_freq1 = 0x2 <br /> tZQCalCyc_freq1 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq1(n) = 0x5004b012<br /> tFCCyc_freq1 = 0x50 <br /> tXSRCyc_freq1 = 0x4b <br /> tZQCalCyc_freq1 = 0x12 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq2(n) = 0x42110408<br /> tRASCyc_freq2 = 0x11 <br /> tRCDCyc_freq2 = 0x8 <br /> tRTPCyc_freq2 = 0x4 <br /> tWRCyc_freq2 = 0x8 <br /> tWTRCyc_freq2 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq2(n) = 0x40c20402<br /> tRASCyc_freq2 = 0x2 <br /> tRCDCyc_freq2 = 0x2 <br /> tRTPCyc_freq2 = 0x4 <br /> tWRCyc_freq2 = 0x3 <br /> tWTRCyc_freq2 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq2(n) = 0x40c50402<br /> tRASCyc_freq2 = 0x5 <br /> tRCDCyc_freq2 = 0x2 <br /> tRTPCyc_freq2 = 0x4 <br /> tWRCyc_freq2 = 0x3 <br /> tWTRCyc_freq2 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq2(n) = 0x10040908<br /> tFAWCyc_freq2 = 0x10 <br /> tRPCyc_freq2 = 0x8 <br /> tRPabCyc_freq2 = 0x9 <br /> tRRDCyc_freq2 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq2(n) = 0x01020202<br /> tFAWCyc_freq2 = 0x1 <br /> tRPCyc_freq2 = 0x2 <br /> tRPabCyc_freq2 = 0x2 <br /> tRRDCyc_freq2 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq2(n) = 0x04020302<br /> tFAWCyc_freq2 = 0x4 <br /> tRPCyc_freq2 = 0x2 <br /> tRPabCyc_freq2 = 0x3 <br /> tRRDCyc_freq2 = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq2(n) = 0x24480014<br /> tRFCBaseCyc_freq2 = 0x14 *read-only<br /> tRFCCyc_freq2 = 0x48 <br /> tRFCpbCyc_freq2 = 0x24 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq2(n) = 0x01010014<br /> tRFCBaseCyc_freq2 = 0x14 *read-only<br /> tRFCCyc_freq2 = 0x1 <br /> tRFCpbCyc_freq2 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq2(n) = 0x09120014<br /> tRFCBaseCyc_freq2 = 0x14 *read-only<br /> tRFCCyc_freq2 = 0x12 <br /> tRFCpbCyc_freq2 = 0x9 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq2(n) = 0x50057012<br /> tFCCyc_freq2 = 0x50 <br /> tXSRCyc_freq2 = 0x57 <br /> tZQCalCyc_freq2 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq2(n) = 0x28002012<br /> tFCCyc_freq2 = 0x28 <br /> tXSRCyc_freq2 = 0x2 <br /> tZQCalCyc_freq2 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq2(n) = 0x28013012<br /> tFCCyc_freq2 = 0x28 <br /> tXSRCyc_freq2 = 0x13 <br /> tZQCalCyc_freq2 = 0x12 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq3(n) = 0x42110408<br /> tRASCyc_freq3 = 0x11 <br /> tRCDCyc_freq3 = 0x8 <br /> tRTPCyc_freq3 = 0x4 <br /> tWRCyc_freq3 = 0x8 <br /> tWTRCyc_freq3 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq3(n) = 0x40c20402<br /> tRASCyc_freq3 = 0x2 <br /> tRCDCyc_freq3 = 0x2 <br /> tRTPCyc_freq3 = 0x4 <br /> tWRCyc_freq3 = 0x3 <br /> tWTRCyc_freq3 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_caspch_freq3(n) = 0x40c20402<br /> tRASCyc_freq3 = 0x2 <br /> tRCDCyc_freq3 = 0x2 <br /> tRTPCyc_freq3 = 0x4 <br /> tWRCyc_freq3 = 0x3 <br /> tWTRCyc_freq3 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Process act_freq3 for all platforms </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq3(n) = 0x10040b0a<br /> tFAWCyc_freq3 = 0x10 <br /> tRPCyc_freq3 = 0xa <br /> tRPabCyc_freq3 = 0xb <br /> tRRDCyc_freq3 = 0x4 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq3(n) = 0x01020404<br /> tFAWCyc_freq3 = 0x1 <br /> tRPCyc_freq3 = 0x4 <br /> tRPabCyc_freq3 = 0x4 <br /> tRRDCyc_freq3 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_act_freq3(n) = 0x02020404<br /> tFAWCyc_freq3 = 0x2 <br /> tRPCyc_freq3 = 0x4 <br /> tRPabCyc_freq3 = 0x4 <br /> tRRDCyc_freq3 = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq3(n) = 0x24480005<br /> tRFCBaseCyc_freq3 = 0x5 *read-only<br /> tRFCCyc_freq3 = 0x48 <br /> tRFCpbCyc_freq3 = 0x24 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq3(n) = 0x01010005<br /> tRFCBaseCyc_freq3 = 0x5 *read-only<br /> tRFCCyc_freq3 = 0x1 <br /> tRFCpbCyc_freq3 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq3(n) = 0x03050005<br /> tRFCBaseCyc_freq3 = 0x5 *read-only<br /> tRFCCyc_freq3 = 0x5 <br /> tRFCpbCyc_freq3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq3(n) = 0x50057012<br /> tFCCyc_freq3 = 0x50 <br /> tXSRCyc_freq3 = 0x57 <br /> tZQCalCyc_freq3 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq3(n) = 0x28002012<br /> tFCCyc_freq3 = 0x28 <br /> tXSRCyc_freq3 = 0x2 <br /> tZQCalCyc_freq3 = 0x12 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_selfref_freq3(n) = 0x28006012<br /> tFCCyc_freq3 = 0x28 <br /> tXSRCyc_freq3 = 0x6 <br /> tZQCalCyc_freq3 = 0x12 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_params(n) = 0x00150013<br /> tREFBWtRFCcnt = 0x15 *read-only<br /> tREFICyc = 0x13 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_params(n) = 0x0015005d<br /> tREFBWtRFCcnt = 0x15 *read-only<br /> tREFICyc = 0x5d <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_pdn(n) = 0x31263263<br /> tCKECyc = 0x3 <br /> tCKEPDECyc = 0x1 *read-only<br /> tCKESRCyc = 0x6 <br /> tCKEafSRCyc = 0x2 <br /> tCKEb4SRCyc = 0x6 <br /> tCKafCKECyc = 0x3 <br /> tCKb4CKECyc = 0x1 <br /> tXPCyc = 0x3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_pdn(n) = 0x21262222<br /> tCKECyc = 0x2 <br /> tCKEPDECyc = 0x1 *read-only<br /> tCKESRCyc = 0x2 <br /> tCKEafSRCyc = 0x2 <br /> tCKEb4SRCyc = 0x6 <br /> tCKafCKECyc = 0x2 <br /> tCKb4CKECyc = 0x1 <br /> tXPCyc = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_pdn(n) = 0x62265295<br /> tCKECyc = 0x5 <br /> tCKEPDECyc = 0x1 *read-only<br /> tCKESRCyc = 0x9 <br /> tCKEafSRCyc = 0x2 <br /> tCKEb4SRCyc = 0x6 <br /> tCKafCKECyc = 0x6 <br /> tCKb4CKECyc = 0x2 <br /> tXPCyc = 0x5 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq0(n) = 0x28835488<br /> tDQSCKMaxDrtCyc_freq0 = 0x3 <br /> tRASDrtCyc_freq0 = 0x12 <br /> tRCDDrtCyc_freq0 = 0x8 <br /> tRPDrtCyc_freq0 = 0x8 <br /> tRPabDrtCyc_freq0 = 0xa <br /> tRRDDrtCyc_freq0 = 0x5 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq0(n) = 0x08212082<br /> tDQSCKMaxDrtCyc_freq0 = 0x1 <br /> tRASDrtCyc_freq0 = 0x2 <br /> tRCDDrtCyc_freq0 = 0x2 <br /> tRPDrtCyc_freq0 = 0x2 <br /> tRPabDrtCyc_freq0 = 0x2 <br /> tRRDDrtCyc_freq0 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq0(n) = 0x38c486cc<br /> tDQSCKMaxDrtCyc_freq0 = 0x4 <br /> tRASDrtCyc_freq0 = 0x1b <br /> tRCDDrtCyc_freq0 = 0xc <br /> tRPDrtCyc_freq0 = 0xc <br /> tRPabDrtCyc_freq0 = 0xe <br /> tRRDDrtCyc_freq0 = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq1(n) = 0x28835488<br /> tDQSCKMaxDrtCyc_freq1 = 0x3 <br /> tRASDrtCyc_freq1 = 0x12 <br /> tRCDDrtCyc_freq1 = 0x8 <br /> tRPDrtCyc_freq1 = 0x8 <br /> tRPabDrtCyc_freq1 = 0xa <br /> tRRDDrtCyc_freq1 = 0x5 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq1(n) = 0x08212082<br /> tDQSCKMaxDrtCyc_freq1 = 0x1 <br /> tRASDrtCyc_freq1 = 0x2 <br /> tRCDDrtCyc_freq1 = 0x2 <br /> tRPDrtCyc_freq1 = 0x2 <br /> tRPabDrtCyc_freq1 = 0x2 <br /> tRRDDrtCyc_freq1 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq1(n) = 0x28835488<br /> tDQSCKMaxDrtCyc_freq1 = 0x3 <br /> tRASDrtCyc_freq1 = 0x12 <br /> tRCDDrtCyc_freq1 = 0x8 <br /> tRPDrtCyc_freq1 = 0x8 <br /> tRPabDrtCyc_freq1 = 0xa <br /> tRRDDrtCyc_freq1 = 0x5 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq2(n) = 0x28835488<br /> tDQSCKMaxDrtCyc_freq2 = 0x3 <br /> tRASDrtCyc_freq2 = 0x12 <br /> tRCDDrtCyc_freq2 = 0x8 <br /> tRPDrtCyc_freq2 = 0x8 <br /> tRPabDrtCyc_freq2 = 0xa <br /> tRRDDrtCyc_freq2 = 0x5 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq2(n) = 0x08212082<br /> tDQSCKMaxDrtCyc_freq2 = 0x1 <br /> tRASDrtCyc_freq2 = 0x2 <br /> tRCDDrtCyc_freq2 = 0x2 <br /> tRPDrtCyc_freq2 = 0x2 <br /> tRPabDrtCyc_freq2 = 0x2 <br /> tRRDDrtCyc_freq2 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq2(n) = 0x0c212142<br /> tDQSCKMaxDrtCyc_freq2 = 0x1 <br /> tRASDrtCyc_freq2 = 0x5 <br /> tRCDDrtCyc_freq2 = 0x2 <br /> tRPDrtCyc_freq2 = 0x2 <br /> tRPabDrtCyc_freq2 = 0x3 <br /> tRRDDrtCyc_freq2 = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq3(n) = 0x30a35488<br /> tDQSCKMaxDrtCyc_freq3 = 0x3 <br /> tRASDrtCyc_freq3 = 0x12 <br /> tRCDDrtCyc_freq3 = 0x8 <br /> tRPDrtCyc_freq3 = 0xa <br /> tRPabDrtCyc_freq3 = 0xc <br /> tRRDDrtCyc_freq3 = 0x5 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq3(n) = 0x10412082<br /> tDQSCKMaxDrtCyc_freq3 = 0x1 <br /> tRASDrtCyc_freq3 = 0x2 <br /> tRCDDrtCyc_freq3 = 0x2 <br /> tRPDrtCyc_freq3 = 0x4 <br /> tRPabDrtCyc_freq3 = 0x4 <br /> tRRDDrtCyc_freq3 = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_derate_freq3(n) = 0x10412082<br /> tDQSCKMaxDrtCyc_freq3 = 0x1 <br /> tRASDrtCyc_freq3 = 0x2 <br /> tRCDDrtCyc_freq3 = 0x2 <br /> tRPDrtCyc_freq3 = 0x4 <br /> tRPabDrtCyc_freq3 = 0x4 <br /> tRRDDrtCyc_freq3 = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq0(n) = 0x00112306<br /> DRAMRL_freq0 = 0xc <br /> DRAMWL_freq0 = 0x6 <br /> tDQSCKMaxCyc_freq0 = 0x2 <br /> tDQSCKMinCyc_freq0 = 0x1 <br /> tDQSSMaxCyc_freq0 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq0(n) = 0x001110c2<br /> DRAMRL_freq0 = 0x3 <br /> DRAMWL_freq0 = 0x2 <br /> tDQSCKMaxCyc_freq0 = 0x1 <br /> tDQSCKMinCyc_freq0 = 0x1 <br /> tDQSSMaxCyc_freq0 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq0(n) = 0x00113306<br /> DRAMRL_freq0 = 0xc <br /> DRAMWL_freq0 = 0x6 <br /> tDQSCKMaxCyc_freq0 = 0x3 <br /> tDQSCKMinCyc_freq0 = 0x1 <br /> tDQSSMaxCyc_freq0 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq1(n) = 0x00112206<br /> DRAMRL_freq1 = 0x8 <br /> DRAMWL_freq1 = 0x6 <br /> tDQSCKMaxCyc_freq1 = 0x2 <br /> tDQSCKMinCyc_freq1 = 0x1 <br /> tDQSSMaxCyc_freq1 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq1(n) = 0x001110c2<br /> DRAMRL_freq1 = 0x3 <br /> DRAMWL_freq1 = 0x2 <br /> tDQSCKMaxCyc_freq1 = 0x1 <br /> tDQSCKMinCyc_freq1 = 0x1 <br /> tDQSSMaxCyc_freq1 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq1(n) = 0x00112206<br /> DRAMRL_freq1 = 0x8 <br /> DRAMWL_freq1 = 0x6 <br /> tDQSCKMaxCyc_freq1 = 0x2 <br /> tDQSCKMinCyc_freq1 = 0x1 <br /> tDQSSMaxCyc_freq1 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq2(n) = 0x001120c2<br /> DRAMRL_freq2 = 0x3 <br /> DRAMWL_freq2 = 0x2 <br /> tDQSCKMaxCyc_freq2 = 0x2 <br /> tDQSCKMinCyc_freq2 = 0x1 <br /> tDQSSMaxCyc_freq2 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq2(n) = 0x001110c2<br /> DRAMRL_freq2 = 0x3 <br /> DRAMWL_freq2 = 0x2 <br /> tDQSCKMaxCyc_freq2 = 0x1 <br /> tDQSCKMinCyc_freq2 = 0x1 <br /> tDQSSMaxCyc_freq2 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq2(n) = 0x001110c2<br /> DRAMRL_freq2 = 0x3 <br /> DRAMWL_freq2 = 0x2 <br /> tDQSCKMaxCyc_freq2 = 0x1 <br /> tDQSCKMinCyc_freq2 = 0x1 <br /> tDQSSMaxCyc_freq2 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq3(n) = 0x001120c2<br /> DRAMRL_freq3 = 0x3 <br /> DRAMWL_freq3 = 0x2 <br /> tDQSCKMaxCyc_freq3 = 0x2 <br /> tDQSCKMinCyc_freq3 = 0x1 <br /> tDQSSMaxCyc_freq3 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq3(n) = 0x001110c2<br /> DRAMRL_freq3 = 0x3 <br /> DRAMWL_freq3 = 0x2 <br /> tDQSCKMaxCyc_freq3 = 0x1 <br /> tDQSCKMinCyc_freq3 = 0x1 <br /> tDQSSMaxCyc_freq3 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_lat_freq3(n) = 0x001110c2<br /> DRAMRL_freq3 = 0x3 <br /> DRAMWL_freq3 = 0x2 <br /> tDQSCKMaxCyc_freq3 = 0x1 <br /> tDQSCKMinCyc_freq3 = 0x1 <br /> tDQSSMaxCyc_freq3 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq0(n) = 0x01212222<br /> R2rRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> R2rTatDeadCyc_freq0 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> R2wTatDeadCyc_freq0 = 0x2 <br /> W2rRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> W2wTatDeadCyc_freq0 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq0(n) = 0x01312222<br /> R2rRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> R2rTatDeadCyc_freq0 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> R2wTatDeadCyc_freq0 = 0x3 <br /> W2rRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq0 = 0x2 *read-only<br /> W2wTatDeadCyc_freq0 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq1(n) = 0x01212222<br /> R2rRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> R2rTatDeadCyc_freq1 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> R2wTatDeadCyc_freq1 = 0x2 <br /> W2rRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> W2wTatDeadCyc_freq1 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq1(n) = 0x01312222<br /> R2rRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> R2rTatDeadCyc_freq1 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> R2wTatDeadCyc_freq1 = 0x3 <br /> W2rRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq1 = 0x2 *read-only<br /> W2wTatDeadCyc_freq1 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq2(n) = 0x01312222<br /> R2rRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> R2rTatDeadCyc_freq2 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> R2wTatDeadCyc_freq2 = 0x3 <br /> W2rRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> W2wTatDeadCyc_freq2 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq2(n) = 0x01212222<br /> R2rRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> R2rTatDeadCyc_freq2 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> R2wTatDeadCyc_freq2 = 0x2 <br /> W2rRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq2 = 0x2 *read-only<br /> W2wTatDeadCyc_freq2 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq3(n) = 0x01312222<br /> R2rRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> R2rTatDeadCyc_freq3 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> R2wTatDeadCyc_freq3 = 0x3 <br /> W2rRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> W2wTatDeadCyc_freq3 = 0x1 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_tat_freq3(n) = 0x01212222<br /> R2rRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> R2rTatDeadCyc_freq3 = 0x1 *read-only<br /> R2wRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> R2wTatDeadCyc_freq3 = 0x2 <br /> W2rRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> W2wRnkMissTatDeadCyc_freq3 = 0x2 *read-only<br /> W2wTatDeadCyc_freq3 = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_rnkcfg(n) = 0x00006061<br /> Rnk0Odts = 0x6 *read-only<br /> Rnk0Valid = 0x1 <br /> Rnk1Odts = 0x6 *read-only<br /> Rnk1Valid = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_mifqctrl_mifqmaxctrl_freq0(n) = 0x00000100<br /> HiTempMifQMax_freq0 = 0x0 *read-only<br /> MifQMaxAlways = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_mifqctrl_mifqmaxctrl_freq3(n) = 0x00000003<br /> HiTempMifQMax_freq3 = 0x3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_mifqctrl_mifqmaxctrl_freq3(n) = 0x00000001<br /> HiTempMifQMax_freq3 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn off optional power- savingfeatures. This includes dynamic power down, auto self-refresh entry, and clock stopping. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_pwrmngten(n) = 0x00000000<br /> AutoSR = 0x0 <br /> DynPwrDnEn = 0x0 <br /> McPhyUpdDramClkOff = 0x0 <br /> PwrDnClkOff = 0x0 <br /> SRClkOff = 0x0 <br /> SRExitOpt = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn off optional power- savingfeatures. This includes dynamic power down, auto self-refresh entry, and clock stopping. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_odtszqc(n) = 0x00002000<br /> DerateParamSRExit = 0x1 <br /> OdtsRdIntrvl = 0x0 <br /> SRExitZQCChnlQuiet = 0x0 *read-only<br /> ShareZQRes = 0x0 *read-only<br /> TempDrtEn = 0x0 *read-only<br /> ZQCChnlQuiet = 0x0 *read-only<br /> ZQCStack = 0x0 *read-only<br /> ZqCalIntrvl = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn off transaction scheduling for non- initialization commands </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_amcgen_amcctrl(n) = 0x00000002<br /> McuEn = 0x0 *read-only<br /> SchEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_mcphyupdtparam(n) = 0x15030000<br /> FreqCSettleCyc = 0x5 *read-only<br /> McPhyTimeParamCyc = 0x3 *read-only<br /> PhyInitStartCyc = 0x0 *read-only<br /> PhyUpdMDLL = 0x1 <br /> UpdPhyLatCyc = 0x0 *read-only<br /> tPhyUpdGap = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program AMC to <br /> - wait tXP+2tCK after actual clock changes before valid command<br /> - wait 2 cycles after all timing parameter are satisfied before actual clock change<br /> - wait indefinitely for AMP to complete handshake. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_mcphyupdtparam(n) = 0x15030000<br /> FreqCSettleCyc = 0x5 *read-only<br /> McPhyTimeParamCyc = 0x3 <br /> PhyInitStartCyc = 0x0 <br /> PhyUpdMDLL = 0x1 <br /> UpdPhyLatCyc = 0x0 *read-only<br /> tPhyUpdGap = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>2. AMP Initial Configurations</h4>
|
||
|
<p>Perform the proper configurations of the AMP. There are two separate AMP register blocks; the code below must be repeated on both AMP0 and AMP1. (N=0..1)<br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Assert AMP enable </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscagen_ampen(n) = 0x00000001<br /> AmpEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Assert AMP enable </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqgen_ampen(n) = 0x00000001<br /> AmpEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_nondqdspd_f0(n) = 0x000b316b<br /> CaDsPd_f0 = 0xb <br /> Ck0DsPd_f0 = 0xb <br /> Ck1DsPd_f0 = 0xc *read-only<br /> CsDsPd_f0 = 0xb <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_nondqdspd_f1(n) = 0x000b216b<br /> CaDsPd_f1 = 0xb <br /> Ck0DsPd_f1 = 0xb <br /> Ck1DsPd_f1 = 0x8 *read-only<br /> CsDsPd_f1 = 0xb <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_nondqdspd_f2(n) = 0x000b3d6b<br /> CaDsPd_f2 = 0xb <br /> Ck0DsPd_f2 = 0xb <br /> Ck1DsPd_f2 = 0xf *read-only<br /> CsDsPd_f2 = 0xb <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_nondqdspd_f3(n) = 0x000b3d6b<br /> CaDsPd_f3 = 0xb <br /> Ck0DsPd_f3 = 0xb <br /> Ck1DsPd_f3 = 0xf *read-only<br /> CsDsPd_f3 = 0xb <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_nondqds_f1(n) = 0x00080508<br /> CaDs_f1 = 0x8 <br /> Ck0Ds_f1 = 0x8 <br /> Ck1Ds_f1 = 0x1 *read-only<br /> CsDs_f1 = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_nondqds_f2(n) = 0x00083d08<br /> CaDs_f2 = 0x8 <br /> Ck0Ds_f2 = 0x8 <br /> Ck1Ds_f2 = 0xf *read-only<br /> CsDs_f2 = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_nondqds_f3(n) = 0x00083d08<br /> CaDs_f3 = 0x8 <br /> Ck0Ds_f3 = 0x8 <br /> Ck1Ds_f3 = 0xf *read-only<br /> CsDs_f3 = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_CaCkCsWkDs(n) = 0x000000db<br /> CaWkDs = 0x3 <br /> CkWkDs = 0x3 <br /> CsWkDs = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_VRef_f0(n) = 0x00000003<br /> VRefSel = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_VRef_f1(n) = 0x00000003<br /> VRefSel = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_VRef_f2(n) = 0x00000003<br /> VRefSel = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_VRef_f3(n) = 0x00000003<br /> VRefSel = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > ODTEnable_f0 </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_ODTEnable_f0(n) = 0x00000000<br /> ODTEnable = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_ODTEnable_f0(n) = 0x00000000<br /> ODTEnable = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_ODTEnable_f0(n) = 0x00000001<br /> ODTEnable = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > ODTEnable_f1 </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_ODTEnable_f1(n) = 0x00000000<br /> ODTEnable = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_ODTEnable_f1(n) = 0x00000000<br /> ODTEnable = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_ODTEnable_f1(n) = 0x00000001<br /> ODTEnable = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > ODTEnable_f3 </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaodt_ODTEnable_f3(n) = 0x00000000<br /> ODTEnable = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqds_f0(n) = 0x000c0b08<br /> RdDqODTDs = 0xc <br /> WrDqPdDs = 0xb <br /> WrDqPuDs = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqds_f1(n) = 0x00080b00<br /> RdDqODTDs = 0x8 <br /> WrDqPdDs = 0xb <br /> WrDqPuDs = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqds_f2(n) = 0x00080b00<br /> RdDqODTDs = 0x8 <br /> WrDqPdDs = 0xb <br /> WrDqPuDs = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqds_f3(n) = 0x00080b00<br /> RdDqODTDs = 0x8 <br /> WrDqPdDs = 0xb <br /> WrDqPuDs = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqdqsds_f0(n) = 0x000c0b08<br /> RdDqDqsODTDs = 0xc <br /> WrDqDqsPdDs = 0xb <br /> WrDqDqsPuDs = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqdqsds_f1(n) = 0x00080b00<br /> RdDqDqsODTDs = 0x8 <br /> WrDqDqsPdDs = 0xb <br /> WrDqDqsPuDs = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqdqsds_f2(n) = 0x00080b00<br /> RdDqDqsODTDs = 0x8 <br /> WrDqDqsPdDs = 0xb <br /> WrDqDqsPuDs = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqiocfg_dqdqsds_f3(n) = 0x00080b00<br /> RdDqDqsODTDs = 0x8 <br /> WrDqDqsPdDs = 0xb <br /> WrDqDqsPuDs = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqodt_VRef_f0(n) = 0x00c000c0<br /> DqsVRefSel = 0xc0 <br /> VRefSel = 0xc0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqodt_VRef_f1(n) = 0x00c000c0<br /> DqsVRefSel = 0xc0 <br /> VRefSel = 0xc0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqodt_VRef_f2(n) = 0x00800080<br /> DqsVRefSel = 0x80 <br /> VRefSel = 0x80 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqodt_VRef_f3(n) = 0x00800080<br /> DqsVRefSel = 0x80 <br /> VRefSel = 0x80 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_dqspdres(n) = 0x00000001<br /> DqsPdVal = 0x1 *read-only<br /> DqsWkPuPdVal = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscasdllctrl_SDLLUpdateCtrl(n) = 0x0303030b<br /> ClkEn2Valid = 0x3 *read-only<br /> ReqWaitDelay = 0xb <br /> Valid2ClkEn = 0x3 *read-only<br /> ValidLen = 0x3 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_SDLLUpdateCtrl(n) = 0x0003000b<br /> ClkEn2Valid = 0x0 *read-only<br /> ReqWaitDelay = 0xb <br /> Valid2ClkEn = 0x0 *read-only<br /> ValidLen = 0x3 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_rd0sdllctrl(n) = 0x00ff0004<br /> Rd0RunSDLLUpd = 0x0 *read-only<br /> Rd0RunSDLLUpdOverride = 0x0 *read-only<br /> Rd0RunSDLLUpdWrResult = 0x0 *read-only<br /> Rd0SDLLOvrVal = 0xff <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll ampsdqsdllctrl rd0sdllctrl </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: ampsdqsdllctrl_rd0sdllctrl<br />
|
||
|
Rd0RunSDLLUpdWrResult<br />
|
||
|
while((CSR(ampsdq_ampsdqsdllctrl_rd0sdllctrl(n)) & 0x4) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_WrDqDqsSDLLCtrl(n) = 0xff000004<br /> WrDqDqsRunSDLLUpd = 0x0 *read-only<br /> WrDqDqsRunSDLLUpdOverride = 0x0 *read-only<br /> WrDqDqsRunSDLLUpdWrResult = 0x0 *read-only<br /> WrDqDqsWrLvlReBalanceEn = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f0 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f1 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f2 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f3 = 0x0 *read-only<br /> WrDqSDLLHalfClkEn = 0x0 *read-only<br /> WrDqSDLLOvrVal = 0x0 <br /> WrDqsSDLLOvrVal = 0xff <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll ampsdqsdllctrl WrDqDqsSDLLCtrl </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: ampsdqsdllctrl_WrDqDqsSDLLCtrl<br />
|
||
|
WrDqDqsRunSDLLUpdWrResult<br />
|
||
|
while((CSR(ampsdq_ampsdqsdllctrl_WrDqDqsSDLLCtrl(n)) & 0x4) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscawrlvl_ampcawrlvlsdllcode(n) = 0x00ff02ff<br /> WrLvlMaxWrDqsSDLLCode = 0xff *read-only<br /> WrLvlRunUpdOverride = 0x0 *read-only<br /> WrLvlRunUpdWrResult = 0x0 *read-only<br /> WrLvlSDLLCode = 0xff <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll ampscawrlvl ampcawrlvlsdllcode </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: ampscawrlvl_ampcawrlvlsdllcode<br />
|
||
|
WrLvlRunUpdWrResult<br />
|
||
|
while((CSR(ampsca_ampscawrlvl_ampcawrlvlsdllcode(n)) & 0x200) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL Init and Incr lock timers based on 24 MHz value<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_dlllocktim(n) = 0x012c012c<br /> DllIncLockTim = 0x12c <br /> DllInitLockTim = 0x12c <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL Init and Incr lock timers based on 24 MHz value<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dlllocktim(n) = 0x012c012c<br /> DllIncLockTim = 0x12c <br /> DllInitLockTim = 0x12c <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_DFICalTiming(n) = 0x04000410<br /> tCA2CAEntry = 0x10 <br /> tCA2CAExit = 0x0 <br /> tCKEHEntry = 0x4 <br /> tCKEHExit = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_DFICalTiming2_DFICalTiming_f1(n) = 0x04000410<br /> tCA2CAEntry_f1 = 0x10 <br /> tCA2CAExit_f1 = 0x0 <br /> tCKEHEntry_f1 = 0x4 <br /> tCKEHExit_f1 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_DFICalTiming2_DFICalTiming_f2(n) = 0x04000410<br /> tCA2CAEntry_f2 = 0x10 <br /> tCA2CAExit_f2 = 0x0 <br /> tCKEHEntry_f2 = 0x4 <br /> tCKEHExit_f2 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_DFICalTiming2_DFICalTiming_f3(n) = 0x04000410<br /> tCA2CAEntry_f3 = 0x10 <br /> tCA2CAExit_f3 = 0x0 <br /> tCKEHEntry_f3 = 0x4 <br /> tCKEHExit_f3 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_DFICalTiming_DFICalTiming_f0(n) = 0x04020402<br /> tCA2CAEntry_f0 = 0x2 <br /> tCA2CAExit_f0 = 0x2 <br /> tCKEHEntry_f0 = 0x4 <br /> tCKEHExit_f0 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_DFICalTiming_DFICalTiming_f1(n) = 0x04020402<br /> tCA2CAEntry_f1 = 0x2 <br /> tCA2CAExit_f1 = 0x2 <br /> tCKEHEntry_f1 = 0x4 <br /> tCKEHExit_f1 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_DFICalTiming_DFICalTiming_f2(n) = 0x04020402<br /> tCA2CAEntry_f2 = 0x2 <br /> tCA2CAExit_f2 = 0x2 <br /> tCKEHEntry_f2 = 0x4 <br /> tCKEHExit_f2 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_DFICalTiming_DFICalTiming_f3(n) = 0x04020402<br /> tCA2CAEntry_f3 = 0x2 <br /> tCA2CAExit_f3 = 0x2 <br /> tCKEHEntry_f3 = 0x4 <br /> tCKEHExit_f3 = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_MDLLCodeCaptureControl(n) = 0x00000002<br /> MDLLLoopCnt = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdWrDqCalTiming_f0(n) = 0x00001426<br /> CoarseStepSize = 0x4 *read-only<br /> FineStepSize = 0x1 <br /> tRL = 0x6 <br /> tWL = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdWrDqCalSegLen_f0(n) = 0x00010002<br /> tRdDqCalSegLen = 0x2 <br /> tWrDqCalSegLen = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdWrDqCalTiming_f1(n) = 0x00001422<br /> CoarseStepSize = 0x4 *read-only<br /> FineStepSize = 0x1 <br /> tRL = 0x2 <br /> tWL = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdWrDqCalSegLen_f1(n) = 0x00010002<br /> tRdDqCalSegLen = 0x2 <br /> tWrDqCalSegLen = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_HWRdWrDqCalTimingCtrl1(n) = 0x0000301e<br /> tRd2SDLL = 0x0 <br /> tSDLL2Rd = 0x1e <br /> tSDLL2Wr = 0x30 <br /> tWr2SDLL = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_HWRdWrDqCalTimingCtrl2(n) = 0x03111004<br /> tRd2Rd = 0x4 <br /> tRd2Wr = 0x10 <br /> tWr2Rd = 0x11 <br /> tWr2Wr = 0x3 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_HWRdDqCalPatPRBS4I(n) = 0x55555e26<br /> PatInvertMask = 0x5555 <br /> PatPRBS4 = 0x5e26 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_HWWrDqCalPatPRBS4I(n) = 0x55555e26<br /> PatInvertMask = 0x5555 <br /> PatPRBS4 = 0x5e26 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdDqCalWindow_f0(n) = 0x00b101d1<br /> EndPoint = 0xb1 <br /> StartPoint = 0x1d1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_WrDqCalWindow_f0(n) = 0x012f0360<br /> EndPoint = 0x12f <br /> StartPoint = 0x360 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdDqCalWindow_f1(n) = 0x00f801d1<br /> EndPoint = 0xf8 <br /> StartPoint = 0x1d1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_WrDqCalWindow_f1(n) = 0x012f0360<br /> EndPoint = 0x12f <br /> StartPoint = 0x360 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_MaxRdDqsSDLLMulFactor(n) = 0x00a01414<br /> MaxRdDqsSDLLCodeStatus = 0xa0 *read-only<br /> RdDqsSDLLMulFactorF0 = 0x14 <br /> RdDqsSDLLMulFactorF1 = 0x14 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_MaxWrDqSDLLMulFactor(n) = 0x00a00a0f<br /> MaxWrDqSDLLCodeStatus = 0xa0 *read-only<br /> WrDqSDLLMulFactorF0 = 0xf <br /> WrDqSDLLMulFactorF1 = 0xa <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_MaxWrDqsSDLLMulFactor(n) = 0xa0a00c0c<br /> MaxWrDqsSDLLCodeStatusF0 = 0xa0 *read-only<br /> MaxWrDqsSDLLCodeStatusF1 = 0xa0 *read-only<br /> WrDqsSDLLMulFactorF0 = 0xc <br /> WrDqsSDLLMulFactorF1 = 0xc <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqMulFactor_RdDqsMulFactor(n) = 0x20181000<br /> Factor0 = 0x0 *read-only<br /> Factor1 = 0x10 <br /> Factor2 = 0x18 <br /> Factor3 = 0x20 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_caoutdllscl_freq0(n) = 0x00000008<br /> CaOutDllScl_f0 = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dqsindll0scl_freq0(n) = 0x00000008<br /> DqsInDll0Scl_f0 = 0x8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program capture latency and recapture latency </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq0(n) = 0x0100080a<br /> DqIeDeAssertPullIn_f0 = 0x0 <br /> DqsPdEn_f0 = 0x1 *read-only<br /> RdCapLat_f0 = 0xa <br /> RdDatLat_f0 = 0x8 <br /> WrPhaseDelay_f0 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq0(n) = 0x01000606<br /> DqIeDeAssertPullIn_f0 = 0x0 <br /> DqsPdEn_f0 = 0x1 *read-only<br /> RdCapLat_f0 = 0x6 <br /> RdDatLat_f0 = 0x6 <br /> WrPhaseDelay_f0 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq0(n) = 0x0100080d<br /> DqIeDeAssertPullIn_f0 = 0x0 <br /> DqsPdEn_f0 = 0x1 *read-only<br /> RdCapLat_f0 = 0xd <br /> RdDatLat_f0 = 0x8 <br /> WrPhaseDelay_f0 = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_caoutdllscl_freq1(n) = 0x0000000c<br /> CaOutDllScl_f1 = 0xc <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dqsindll0scl_freq1(n) = 0x0000000c<br /> DqsInDll0Scl_f1 = 0xc <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program capture latency and recapture latency </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq1(n) = 0x21000606<br /> DqIeDeAssertPullIn_f1 = 0x2 <br /> DqsPdEn_f1 = 0x1 *read-only<br /> RdCapLat_f1 = 0x6 <br /> RdDatLat_f1 = 0x6 <br /> WrPhaseDelay_f1 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq1(n) = 0x2100070a<br /> DqIeDeAssertPullIn_f1 = 0x2 <br /> DqsPdEn_f1 = 0x1 *read-only<br /> RdCapLat_f1 = 0xa <br /> RdDatLat_f1 = 0x7 <br /> WrPhaseDelay_f1 = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_caoutdllscl_freq2(n) = 0x00000030<br /> CaOutDllScl_f2 = 0x30 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dqsindll0scl_freq2(n) = 0x00000030<br /> DqsInDll0Scl_f2 = 0x30 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program capture latency and recapture latency </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq2(n) = 0x4100050a<br /> DqIeDeAssertPullIn_f2 = 0x4 <br /> DqsPdEn_f2 = 0x1 *read-only<br /> RdCapLat_f2 = 0xa <br /> RdDatLat_f2 = 0x5 <br /> WrPhaseDelay_f2 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq2(n) = 0x41000606<br /> DqIeDeAssertPullIn_f2 = 0x4 <br /> DqsPdEn_f2 = 0x1 *read-only<br /> RdCapLat_f2 = 0x6 <br /> RdDatLat_f2 = 0x6 <br /> WrPhaseDelay_f2 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq2(n) = 0x41000508<br /> DqIeDeAssertPullIn_f2 = 0x4 <br /> DqsPdEn_f2 = 0x1 *read-only<br /> RdCapLat_f2 = 0x8 <br /> RdDatLat_f2 = 0x5 <br /> WrPhaseDelay_f2 = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_caoutdllscl_freq3(n) = 0x0000003f<br /> CaOutDllScl_f3 = 0x3f <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL scaling factors (assuming freq0/1/2/3 = 522/400/200/50MHz, FMCLK=522 MHz) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dqsindll0scl_freq3(n) = 0x0000003f<br /> DqsInDll0Scl_f3 = 0x3f <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program capture latency and recapture latency </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq3(n) = 0x6100050a<br /> DqIeDeAssertPullIn_f3 = 0x6 <br /> DqsPdEn_f3 = 0x1 *read-only<br /> RdCapLat_f3 = 0xa <br /> RdDatLat_f3 = 0x5 <br /> WrPhaseDelay_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq3(n) = 0x61000606<br /> DqIeDeAssertPullIn_f3 = 0x6 <br /> DqsPdEn_f3 = 0x1 *read-only<br /> RdCapLat_f3 = 0x6 <br /> RdDatLat_f3 = 0x6 <br /> WrPhaseDelay_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> ampsdq_ampsdqrdtim_rdcapcfg_freq3(n) = 0x61000508<br /> DqIeDeAssertPullIn_f3 = 0x6 <br /> DqsPdEn_f3 = 0x1 *read-only<br /> RdCapLat_f3 = 0x8 <br /> RdDatLat_f3 = 0x5 <br /> WrPhaseDelay_f3 = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Updating the programming of DLL*UpdtDur Fields<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_dllupdtctrl(n) = 0x50017550<br /> DllInitUpdtDur = 0x7 <br /> DllUpdtDur = 0x5 <br /> DllUpdtMode = 0x1 <br /> DllUpdtPhyUpdtTyp = 0x0 *read-only<br /> FreqChangeSDLLUpdDur = 0x50 *read-only<br /> SDLLUpdDur = 0x50 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Updating the programming of DLL*UpdtDur Fields<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dllupdtctrl(n) = 0x50017550<br /> DllInitUpdtDur = 0x7 <br /> DllUpdtDur = 0x5 <br /> DllUpdtMode = 0x1 <br /> DllUpdtPhyUpdtTyp = 0x0 *read-only<br /> FreqChangeSDLLUpdDur = 0x50 *read-only<br /> SDLLUpdDur = 0x50 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_impautocal(n) = 0x00010000<br /> impautocalen = 0x1 <br /> impcalintvl = 0x0 *read-only<br /> impcaltype = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_dllupdtintvl(n) = 0x10200020<br /> DllFastUpdtAlwaysON = 0x1 *read-only<br /> DllFastUpdtIntvl = 0x20 *read-only<br /> DllUpdtAlwaysON = 0x0 <br /> DllUpdtIntvl = 0x20 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dllupdtintvl(n) = 0x10200020<br /> DllFastUpdtAlwaysON = 0x1 *read-only<br /> DllFastUpdtIntvl = 0x20 *read-only<br /> DllUpdtAlwaysON = 0x0 <br /> DllUpdtIntvl = 0x20 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable DLL </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_dllen(n) = 0x00000100<br /> DLLEn = 0x1 <br /> MDllReset = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable DLL </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dllen(n) = 0x00000100<br /> DLLEn = 0x1 <br /> MDllReset = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Run impedance calibration and optionally enable periodic auto impedance calibration<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_impcalcmd(n) = 0x00000000<br /> RunImpCal = 0x0 *read-only<br /> RunImpCalType = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_CB_WKPUPD(n) = 0x00000000<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x0 *read-only<br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x0 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_CB_DRIVE_STR(n) = 0x33831717<br /> dspd_f0 = 0x7 <br /> dspd_f1 = 0x7 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x3 <br /> dspu_f0 = 0x1 <br /> dspu_f1 = 0x1 <br /> dspu_f2 = 0x8 <br /> dspu_f3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_CB_IOCTL(n) = 0x000200a3<br /> en_pulse_tx_f0 = 0x1 <br /> en_pulse_tx_f1 = 0x1 <br /> en_pulse_tx_f2 = 0x0 *read-only<br /> en_pulse_tx_f3 = 0x0 <br /> isel = 0x0 <br /> protect_drvstren = 0x1 *read-only<br /> sel_rx_ac = 0x0 *read-only<br /> sel_rx_dc = 0x0 *read-only<br /> tx_ac_f0 = 0x2 <br /> tx_ac_f1 = 0x2 <br /> tx_ac_f2 = 0x0 *read-only<br /> tx_ac_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_CK_WKPUPD(n) = 0x00000000<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x0 *read-only<br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x0 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_CK_ZDET_BIASEN(n) = 0x00000000<br /> bias_ena = 0x0 *read-only<br /> disable_zdet = 0x0 <br /> sel_zdet = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_CK_DRIVE_STR(n) = 0x33831717<br /> dspd_f0 = 0x7 <br /> dspd_f1 = 0x7 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x3 <br /> dspu_f0 = 0x1 <br /> dspu_f1 = 0x1 <br /> dspu_f2 = 0x8 <br /> dspu_f3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_CK_IOCTL(n) = 0x000000a7<br /> en_pulse_tx_f0 = 0x1 <br /> en_pulse_tx_f1 = 0x1 <br /> en_pulse_tx_f2 = 0x1 <br /> en_pulse_tx_f3 = 0x0 <br /> isel = 0x0 <br /> sel_rx_ac = 0x0 *read-only<br /> sel_rx_dc = 0x0 *read-only<br /> tx_ac_f0 = 0x2 <br /> tx_ac_f1 = 0x2 <br /> tx_ac_f2 = 0x0 *read-only<br /> tx_ac_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B0_DRIVE_STR(n) = 0x33831717<br /> dspd_f0 = 0x7 <br /> dspd_f1 = 0x7 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x3 <br /> dspu_f0 = 0x1 <br /> dspu_f1 = 0x1 <br /> dspu_f2 = 0x8 <br /> dspu_f3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B0_IMPCTL(n) = 0x00201c2b<br /> en160_tx_f0 = 0x0 <br /> en160_tx_f1 = 0x1 <br /> en160_tx_f2 = 0x0 <br /> en160_tx_f3 = 0x0 <br /> zcpd_ovrr = 0x1c *read-only<br /> zcpu_ovrr = 0x2b *read-only<br /> zcpu_pd_ovrr = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B0_WKPUPD(n) = 0x00000000<br /> idle_active_en_f0 = 0x0 *read-only<br /> idle_active_en_f1 = 0x0 *read-only<br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 <br /> pdpwk_f1 = 0x0 <br /> pdpwk_f2 = 0x0 <br /> pdpwk_f3 = 0x0 <br /> pupwk_f0 = 0x0 <br /> pupwk_f1 = 0x0 <br /> pupwk_f2 = 0x0 <br /> pupwk_f3 = 0x0 <br /> wkds = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B0_IOCTL(n) = 0x715000a7<br /> en_pulse_tx_f0 = 0x1 <br /> en_pulse_tx_f1 = 0x1 <br /> en_pulse_tx_f2 = 0x1 <br /> en_pulse_tx_f3 = 0x0 <br /> isel_f0 = 0x1 <br /> isel_f1 = 0x1 <br /> isel_f2 = 0x1 <br /> isel_f3 = 0x0 <br /> sel_rx_ac_f0 = 0x0 <br /> sel_rx_ac_f1 = 0x0 <br /> sel_rx_ac_f2 = 0x0 <br /> sel_rx_ac_f3 = 0x0 <br /> sel_rx_dc_f0 = 0x1 <br /> sel_rx_dc_f1 = 0x1 <br /> sel_rx_dc_f2 = 0x1 <br /> sel_rx_dc_f3 = 0x0 <br /> tx_ac_f0 = 0x2 <br /> tx_ac_f1 = 0x2 <br /> tx_ac_f2 = 0x0 *read-only<br /> tx_ac_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B0_ODT(n) = 0x01c00333<br /> dspd_f0 = 0x3 <br /> dspd_f1 = 0x3 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x0 <br /> zcpd_ovrr = 0x0 *read-only<br /> zcpd_val = 0x1c *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_B0_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_B0_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_B0_ODTCTRL(n) = 0x00000005<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x1 *read-only<br /> odten_f1 = 0x0 <br /> odten_f2 = 0x1 *read-only<br /> odten_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B1_DRIVE_STR(n) = 0x33831717<br /> dspd_f0 = 0x7 <br /> dspd_f1 = 0x7 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x3 <br /> dspu_f0 = 0x1 <br /> dspu_f1 = 0x1 <br /> dspu_f2 = 0x8 <br /> dspu_f3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_B1_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_B1_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_B1_ODTCTRL(n) = 0x00000005<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x1 *read-only<br /> odten_f1 = 0x0 <br /> odten_f2 = 0x1 *read-only<br /> odten_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B1_IMPCTL(n) = 0x00201c2b<br /> en160_tx_f0 = 0x0 <br /> en160_tx_f1 = 0x1 <br /> en160_tx_f2 = 0x0 <br /> en160_tx_f3 = 0x0 <br /> zcpd_ovrr = 0x1c *read-only<br /> zcpu_ovrr = 0x2b *read-only<br /> zcpu_pd_ovrr = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B1_WKPUPD(n) = 0x00000000<br /> idle_active_en_f0 = 0x0 *read-only<br /> idle_active_en_f1 = 0x0 *read-only<br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 <br /> pdpwk_f1 = 0x0 <br /> pdpwk_f2 = 0x0 <br /> pdpwk_f3 = 0x0 <br /> pupwk_f0 = 0x0 <br /> pupwk_f1 = 0x0 <br /> pupwk_f2 = 0x0 <br /> pupwk_f3 = 0x0 <br /> wkds = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B1_IOCTL(n) = 0x715000a7<br /> en_pulse_tx_f0 = 0x1 <br /> en_pulse_tx_f1 = 0x1 <br /> en_pulse_tx_f2 = 0x1 <br /> en_pulse_tx_f3 = 0x0 <br /> isel_f0 = 0x1 <br /> isel_f1 = 0x1 <br /> isel_f2 = 0x1 <br /> isel_f3 = 0x0 <br /> sel_rx_ac_f0 = 0x0 <br /> sel_rx_ac_f1 = 0x0 <br /> sel_rx_ac_f2 = 0x0 <br /> sel_rx_ac_f3 = 0x0 <br /> sel_rx_dc_f0 = 0x1 <br /> sel_rx_dc_f1 = 0x1 <br /> sel_rx_dc_f2 = 0x1 <br /> sel_rx_dc_f3 = 0x0 <br /> tx_ac_f0 = 0x2 <br /> tx_ac_f1 = 0x2 <br /> tx_ac_f2 = 0x0 *read-only<br /> tx_ac_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B1_ODT(n) = 0x01c00333<br /> dspd_f0 = 0x3 <br /> dspd_f1 = 0x3 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x0 <br /> zcpd_ovrr = 0x0 *read-only<br /> zcpd_val = 0x1c *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_WKPUPD(n) = 0x00000788<br /> idle_active_en_f0 = 0x0 *read-only<br /> idle_active_en_f1 = 0x0 *read-only<br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_DRIVE_STR(n) = 0x33831717<br /> dspd_f0 = 0x7 <br /> dspd_f1 = 0x7 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x3 <br /> dspu_f0 = 0x1 <br /> dspu_f1 = 0x1 <br /> dspu_f2 = 0x8 <br /> dspu_f3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_IMPCTL(n) = 0x00201c2b<br /> en160_tx_f0 = 0x0 <br /> en160_tx_f1 = 0x1 <br /> en160_tx_f2 = 0x0 <br /> en160_tx_f3 = 0x0 <br /> zcpd_ovrr = 0x1c *read-only<br /> zcpu_ovrr = 0x2b *read-only<br /> zcpu_pd_ovrr = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_IOCTL(n) = 0x715000a7<br /> en_pulse_tx_f0 = 0x1 <br /> en_pulse_tx_f1 = 0x1 <br /> en_pulse_tx_f2 = 0x1 <br /> en_pulse_tx_f3 = 0x0 <br /> isel_f0 = 0x1 <br /> isel_f1 = 0x1 <br /> isel_f2 = 0x1 <br /> isel_f3 = 0x0 <br /> sel_rx_ac_f0 = 0x0 <br /> sel_rx_ac_f1 = 0x0 <br /> sel_rx_ac_f2 = 0x0 <br /> sel_rx_ac_f3 = 0x0 <br /> sel_rx_dc_f0 = 0x1 <br /> sel_rx_dc_f1 = 0x1 <br /> sel_rx_dc_f2 = 0x1 <br /> sel_rx_dc_f3 = 0x0 <br /> tx_ac_f0 = 0x2 <br /> tx_ac_f1 = 0x2 <br /> tx_ac_f2 = 0x0 *read-only<br /> tx_ac_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_ODT(n) = 0x01c00333<br /> dspd_f0 = 0x3 <br /> dspd_f1 = 0x3 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x0 <br /> zcpd_ovrr = 0x0 *read-only<br /> zcpd_val = 0x1c *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_ZDET_BIASEN(n) = 0x00060028<br /> bias_ena_f0 = 0x0 <br /> bias_ena_f1 = 0x1 <br /> bias_ena_f2 = 0x1 <br /> bias_ena_f3 = 0x0 <br /> disable_zdet_f0 = 0x0 <br /> disable_zdet_f1 = 0x0 <br /> disable_zdet_f2 = 0x0 <br /> disable_zdet_f3 = 0x0 <br /> sel_zdet_f0 = 0x0 <br /> sel_zdet_f1 = 0x2 <br /> sel_zdet_f2 = 0x2 <br /> sel_zdet_f3 = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_ODTCTRL(n) = 0x00000007<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x1 *read-only<br /> odten_f1 = 0x1 <br /> odten_f2 = 0x1 *read-only<br /> odten_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_WKPUPD(n) = 0x00000788<br /> idle_active_en_f0 = 0x0 *read-only<br /> idle_active_en_f1 = 0x0 *read-only<br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_DRIVE_STR(n) = 0x33831717<br /> dspd_f0 = 0x7 <br /> dspd_f1 = 0x7 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x3 <br /> dspu_f0 = 0x1 <br /> dspu_f1 = 0x1 <br /> dspu_f2 = 0x8 <br /> dspu_f3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_IMPCTL(n) = 0x00201c2b<br /> en160_tx_f0 = 0x0 <br /> en160_tx_f1 = 0x1 <br /> en160_tx_f2 = 0x0 <br /> en160_tx_f3 = 0x0 <br /> zcpd_ovrr = 0x1c *read-only<br /> zcpu_ovrr = 0x2b *read-only<br /> zcpu_pd_ovrr = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_IOCTL(n) = 0x715000a7<br /> en_pulse_tx_f0 = 0x1 <br /> en_pulse_tx_f1 = 0x1 <br /> en_pulse_tx_f2 = 0x1 <br /> en_pulse_tx_f3 = 0x0 <br /> isel_f0 = 0x1 <br /> isel_f1 = 0x1 <br /> isel_f2 = 0x1 <br /> isel_f3 = 0x0 <br /> sel_rx_ac_f0 = 0x0 <br /> sel_rx_ac_f1 = 0x0 <br /> sel_rx_ac_f2 = 0x0 <br /> sel_rx_ac_f3 = 0x0 <br /> sel_rx_dc_f0 = 0x1 <br /> sel_rx_dc_f1 = 0x1 <br /> sel_rx_dc_f2 = 0x1 <br /> sel_rx_dc_f3 = 0x0 <br /> tx_ac_f0 = 0x2 <br /> tx_ac_f1 = 0x2 <br /> tx_ac_f2 = 0x0 *read-only<br /> tx_ac_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_ODT(n) = 0x01c00333<br /> dspd_f0 = 0x3 <br /> dspd_f1 = 0x3 <br /> dspd_f2 = 0x3 <br /> dspd_f3 = 0x0 <br /> zcpd_ovrr = 0x0 *read-only<br /> zcpd_val = 0x1c *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_ZDET_BIASEN(n) = 0x00060028<br /> bias_ena_f0 = 0x0 <br /> bias_ena_f1 = 0x1 <br /> bias_ena_f2 = 0x1 <br /> bias_ena_f3 = 0x0 <br /> disable_zdet_f0 = 0x0 <br /> disable_zdet_f1 = 0x0 <br /> disable_zdet_f2 = 0x0 <br /> disable_zdet_f3 = 0x0 <br /> sel_zdet_f0 = 0x0 <br /> sel_zdet_f1 = 0x2 <br /> sel_zdet_f2 = 0x2 <br /> sel_zdet_f3 = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_ODTCTRL(n) = 0x00000000<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x0 <br /> odten_f1 = 0x0 <br /> odten_f2 = 0x0 <br /> odten_f3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_ODTCTRL(n) = 0x00000007<br /> dspu_f0 = 0x0 *read-only<br /> dspu_f1 = 0x0 *read-only<br /> dspu_f2 = 0x0 *read-only<br /> dspu_f3 = 0x0 *read-only<br /> odten_f0 = 0x1 *read-only<br /> odten_f1 = 0x1 <br /> odten_f2 = 0x1 *read-only<br /> odten_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DBG_DBG_REG0(n) = 0x00000000<br /> cb_bias_ena = 0x0 <br /> cb_odte = 0x0 *read-only<br /> clk_en_sync_flop_rst = 0x0 *read-only<br /> mon_vdd_mem = 0x0 *read-only<br /> mon_vdd_soc = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_ZC_ZCAL_FSM1(n) = 0x00667f7f<br /> bias_ena_dly = 0x66 <br /> io_pd = 0x7f *read-only<br /> io_pu = 0x7f *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_ZC_ZCAL_FSM0(n) = 0x000f0315<br /> zc_dly = 0x15 <br /> zc_dnbd = 0x0 <br /> zc_tap = 0x3 <br /> zc_upbd = 0xf <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DEBUG_SPARE0(n) = 0x0000000e<br /> control = 0xe <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Assert init_done </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscagen_ampinit(n) = 0x00000001<br /> InitDone = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Assert init_done </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqgen_ampinit(n) = 0x00000001<br /> InitDone = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>3. Self-Refresh Exit</h4>
|
||
|
<p>Prior to this step, the DRAM is assumed to be in the self-refresh state, and CKE has been kept low, either by retention circuitry in the PHY/IO, or, after SOC power is up and the reset is done, by the controller. This step will take DRAM out of the self-refresh mode. Software must guarantee that at least 50 us have passed since the de- assertion of AMC reset before self-refresh exit, in the resume-boot case.
|
||
|
The frequency change to 50MHz here is initiated by PMGR.
|
||
|
For ResumeBoot, the auto-refresh must be enabled before exiting self-refresh state.<br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 5us after Impedance Calibration in Step2. This is to avoid McPhyPending preventing the SRFSM from exiting SR. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > radar #8707478 has been fixed. SetSRExitRefCnt to 2. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefparam(n) = 0x08010019<br /> FreqChngWaitThr = 0x1 <br /> PhyUpdWaitRefresh = 0x1 <br /> PhyUpdWaitThr = 0x1 *read-only<br /> PhyUpdWaittXSR = 0x0 <br /> RefAssertCnt = 0x8 <br /> SRExitRefCnt = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq3(n) = 0x24480050<br /> tRFCBaseCyc_freq3 = 0x50 <br /> tRFCCyc_freq3 = 0x48 <br /> tRFCpbCyc_freq3 = 0x24 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq3(n) = 0x01010001<br /> tRFCBaseCyc_freq3 = 0x1 <br /> tRFCCyc_freq3 = 0x1 <br /> tRFCpbCyc_freq3 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq3(n) = 0x03050005<br /> tRFCBaseCyc_freq3 = 0x5 <br /> tRFCCyc_freq3 = 0x5 <br /> tRFCpbCyc_freq3 = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq2(n) = 0x24480050<br /> tRFCBaseCyc_freq2 = 0x50 <br /> tRFCCyc_freq2 = 0x48 <br /> tRFCpbCyc_freq2 = 0x24 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq2(n) = 0x01010001<br /> tRFCBaseCyc_freq2 = 0x1 <br /> tRFCCyc_freq2 = 0x1 <br /> tRFCpbCyc_freq2 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq2(n) = 0x09120013<br /> tRFCBaseCyc_freq2 = 0x13 <br /> tRFCCyc_freq2 = 0x12 <br /> tRFCpbCyc_freq2 = 0x9 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > **IMPORTANT** : For power saving on SOC's using Samsung and Hynix DRAM's, it's mandatory to set autoref_freq1 to 0x1C480049. For SOC's using Micron DRAM, autoref_freq1 should be set to 0x20480049. </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq1(n) = 0x01010001<br /> tRFCBaseCyc_freq1 = 0x1 <br /> tRFCCyc_freq1 = 0x1 <br /> tRFCpbCyc_freq1 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq1(n) = 0x24480049<br /> tRFCBaseCyc_freq1 = 0x49 <br /> tRFCCyc_freq1 = 0x48 <br /> tRFCpbCyc_freq1 = 0x24 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq0(n) = 0x24480050<br /> tRFCBaseCyc_freq0 = 0x50 <br /> tRFCCyc_freq0 = 0x48 <br /> tRFCpbCyc_freq0 = 0x24 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq0(n) = 0x01010001<br /> tRFCBaseCyc_freq0 = 0x1 <br /> tRFCCyc_freq0 = 0x1 <br /> tRFCpbCyc_freq0 = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_freq0(n) = 0x366c006e<br /> tRFCBaseCyc_freq0 = 0x6e <br /> tRFCCyc_freq0 = 0x6c <br /> tRFCpbCyc_freq0 = 0x36 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_params(n) = 0x0017005d<br /> tREFBWtRFCcnt = 0x17 <br /> tREFICyc = 0x5d <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_params(n) = 0x00170013<br /> tREFBWtRFCcnt = 0x17 <br /> tREFICyc = 0x13 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramtim_autoref_params(n) = 0x0017005d<br /> tREFBWtRFCcnt = 0x17 <br /> tREFICyc = 0x5d <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable auto refresh derating by setting TempDrtEn to 1. However, we do not enable ODTS interval until the end of the init. Setting TempDrtEn to 1 allows the chip to be in the hi-temp state and become more conservative. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_odtszqc(n) = 0x00000000<br /> DerateParamSRExit = 0x0 <br /> OdtsRdIntrvl = 0x0 <br /> SRExitZQCChnlQuiet = 0x0 *read-only<br /> ShareZQRes = 0x0 *read-only<br /> TempDrtEn = 0x0 <br /> ZQCChnlQuiet = 0x0 *read-only<br /> ZQCStack = 0x0 *read-only<br /> ZqCalIntrvl = 0x0 *read-only<br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_odtszqc(n) = 0x00001000<br /> DerateParamSRExit = 0x0 <br /> OdtsRdIntrvl = 0x0 <br /> SRExitZQCChnlQuiet = 0x0 *read-only<br /> ShareZQRes = 0x0 *read-only<br /> TempDrtEn = 0x1 <br /> ZQCChnlQuiet = 0x0 *read-only<br /> ZQCStack = 0x0 *read-only<br /> ZqCalIntrvl = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > set SRExtraRefCnt to correct value (which is 1) and set LongSRCnt to be tREFW/4 (32ms/4=8ms) <br /> If RefCntrHiWaterMark is changed from its default value, then LongSRExitRefCnt needs to be programmed to the same value.<br /> Palladium: LongSRCnt=0x1004 because Palladium uses 1Gb device. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_longsr(n) = 0x01012008<br /> LongSRCnt = 0x2008 <br /> LongSRExitRefCnt = 0x1 <br /> SRExtraRefCnt = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_mcphyupdtparam(n) = 0x15030007<br /> FreqCSettleCyc = 0x5 *read-only<br /> McPhyTimeParamCyc = 0x3 <br /> PhyInitStartCyc = 0x0 <br /> PhyUpdMDLL = 0x1 <br /> UpdPhyLatCyc = 0x0 *read-only<br /> tPhyUpdGap = 0x7 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Call custom API provided by PMGR for changing mcu_clk to 55Mhz and mcu_fixed_clk to Mhz<br /> // TO BE COMPLETED<br /><br /><b>FPGA:</b> Skip this step<br /><br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 5us to avoid a race condition between frequency change to bucket 3 & MCU being enabled </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn on enables for various AMC blocks MCU. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_amcgen_amcctrl(n) = 0x00000003<br /> McuEn = 0x1 <br /> SchEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Run impedance calibration and optionally enable periodic auto impedance calibration<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaiocfg_impcalcmd(n) = 0x00000001<br /> RunImpCal = 0x0 *read-only<br /> RunImpCalType = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll ampscaiocfg impcalcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: ampscaiocfg_impcalcmd<br />
|
||
|
RunImpCal<br />
|
||
|
while((CSR(ampsca_ampscaiocfg_impcalcmd(n)) & 0x1) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq3(n) = 0x11100000<br /> ARpbEn_freq3 = 0x0 <br /> HiTempRefRnkAgeOut_freq3 = 0x1 <br /> RefCntrHiWaterMark_freq3 = 0x1 <br /> RefCntrLoWaterMark_freq3 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq2(n) = 0x11000000<br /> ARpbEn_freq2 = 0x0 <br /> HiTempRefRnkAgeOut_freq2 = 0x0 <br /> RefCntrHiWaterMark_freq2 = 0x1 <br /> RefCntrLoWaterMark_freq2 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq1(n) = 0x11110000<br /> ARpbEn_freq1 = 0x1 *read-only<br /> HiTempRefRnkAgeOut_freq1 = 0x1 <br /> RefCntrHiWaterMark_freq1 = 0x1 <br /> RefCntrLoWaterMark_freq1 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn on auto refresh. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq0(n) = 0x1111013f<br /> ARpbEn_freq0 = 0x1 <br /> AutoRefEn = 0x1 <br /> AutoRefSchEn = 0x1 <br /> DisableHiTempREFab = 0x1 <br /> EarlyCasAgeOut = 0x0 <br /> HiPriREFpbPch = 0x1 <br /> HiTempRefRnkAgeOut_freq0 = 0x1 <br /> REFpb2bank = 0x0 <br /> REFpbEarlyPch = 0x1 <br /> RefCntrHiWaterMark_freq0 = 0x1 <br /> RefCntrLoWaterMark_freq0 = 0x1 <br /> RefOpptEn = 0x1 <br /> tREFBWREFpb = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 200us for tINIT1 in real init, which we have cooked down to 200ns for simulation. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 2 ms for tINIT3 in real init, which we have cooked down to 200ns for simulation. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00010000<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x0 *read-only<br /> freqchngmrwcnt_freq1 = 0x0 *read-only<br /> freqchngmrwcnt_freq2 = 0x0 *read-only<br /> freqchngmrwcnt_freq3 = 0x0 *read-only<br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcfg freqchngctl </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcfg_freqchngctl<br />
|
||
|
freqchngrunsocupd<br />
|
||
|
while((CSR(amcx_dramcfg_freqchngctl(n)) & 0x10000) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00000000<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x0 *read-only<br /> freqchngmrwcnt_freq1 = 0x0 *read-only<br /> freqchngmrwcnt_freq2 = 0x0 *read-only<br /> freqchngmrwcnt_freq3 = 0x0 *read-only<br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 2us for the soc update to finish </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Assert MPC to Sending SR Exit during Resume Boot </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x00004000<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Issue self-refresh exit command. One for each channel.<br /> SW needs to guarantee that at least 50usec has passed since removal of reset to AMC before issuing the self-refresh exit command, in case of resume boot. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x00004001<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunSRExit<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x1) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Assert MPC to Sending SR Exit during Resume Boot </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x00000000<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Issue self-refresh exit command. One for each channel.<br /> SW needs to guarantee that at least 50usec has passed since removal of reset to AMC before issuing the self-refresh exit command, in case of resume boot. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x00000001<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunSRExit<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x1) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 2 us for tINIT5 in real init, which we have cooked down to 200ns for simulation. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_ChEn = 0x0000000f<br /> ChEn = 0xf <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4> 4. DRAM Reset, ZQ Calibration & Configuration (Cold Boot Only).</h4>
|
||
|
<p> This step is only required for ColdBoot.
|
||
|
This step is to be repeated for each of the number of ranks per channel. The dramcmd.mrcmdch{N}.MRCmdCsCh{N} bit (Noted by letter R in the section) should be incremented in each loop.<br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Issue DRAM ZQ calibration START MPC command MRINIT CMD registers.<br /> Note that the MPC command can be issued to different channels independently, as long as the system has separate ZQ reference resistor for eachchannel. TheZQcalibration MPC to each rank within the same channel must be issued in series. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x4f004100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 1us for tZQCAL. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Issue DRAM ZQ calibration LATCH MPC command MRINIT CMD registers </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x51004100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 20ns for tZQLAT. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM MR2 register (latency) through MRR/MRW command registers. The example shows the nominal programming for LPDDR2-1066 devices based on the JEDEC specifications. See Section 3.2.2.3 for values for other devices. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x00020100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM MR1 register through MRR/MRW command registers.<br /> This includes the following: WC=Wrap BT=Sequential BL=BL16.<br /> nWR, the example shows the nominal programming for LPDDR3- 1600 devices based on the JEDEC specifications. See Section 3.2.2.3 for values for other devices. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x8e010100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0xf3030100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x00160100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x000b0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program MR11 for FPGA<br /><br /> <b>FPGA</b>: Perform this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x000b0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Perform this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program VRCG and Modified Refresh to 1 </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x180d0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x590c0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x590e0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x80170100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program MR15/20 to match PatInvertMask of HW RdDQ calibration </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x550f4100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program MR15/20 to match PatInvertMask of HW RdDQ calibration </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x55144100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program MR32/40 to match the PatPRBS4 pattern for HW RdDQ calibration </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x26204100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program MR32/40 to match the PatPRBS4 pattern for HW RdDQ calibration </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x5e284100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></table>
|
||
|
<h4>5. Topology-specific configuration.</h4>
|
||
|
<p>Here we perform MRR's to the memory to find out device density and program addrcfg, DramAccCtrl and mccchnldec registers<br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == ONE_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_addrcfg = 0x01030201<br /> BnkAddrWid = 0x1 <br /> ColAddrWid = 0x2 <br /> CsWid = 0x1 <br /> RowAddrWid = 0x3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == TWO_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_addrcfg = 0x01030201<br /> BnkAddrWid = 0x1 <br /> ColAddrWid = 0x2 <br /> CsWid = 0x1 <br /> RowAddrWid = 0x3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FOUR_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_addrcfg = 0x01030201<br /> BnkAddrWid = 0x1 <br /> ColAddrWid = 0x2 <br /> CsWid = 0x1 <br /> RowAddrWid = 0x3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_addrcfg = 0x00030201<br /> BnkAddrWid = 0x1 <br /> ColAddrWid = 0x2 <br /> CsWid = 0x0 <br /> RowAddrWid = 0x3 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA_LPDDR3)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x00000007<br /> DramSize = 0x7 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == ONE_CH_ONE_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x00000003<br /> DramSize = 0x3 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == ONE_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x00000007<br /> DramSize = 0x7 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FOUR_CH_ONE_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x0000000f<br /> DramSize = 0xf <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == TWO_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x0000000f<br /> DramSize = 0xf <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x0000000f<br /> DramSize = 0xf <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FOUR_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x0000001f<br /> DramSize = 0x1f <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == TWO_CH_ONE_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x00000007<br /> DramSize = 0x7 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_DramAccCtrl = 0x0000000f<br /> DramSize = 0xf <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > dram_Density_config(); </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == ONE_CH_ONE_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00050201<br /> ChSelHiBits = 0x5 <br /> ChSelTyp = 0x1 <br /> ChnlStartBit = 0x2 <br /> NumMcuChnl = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == ONE_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00060201<br /> ChSelHiBits = 0x6 <br /> ChSelTyp = 0x1 <br /> ChnlStartBit = 0x2 <br /> NumMcuChnl = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == TWO_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00060210<br /> ChSelHiBits = 0x6 <br /> ChSelTyp = 0x0 <br /> ChnlStartBit = 0x2 <br /> NumMcuChnl = 0x1 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FOUR_CH_TWO_RANK)</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00060220<br /> ChSelHiBits = 0x6 <br /> ChSelTyp = 0x0 <br /> ChnlStartBit = 0x2 <br /> NumMcuChnl = 0x2 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcc_MccLockRegion_mccchnldec = 0x00050220<br /> ChSelHiBits = 0x5 <br /> ChSelTyp = 0x0 <br /> ChnlStartBit = 0x2 <br /> NumMcuChnl = 0x2 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>6. Prepare for switch from boot-clock speed to normal operation speed</h4>
|
||
|
<p>The frequency change is initiated by PMGR.<br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 5us before issuing a freq change to make sure all refreshes have been flushed. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable AMC scheduler to allow normal transactions to be processed. <br /> Scheduler has to be enabled to let AMC issue self-refresh entry and allow frequency change. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_amcgen_amcctrl(n) = 0x00000003<br /> McuEn = 0x1 <br /> SchEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>7. Setup registers for CA calibration for bucket 1</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program FSP-WR to 1, and set VRCG and modified refresh<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x580d0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM MR2 register (latency) through MRR/MRW command registers. The example shows the nominal programming for LPDDR2-1066 devices based on the JEDEC specifications. See Section 3.2.2.3 for values for other devices.<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x52020100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM MR1 register through MRR/MRW command registers.<br /> This includes the following: WC=Wrap BT=Sequential BL=BL16.<br /> nWR, the example shows the nominal programming for LPDDR3- 1600 devices based on the JEDEC specifications. See Section 3.2.2.3 for values for other devices.<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0xae010100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0xf3030100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x04160100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x030b0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x110c0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x110e0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscawrlvl_ampcawrlvlsdllcode(n) = 0x00000200<br /> WrLvlMaxWrDqsSDLLCode = 0x0 <br /> WrLvlRunUpdOverride = 0x0 *read-only<br /> WrLvlRunUpdWrResult = 0x0 *read-only<br /> WrLvlSDLLCode = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll ampscawrlvl ampcawrlvlsdllcode<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: ampscawrlvl_ampcawrlvlsdllcode<br />
|
||
|
WrLvlRunUpdWrResult<br />
|
||
|
while((CSR(ampsca_ampscawrlvl_ampcawrlvlsdllcode(n)) & 0x200) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></table>
|
||
|
<h4>8. AMP Dynamic Address Timing Calibration</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step8Calibration(0, LPDDR3, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, CA_CALIB, 0, 0, 0, 0, 0, 0, 1, 16, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL Init and Incr lock timers based on 24 MHz value<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_dlllocktim(n) = 0x00130013<br /> DllIncLockTim = 0x13 <br /> DllInitLockTim = 0x13 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL Init and Incr lock timers based on 24 MHz value<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dlllocktim(n) = 0x00130013<br /> DllIncLockTim = 0x13 <br /> DllInitLockTim = 0x13 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Disable AMP Clock Gating for RunDllUpdt to go through<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscagen_ampclk(n) = 0x00100001<br /> FMClkIdleDetectEn = 0x0 *read-only<br /> ForceDRAMClkEn = 0x0 *read-only<br /> ForceDiv2MClkTopGaterOn = 0x1 <br /> ForceFMClkWakeUp = 0x0 *read-only<br /> ForceMClkWakeUp = 0x0 *read-only<br /> TopClkGateDis = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Defer SDLL update until frequency change<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscasdllctrl_SDLLUpdateDeferEn(n) = 0x00000001<br /> DeferEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Defer SDLL update until frequency change<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_SDLLUpdateDeferEn(n) = 0x00000001<br /> DeferEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Set MDLL override to 0<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_MDLLOverride(n) = 0x00010000<br /> MDLLOvrCode = 0x0 <br /> MDLLOvrSel = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Run MDLL update<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dllupdtcmd(n) = 0x00000001<br /> RunDllUpdt = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll ampsdqdllctl dllupdtcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: ampsdqdllctl_dllupdtcmd<br />
|
||
|
RunDllUpdt<br />
|
||
|
while((CSR(ampsdq_ampsdqdllctl_dllupdtcmd(n)) & 0x1) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable back AMP Clock Gating for RunDllUpdt to go through<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscagen_ampclk(n) = 0x00000000<br /> FMClkIdleDetectEn = 0x0 *read-only<br /> ForceDRAMClkEn = 0x0 *read-only<br /> ForceDiv2MClkTopGaterOn = 0x0 <br /> ForceFMClkWakeUp = 0x0 *read-only<br /> ForceMClkWakeUp = 0x0 *read-only<br /> TopClkGateDis = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL Init and Incr lock timers based on 24 MHz value<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscadllctl_dlllocktim(n) = 0x012c012c<br /> DllIncLockTim = 0x12c <br /> DllInitLockTim = 0x12c <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program DLL Init and Incr lock timers based on 24 MHz value<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_dlllocktim(n) = 0x012c012c<br /> DllIncLockTim = 0x12c <br /> DllInitLockTim = 0x12c <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > RdWrDqCalSegLen_f0<br /><br /> <b>PALLADIUM</b>: Skip this step <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdWrDqCalSegLen_f0(n) = 0x00010002<br /> tRdDqCalSegLen = 0x2 <br /> tWrDqCalSegLen = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > RdWrDqCalSegLen_f1<br /><br /> <b>PALLADIUM</b>: Skip this step <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_RdWrDqCalSegLen_f1(n) = 0x00010002<br /> tRdDqCalSegLen = 0x2 <br /> tWrDqCalSegLen = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl1_freq0(n) = 0x110c110e<br /> freqchngmrw2_addr_freq0 = 0xe <br /> freqchngmrw2_ctrl_freq0 = 0x0 <br /> freqchngmrw2_data_freq0 = 0x11 <br /> freqchngmrw3_addr_freq0 = 0xc <br /> freqchngmrw3_ctrl_freq0 = 0x0 <br /> freqchngmrw3_data_freq0 = 0x11 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl1_freq1(n) = 0x110c110e<br /> freqchngmrw2_addr_freq1 = 0xe <br /> freqchngmrw2_ctrl_freq1 = 0x0 <br /> freqchngmrw2_data_freq1 = 0x11 <br /> freqchngmrw3_addr_freq1 = 0xc <br /> freqchngmrw3_ctrl_freq1 = 0x0 <br /> freqchngmrw3_data_freq1 = 0x11 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > HWRdWrDqCalFullScanEnable<br /><br /> <b>PALLADIUM</b>: Skip this step <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_HWRdWrDqCalFullScanEnable(n) = 0x00000003<br /> HWRdDqCalFullScanEnable = 0x1 <br /> HWWrDqCalFullScanEnable = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></table>
|
||
|
<h4>9. Setup registers for DQ calibration for bucket 1</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program FSP-WR and FSP-OP to 1 and set VRCG and modified refresh<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0xd80d0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 1us for FSP setting to take affect. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program AutoSR<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_pwrmngten(n) = 0x00000002<br /> AutoSR = 0x1 <br /> DynPwrDnEn = 0x0 *read-only<br /> McPhyUpdDramClkOff = 0x0 *read-only<br /> PwrDnClkOff = 0x0 *read-only<br /> SRClkOff = 0x0 *read-only<br /> SRExitOpt = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program FreqChngMRW Cnt<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00009999<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x9 <br /> freqchngmrwcnt_freq1 = 0x9 <br /> freqchngmrwcnt_freq2 = 0x9 <br /> freqchngmrwcnt_freq3 = 0x9 <br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > WrDqDqsSDLLCtrl<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_WrDqDqsSDLLCtrl(n) = 0xff00000c<br /> WrDqDqsRunSDLLUpd = 0x0 *read-only<br /> WrDqDqsRunSDLLUpdOverride = 0x0 *read-only<br /> WrDqDqsRunSDLLUpdWrResult = 0x0 *read-only<br /> WrDqDqsWrLvlReBalanceEn = 0x1 <br /> WrDqSDLLAddHalfClk_f0 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f1 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f2 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f3 = 0x0 *read-only<br /> WrDqSDLLHalfClkEn = 0x0 *read-only<br /> WrDqSDLLOvrVal = 0x0 <br /> WrDqsSDLLOvrVal = 0xff <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Re-enable SDLL updates<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscasdllctrl_SDLLUpdateDeferEn(n) = 0x00000000<br /> DeferEn = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Re-enable SDLL updates<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_SDLLUpdateDeferEn(n) = 0x00000000<br /> DeferEn = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Disable MDLL override<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqdllctl_MDLLOverride(n) = 0x00000000<br /> MDLLOvrCode = 0x0 <br /> MDLLOvrSel = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">Yes</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Call custom API provided by PMGR for changing mcu_clk to 800Mhz and mcu_fixed_clk to Mhz<br /> // TO BE COMPLETED<br /><br /><b>FPGA:</b> Skip this step<br /><br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00010000<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x0 <br /> freqchngmrwcnt_freq1 = 0x0 <br /> freqchngmrwcnt_freq2 = 0x0 <br /> freqchngmrwcnt_freq3 = 0x0 <br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcfg freqchngctl<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcfg_freqchngctl<br />
|
||
|
freqchngrunsocupd<br />
|
||
|
while((CSR(amcx_dramcfg_freqchngctl(n)) & 0x10000) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00000000<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x0 <br /> freqchngmrwcnt_freq1 = 0x0 <br /> freqchngmrwcnt_freq2 = 0x0 <br /> freqchngmrwcnt_freq3 = 0x0 <br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 2us for the soc update to finish </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>10. AMP Dynamic DQ Calibration</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step10Calibration(0, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, WRLVL, 0, 0, 0, 0, 1, 16, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_WKPUPD(n) = 0x00030788<br /> idle_active_en_f0 = 0x1 <br /> idle_active_en_f1 = 0x1 <br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_WKPUPD(n) = 0x00030788<br /> idle_active_en_f0 = 0x1 <br /> idle_active_en_f1 = 0x1 <br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step10Calibration(0, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, RD_DQ_CAL, 0, 0, 0, 0, 1, 16, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step10Calibration(0, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, WR_DQ_CAL, 0, 0, 0, 0, 1, 16, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > The scale factors for Bin0 and Bin1 WR DQS/DQ skew have to to programmed to the correct values based on board charaterization. Fields are being set to 0 here, since exact board skews are not available now (04/01/14).<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_WrtDQSDQSkewControl(n) = 0x06000000<br /> WrDqDqsIDTVTScaleEn = 0x1 *read-only<br /> WrDqDqsMDLLVTScaleEn = 0x1 *read-only<br /> WrtDQSDQScaleFactorF0 = 0x0 <br /> WrtDQSDQScaleFactorF1 = 0x0 <br /> WrtDQSDQScaleFactorPlusSel = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>11. Setup registers for CA calibration for bucket 0</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_WKPUPD(n) = 0x00000788<br /> idle_active_en_f0 = 0x0 <br /> idle_active_en_f1 = 0x0 <br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_WKPUPD(n) = 0x00000788<br /> idle_active_en_f0 = 0x0 <br /> idle_active_en_f1 = 0x0 <br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program FSP-WR to 0 and FSP-OP to 1 and set VRCG and modified refresh<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x980d0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM MR2 register (latency) through MRR/MRW command registers. The example shows the nominal programming for LPDDR2-1066 devices based on the JEDEC specifications. See Section 3.2.2.3 for values for other devices.<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x24020100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure DRAM MR1 register through MRR/MRW command registers.<br /> This includes the following: WC=Wrap BT=Sequential BL=BL16.<br /> nWR, the example shows the nominal programming for LPDDR3- 1600 devices based on the JEDEC specifications. See Section 3.2.2.3 for values for other devices.<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0xce010100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0xb3030100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x04160100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x440b0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x110c0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x110e0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></table>
|
||
|
<h4>12. AMP Dynamic Address Timing Calibration</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step12Calibration(0, LPDDR3, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, CA_CALIB, 0, 0, 0, 0, 0, 0, 0, 24, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>13. Setup registers for DQ calibration for bucket 0</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program FSP-WR and FSP-OP to 0 and set VRCG and modified refresh<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x180d0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 1us for FSP setting to take affect. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Call custom API provided by PMGR for changing mcu_clk to 1200Mhz and mcu_fixed_clk to Mhz<br /> // TO BE COMPLETED<br /><br /><b>FPGA:</b> Skip this step<br /><br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00010000<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x0 <br /> freqchngmrwcnt_freq1 = 0x0 <br /> freqchngmrwcnt_freq2 = 0x0 <br /> freqchngmrwcnt_freq3 = 0x0 <br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcfg freqchngctl<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcfg_freqchngctl<br />
|
||
|
freqchngrunsocupd<br />
|
||
|
while((CSR(amcx_dramcfg_freqchngctl(n)) & 0x10000) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00000000<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x0 <br /> freqchngmrwcnt_freq1 = 0x0 <br /> freqchngmrwcnt_freq2 = 0x0 <br /> freqchngmrwcnt_freq3 = 0x0 <br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 2us for the soc update to finish </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>14. AMP Dynamic DQ Calibration</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step14Calibration(0, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, WRLVL, 0, 0, 0, 0, 0, 24, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_WKPUPD(n) = 0x00030788<br /> idle_active_en_f0 = 0x1 <br /> idle_active_en_f1 = 0x1 <br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_WKPUPD(n) = 0x00030788<br /> idle_active_en_f0 = 0x1 <br /> idle_active_en_f1 = 0x1 <br /> idle_active_en_f2 = 0x0 *read-only<br /> idle_active_en_f3 = 0x0 *read-only<br /> pdpwk_f0 = 0x0 *read-only<br /> pdpwk_f1 = 0x1 <br /> pdpwk_f2 = 0x0 *read-only<br /> pdpwk_f3 = 0x1 *read-only<br /> pupwk_f0 = 0x0 *read-only<br /> pupwk_f1 = 0x0 *read-only<br /> pupwk_f2 = 0x0 *read-only<br /> pupwk_f3 = 0x0 *read-only<br /> wkds = 0x7 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step14Calibration(0, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, RD_DQ_CAL, 0, 0, 0, 0, 0, 24, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > step14Calibration(0, resume_boot, AMC_NUM_CHANS, AMC_NUM_RANKS, WR_DQ_CAL, 0, 0, 0, 0, 0, 24, 12);<br /> </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>15. Setup registers for boot.</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program FSP-WR to 1 and FSP-OP to 0 and reset VRCG, since all calibrations are done <rdar://problem/16695199> </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x500d0100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Wait 1us for FSP setting to take affect. </td>
|
||
|
<td><table class="platform">
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program FreqChngMRW Cnt </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_freqchngctl(n) = 0x00009999<br /> freqchngfspop = 0x0 *read-only<br /> freqchngmrwcnt_freq0 = 0x9 <br /> freqchngmrwcnt_freq1 = 0x9 <br /> freqchngmrwcnt_freq2 = 0x9 <br /> freqchngmrwcnt_freq3 = 0x9 <br /> freqchngrunsocupd = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_WrDqDqsSDLLCtrl(n) = 0xff000008<br /> WrDqDqsRunSDLLUpd = 0x0 *read-only<br /> WrDqDqsRunSDLLUpdOverride = 0x0 *read-only<br /> WrDqDqsRunSDLLUpdWrResult = 0x0 *read-only<br /> WrDqDqsWrLvlReBalanceEn = 0x1 <br /> WrDqSDLLAddHalfClk_f0 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f1 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f2 = 0x0 *read-only<br /> WrDqSDLLAddHalfClk_f3 = 0x0 *read-only<br /> WrDqSDLLHalfClkEn = 0x0 *read-only<br /> WrDqSDLLOvrVal = 0x0 <br /> WrDqsSDLLOvrVal = 0xff <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>DO_CALIBRATION</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqsdllctrl_rd0sdllctrl(n) = 0x001a0004<br /> Rd0RunSDLLUpd = 0x0 *read-only<br /> Rd0RunSDLLUpdOverride = 0x0 *read-only<br /> Rd0RunSDLLUpdWrResult = 0x0 *read-only<br /> Rd0SDLLOvrVal = 0x1a <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll ampsdqsdllctrl rd0sdllctrl<br /><br /> <b>DO_CALIBRATION</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: ampsdqsdllctrl_rd0sdllctrl<br />
|
||
|
Rd0RunSDLLUpdWrResult<br />
|
||
|
while((CSR(ampsdq_ampsdqsdllctrl_rd0sdllctrl(n)) & 0x4) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>PALLADIUM</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_HWRdWrDqCalFullScanEnable(n) = 0x00000000<br /> HWRdDqCalFullScanEnable = 0x0 <br /> HWWrDqCalFullScanEnable = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > <br /><br /> <b>PALLADIUM</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscaRdWrDqCal_HWRdWrDqCalFullScanEnable(n) = 0x00000003<br /> HWRdDqCalFullScanEnable = 0x1 <br /> HWWrDqCalFullScanEnable = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>16. Enable other features</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn on the freq change waiting for refresh and self-refresh exit feature </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefparam(n) = 0x08010019<br /> FreqChngWaitThr = 0x1 *read-only<br /> PhyUpdWaitRefresh = 0x1 <br /> PhyUpdWaitThr = 0x1 *read-only<br /> PhyUpdWaittXSR = 0x0 <br /> RefAssertCnt = 0x8 <br /> SRExitRefCnt = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable periodic ZQC. (Optional) <br /> Note the ZqCalIntrvl setting shown here is based on tREFI=3.9us and the target interval is ~128ms (max supported value). The actual setting may vary depending on the DRAM and the system. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_odtszqc(n) = 0xc0000000<br /> DerateParamSRExit = 0x0 <br /> OdtsRdIntrvl = 0x0 <br /> SRExitZQCChnlQuiet = 0x1 <br /> ShareZQRes = 0x0 <br /> TempDrtEn = 0x0 <br /> ZQCChnlQuiet = 0x0 *read-only<br /> ZQCStack = 0x1 <br /> ZqCalIntrvl = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_odtszqc(n) = 0xc0001000<br /> DerateParamSRExit = 0x0 <br /> OdtsRdIntrvl = 0x0 <br /> SRExitZQCChnlQuiet = 0x1 <br /> ShareZQRes = 0x0 <br /> TempDrtEn = 0x1 <br /> ZQCChnlQuiet = 0x0 *read-only<br /> ZQCStack = 0x1 <br /> ZqCalIntrvl = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn on the QBR enables. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_mcusch_qbren(n) = 0x0000000d<br /> ErlyQbrEn = 0x1 <br /> LateQbrEn = 0x1 <br /> MifQbrEn = 0x1 <br /> PredictiveM2AReq = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq3(n) = 0x11100000<br /> ARpbEn_freq3 = 0x0 <br /> HiTempRefRnkAgeOut_freq3 = 0x1 <br /> RefCntrHiWaterMark_freq3 = 0x1 <br /> RefCntrLoWaterMark_freq3 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq2(n) = 0x11000000<br /> ARpbEn_freq2 = 0x0 <br /> HiTempRefRnkAgeOut_freq2 = 0x0 <br /> RefCntrHiWaterMark_freq2 = 0x1 <br /> RefCntrLoWaterMark_freq2 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq1(n) = 0x11110000<br /> ARpbEn_freq1 = 0x1 <br /> HiTempRefRnkAgeOut_freq1 = 0x1 <br /> RefCntrHiWaterMark_freq1 = 0x1 <br /> RefCntrLoWaterMark_freq1 = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn on auto refresh. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_arefen_freq0(n) = 0x1111013f<br /> ARpbEn_freq0 = 0x1 <br /> AutoRefEn = 0x1 <br /> AutoRefSchEn = 0x1 <br /> DisableHiTempREFab = 0x1 <br /> EarlyCasAgeOut = 0x0 <br /> HiPriREFpbPch = 0x1 <br /> HiTempRefRnkAgeOut_freq0 = 0x1 <br /> REFpb2bank = 0x0 <br /> REFpbEarlyPch = 0x1 <br /> RefCntrHiWaterMark_freq0 = 0x1 <br /> RefCntrLoWaterMark_freq0 = 0x1 <br /> RefOpptEn = 0x1 <br /> tREFBWREFpb = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B0_DYN_ISEL_ASRTIME(n) = 0x00001117<br /> rcvr_minisel_assrttime_f0 = 0x17 <br /> rcvr_minisel_assrttime_f1 = 0x11 <br /> rcvr_minisel_assrttime_f2 = 0x0 *read-only<br /> rcvr_minisel_assrttime_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B0_DYN_ISEL(n) = 0x00000003<br /> dyn_isel_ctrl_en_f0 = 0x1 <br /> dyn_isel_ctrl_en_f1 = 0x1 <br /> dyn_isel_ctrl_en_f2 = 0x0 *read-only<br /> dyn_isel_ctrl_en_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_B1_DYN_ISEL(n) = 0x00000003<br /> dyn_isel_ctrl_en_f0 = 0x1 <br /> dyn_isel_ctrl_en_f1 = 0x1 <br /> dyn_isel_ctrl_en_f2 = 0x0 *read-only<br /> dyn_isel_ctrl_en_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS0_DCD_IOCTL(n) = 0x00030000<br /> dcdi = 0x0 *read-only<br /> dcdo = 0x0 *read-only<br /> dyn_isel_ctrl_en_f0 = 0x1 <br /> dyn_isel_ctrl_en_f1 = 0x1 <br /> dyn_isel_ctrl_en_f2 = 0x0 *read-only<br /> dyn_isel_ctrl_en_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amph_CFGH_DQS1_DCD_IOCTL(n) = 0x00030000<br /> dcdi = 0x0 *read-only<br /> dcdo = 0x0 *read-only<br /> dyn_isel_ctrl_en_f0 = 0x1 <br /> dyn_isel_ctrl_en_f1 = 0x1 <br /> dyn_isel_ctrl_en_f2 = 0x0 *read-only<br /> dyn_isel_ctrl_en_f3 = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>17. Enable the Fast Critical Word Forwarding feature (optional)</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Configure the MIF FCWF pull- in cycles. <br /> (Here we just use 0x8 as an example, please refer to register description for the valid programming range and refer to performance simulation results) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_mcusch_qbrparam(n) = 0x61616161<br /> RdCwfEarlyCyc_freq0 = 0x1 <br /> RdCwfEarlyCyc_freq1 = 0x1 <br /> RdCwfEarlyCyc_freq2 = 0x1 <br /> RdCwfEarlyCyc_freq3 = 0x1 <br /> RdRemEarlyCyc_freq0 = 0x6 <br /> RdRemEarlyCyc_freq1 = 0x6 <br /> RdRemEarlyCyc_freq2 = 0x6 <br /> RdRemEarlyCyc_freq3 = 0x6 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_mcusch_qbrparam(n) = 0x00006100<br /> RdCwfEarlyCyc_freq0 = 0x0 <br /> RdCwfEarlyCyc_freq1 = 0x1 <br /> RdCwfEarlyCyc_freq2 = 0x0 <br /> RdCwfEarlyCyc_freq3 = 0x0 <br /> RdRemEarlyCyc_freq0 = 0x0 <br /> RdRemEarlyCyc_freq1 = 0x6 <br /> RdRemEarlyCyc_freq2 = 0x0 <br /> RdRemEarlyCyc_freq3 = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_mcusch_qbrparam(n) = 0x000061a5<br /> RdCwfEarlyCyc_freq0 = 0x5 <br /> RdCwfEarlyCyc_freq1 = 0x1 <br /> RdCwfEarlyCyc_freq2 = 0x0 <br /> RdCwfEarlyCyc_freq3 = 0x0 <br /> RdRemEarlyCyc_freq0 = 0xa <br /> RdRemEarlyCyc_freq1 = 0x6 <br /> RdRemEarlyCyc_freq2 = 0x0 <br /> RdRemEarlyCyc_freq3 = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn on the PredictiveM2AReq feature in MIF. (The other Qbr enables are turned on here, but not related to CWF feature) </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == PALLADIUM)</td></tr>
|
||
|
<tr><td class="programming"> amcx_mcusch_qbren(n) = 0x0000000d<br /> ErlyQbrEn = 0x1 <br /> LateQbrEn = 0x1 <br /> MifQbrEn = 0x1 <br /> PredictiveM2AReq = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_mcusch_qbren(n) = 0x0000000f<br /> ErlyQbrEn = 0x1 <br /> LateQbrEn = 0x1 <br /> MifQbrEn = 0x1 <br /> PredictiveM2AReq = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll mcccfg MccPwrOnWayCntStatus </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: mcccfg_MccPwrOnWayCntStatus<br />
|
||
|
Mcc0CurDatWayOnCnt<br />
|
||
|
Mcc0CurWayCnt<br />
|
||
|
Mcc0TgtWayCnt<br />
|
||
|
Mcc1CurDatWayOnCnt<br />
|
||
|
Mcc1CurWayCnt<br />
|
||
|
Mcc1TgtWayCnt<br />
|
||
|
while((CSR(amcc_mcccfg_MccPwrOnWayCntStatus) & 0x7fff7fff) != 0x42104210) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_amccperfcntr_Mcc0QPropCtrl = 0x300011a2<br /> Mcc0AfCacheRdPropQCmd = 0x1 *read-only<br /> Mcc0AfCacheRdPropQTrakEnbl = 0x0 *read-only<br /> Mcc0AfDramRdPropQCmd = 0x1 *read-only<br /> Mcc0AfDramRdPropQTrakEnbl = 0x0 *read-only<br /> Mcc0DpPropQCfg = 0x0 *read-only<br /> Mcc0DpPropQCmd = 0x1 *read-only<br /> Mcc0DpPropQTrakEnbl = 0x0 *read-only<br /> Mcc0MsqQPropCfg = 0x0 *read-only<br /> Mcc0MsqQPropQCmd = 0x0 *read-only<br /> Mcc0MsqQPropTrakEnbl = 0x0 *read-only<br /> Mcc0QpropOutSel = 0x3 <br /> Mcc0TpPropQCmd = 0x0 *read-only<br /> Mcc0TpPropQTrakEnbl = 0x1 <br /> Mcc0TpQPropSel = 0x4 <br /> Mcc0TpQpropMask = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_amccperfcntr_Mcc1QPropCtrl = 0x300011a2<br /> Mcc1AfCacheRdPropQCmd = 0x1 *read-only<br /> Mcc1AfCacheRdPropQTrakEnbl = 0x0 *read-only<br /> Mcc1AfDramRdPropQCmd = 0x1 *read-only<br /> Mcc1AfDramRdPropQTrakEnbl = 0x0 *read-only<br /> Mcc1DpPropQCfg = 0x0 *read-only<br /> Mcc1DpPropQCmd = 0x1 *read-only<br /> Mcc1DpPropQTrakEnbl = 0x0 *read-only<br /> Mcc1MsqQPropCfg = 0x0 *read-only<br /> Mcc1MsqQPropQCmd = 0x0 *read-only<br /> Mcc1MsqQPropTrakEnbl = 0x0 *read-only<br /> Mcc1QpropOutSel = 0x3 <br /> Mcc1TpPropQCmd = 0x0 *read-only<br /> Mcc1TpPropQTrakEnbl = 0x1 <br /> Mcc1TpQPropSel = 0x4 <br /> Mcc1TpQpropMask = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_mcccfg_MccGen = 0x00000126<br /> DramAccessEn = 0x1 <br /> EccEn = 0x1 *read-only<br /> HitBypassEcc = 0x0 *read-only<br /> MccEn = 0x0 *read-only<br /> MccRamEn = 0x1 *read-only<br /> MccRamEnLock = 0x0 *read-only<br /> MccStop = 0x0 *read-only<br /> SpecRdEn = 0x0 *read-only<br /> SpecRdNum = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>18. Enable Power & ClockGating features and Configure the MCC and Global Timer</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable AMPCA Fixed MCLK Clock Gating </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsca_ampscagen_ampclk(n) = 0x00000000<br /> FMClkIdleDetectEn = 0x0 <br /> ForceDRAMClkEn = 0x0 *read-only<br /> ForceDiv2MClkTopGaterOn = 0x0 <br /> ForceFMClkWakeUp = 0x0 <br /> ForceMClkWakeUp = 0x0 <br /> TopClkGateDis = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable AMPDQ Fixed MCLK Clock Gating </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> ampsdq_ampsdqgen_ampclk(n) = 0x00000000<br /> FMClkIdleDetectEn = 0x0 <br /> ForceDRAMClkEn = 0x0 *read-only<br /> ForceDiv2MClkTopGaterOn = 0x0 *read-only<br /> ForceFMClkWakeUp = 0x0 <br /> ForceMClkWakeUp = 0x0 <br /> TopClkGateDis = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > disable dynamic power-down. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_pwrmngten(n) = 0x00000132<br /> AutoSR = 0x1 <br /> DynPwrDnEn = 0x0 <br /> McPhyUpdDramClkOff = 0x0 <br /> PwrDnClkOff = 0x1 <br /> SRClkOff = 0x1 <br /> SRExitOpt = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > disable dynamic power-down. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_pwrmngten(n) = 0x00000133<br /> AutoSR = 0x1 <br /> DynPwrDnEn = 0x1 <br /> McPhyUpdDramClkOff = 0x0 <br /> PwrDnClkOff = 0x1 <br /> SRClkOff = 0x1 <br /> SRExitOpt = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">No</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Revert auto self-refresh wait timer to guided value.<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcfg_pwrmngtparam_freq0(n) = 0x01800000<br /> BypsPwrDnDlyCyc_freq0 = 0x0 *read-only<br /> SelfRefTmrVal_freq0 = 0x180 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Setting WqAgeOutVal to be 3/4 of SelfRefTmrVal, to flush writes in a reasonable time.<br /><br /> <b>FPGA</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_mcusch_psqwqctl1(n) = 0x01640120<br /> WqAgeOutVal_freq0 = 0x120 <br /> WqAgeOutVal_freq1 = 0x164 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable wakeups from glbl timer to pmgr </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_PmgrWakeUpCfg = 0x000000ff<br /> FreqChngEn = 0x1 <br /> IdtEn = 0x1 <br /> ImpCalEn = 0x1 <br /> MdllEn = 0x1 <br /> RdCalEn = 0x1 <br /> VoltRampEn = 0x1 <br /> WrCalEn = 0x1 <br /> ZQCalEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_PreFreq2AllBankDly0 = 0x01500150<br /> PreFreqChng2AllBankDly_f0 = 0x150 <br /> PreFreqChng2AllBankDly_f1 = 0x150 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_PreFreq2AllBankDly1 = 0x01500150<br /> PreFreqChng2AllBankDly_f2 = 0x150 <br /> PreFreqChng2AllBankDly_f3 = 0x150 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_PreFreqChng2FreqChngDly0 = 0x02a002a0<br /> PreFreqChng2FreqChngDly_f0 = 0x2a0 <br /> PreFreqChng2FreqChngDly_f1 = 0x2a0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_PreFreqChng2FreqChngDly1 = 0x02a002a0<br /> PreFreqChng2FreqChngDly_f2 = 0x2a0 <br /> PreFreqChng2FreqChngDly_f3 = 0x2a0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_Cal2PreFreqChngDly0 = 0x00900090<br /> Cal2PreFreqChngDly_f0 = 0x90 <br /> Cal2PreFreqChngDly_f1 = 0x90 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_Cal2PreFreqChngDly1 = 0x00900090<br /> Cal2PreFreqChngDly_f2 = 0x90 <br /> Cal2PreFreqChngDly_f3 = 0x90 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_FreqChng2PstCalDly0 = 0x01200120<br /> FreqChng2PstCalDly_f0 = 0x120 <br /> FreqChng2PstCalDly_f1 = 0x120 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_FreqChng2PstCalDly1 = 0x01200120<br /> FreqChng2PstCalDly_f2 = 0x120 <br /> FreqChng2PstCalDly_f3 = 0x120 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_MdllTimer = 0x00000bb8<br /> MdllTimerCnt = 0xbb8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_MdllVoltRampTimer = 0x0000004b<br /> MdllVoltRampTimerCnt = 0x4b <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_CtrlUpdMaskTimer = 0x0000000f<br /> CtrlUpdMaskTimerCnt = 0xf <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_RdCalTimer = 0x002dc6c0<br /> RdCalTimerCnt = 0x2dc6c0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_WrCalTimer = 0x002dc6c0<br /> WrCalTimerCnt = 0x2dc6c0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_ZQCTimer = 0x003d0900<br /> ZQCTimerCnt = 0x3d0900 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_PerCal_FreqChngTimer = 0x000493e0<br /> PerCal_FreqChngTimerCnt = 0x493e0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_VoltRampTimer = 0x000493e0<br /> VoltRampTimerCnt = 0x493e0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_ImpCalTimer = 0x00002ee0<br /> ImpCalTimerCnt = 0x2ee0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_VoltRamp2AllBankDly0 = 0x00d800d8<br /> VoltRamp2AllBankDly_f0 = 0xd8 <br /> VoltRamp2AllBankDly_f1 = 0xd8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_VoltRamp2AllBankDly1 = 0x00d800d8<br /> VoltRamp2AllBankDly_f2 = 0xd8 <br /> VoltRamp2AllBankDly_f3 = 0xd8 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_AllBank2PmgrAckDly0 = 0x00900090<br /> AllBank2PmgrAckDly_f0 = 0x90 <br /> AllBank2PmgrAckDly_f1 = 0x90 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> glbtimer_GlbTimer_AllBank2PmgrAckDly1 = 0x00900090<br /> AllBank2PmgrAckDly_f2 = 0x90 <br /> AllBank2PmgrAckDly_f3 = 0x90 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">Yes</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Dynamic clk pwr gating reg </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_amcgen_amcclkpwrgate(n) = 0x050a0000<br /> ClkPwrWaitCyc = 0xa *read-only<br /> MCUBCGClkGateEn = 0x0 *read-only<br /> MCUBCGPwrGateEn = 0x0 *read-only<br /> PwrRstCyc = 0x5 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>19. Do a ODTS read and set ODTS interval so MR4 on-die temperature sensor read occurs periodically.</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Perform an MRR to DRAM mode register MR4 to establish a base value for ODTS reading.<br /> Another intention is to bring DRAM out of self-refresh. Done in both cold boot and resume boot. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcx_dramcmd_mrinitcmd(n) = 0x50041100<br /> MRCmdAddr = 0x0 *read-only<br /> MRCmdCs = 0x0 *read-only<br /> MRCmdData = 0x0 *read-only<br /> MRCmdIsMPC = 0x0 *read-only<br /> MRCmdIsRd = 0x0 *read-only<br /> RunMRCmd = 0x0 *read-only<br /> RunRdLvl = 0x0 *read-only<br /> RunSRExit = 0x0 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll dramcmd mrinitcmd </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: dramcmd_mrinitcmd<br />
|
||
|
RunMRCmd<br />
|
||
|
while((CSR(amcx_dramcmd_mrinitcmd(n)) & 0x100) != 0x0) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Enable periodic ODTS and temperature based refresh rate modulation. (Optional) <br /> Note the OdtsRdIntrvl setting shown here is based on tREFI=3.9us and the target interval is ~100. The actual setting may vary depending on the DRAM and the system. <br /> Palladium: this step is skipped, ODTS is not supported<br /><br /> <b>PALLADIUM</b>: Skip this step </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td style="font-weight: bold">if (platform == FPGA)</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_odtszqc(n) = 0xc0002320<br /> DerateParamSRExit = 0x1 <br /> OdtsRdIntrvl = 0x320 <br /> SRExitZQCChnlQuiet = 0x1 <br /> ShareZQRes = 0x0 <br /> TempDrtEn = 0x0 <br /> ZQCChnlQuiet = 0x0 *read-only<br /> ZQCStack = 0x1 <br /> ZqCalIntrvl = 0x0 <br /> </td></tr>
|
||
|
<tr><td style="font-weight: bold">else</td></tr>
|
||
|
<tr><td class="programming"> amcx_dramcfg_odtszqc(n) = 0xc0003320<br /> DerateParamSRExit = 0x1 <br /> OdtsRdIntrvl = 0x320 <br /> SRExitZQCChnlQuiet = 0x1 <br /> ShareZQRes = 0x0 <br /> TempDrtEn = 0x1 <br /> ZQCChnlQuiet = 0x0 *read-only<br /> ZQCStack = 0x1 <br /> ZqCalIntrvl = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></table>
|
||
|
<h4>Mcc Cache Initialization. This section is not part of the essential init sequence. This should be run when the system is done using the CacheAsRam</h4>
|
||
|
<p><br /> </p>
|
||
|
<table class="section">
|
||
|
<tr><th class="description" align="left">Description</th><th class="programming" align="left">Register Programming</th><th class="run_option" align="left">AOP AWAKE</th><th class="run_option" align="left">Resume Boot</th><th class="run_option" align="left">AOP DDR</th></tr>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="description" valign="top" > </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_mcccfg_MccGen = 0x00000124<br /> DramAccessEn = 0x1 <br /> EccEn = 0x1 *read-only<br /> HitBypassEcc = 0x0 *read-only<br /> MccEn = 0x0 *read-only<br /> MccRamEn = 0x0 <br /> MccRamEnLock = 0x0 *read-only<br /> MccStop = 0x0 *read-only<br /> SpecRdEn = 0x0 *read-only<br /> SpecRdNum = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Program AF Allocation Hints, allocation does not happen unless there is a hint as the generic allocation policy </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_mcccfg_MccAlcHint = 0x00001110<br /> MccAlcHintEn = 0x1 <br /> MccGenericAlc = 0x0 *read-only<br /> MccSclDtyEn = 0x1 <br /> MccStickyEn = 0x1 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Poll mcccfg MccPwrOnWayCntStatus </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> Poll: mcccfg_MccPwrOnWayCntStatus<br />
|
||
|
Mcc0CurDatWayOnCnt<br />
|
||
|
Mcc0CurWayCnt<br />
|
||
|
Mcc0TgtWayCnt<br />
|
||
|
Mcc1CurDatWayOnCnt<br />
|
||
|
Mcc1CurWayCnt<br />
|
||
|
Mcc1TgtWayCnt<br />
|
||
|
while((CSR(amcc_mcccfg_MccPwrOnWayCntStatus) & 0x7fff7fff) != 0x42104210) <br />
|
||
|
</td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Maximum Number of Powered Ways. </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_mcccfg_MccPwrOnWayCntCtrl = 0x00000110<br /> MccMaxWayOnCnt = 0x10 <br /> MccMaxWayOnExact = 0x1 *read-only<br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Turn on the MCC </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_mcccfg_MccGen = 0x00000195<br /> DramAccessEn = 0x1 <br /> EccEn = 0x1 *read-only<br /> HitBypassEcc = 0x0 *read-only<br /> MccEn = 0x1 <br /> MccRamEn = 0x0 <br /> MccRamEnLock = 0x0 *read-only<br /> MccStop = 0x0 *read-only<br /> SpecRdEn = 0x1 <br /> SpecRdNum = 0x4 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td></tr>
|
||
|
<tr>
|
||
|
<tr ><td class='wide' colspan='3'></td></tr><td class="description" valign="top" > Set Dynamic Way PowerGating </td>
|
||
|
<td><table class="platform">
|
||
|
<tr><td class="programming"> amcc_mcccfg_MccPwrOnWayCntCtrl = 0x00000010<br /> MccMaxWayOnCnt = 0x10 <br /> MccMaxWayOnExact = 0x0 <br /> </td></tr>
|
||
|
</table></td>
|
||
|
<td class="run_option">-</td><td class="run_option">-</td><td class="run_option">-</td>
|
||
|
|