we found the describtion of DDRx_DDR_SDRAM_CFG and DDRx_DDR_SDRAM_MODE registers,but we can't config these registers
many bits describe like this "
the value in this field should match the value of TIMING_CFG_X[X]"
|
we don't know how to match the value ,for example:
1.bits25-27,29 SDMODE[CASLAT]:
The value in this field must match the CAS latency programmed in TIMING_CFG_1. The DRAM data sheet should be consulted to select the proper CAS latency value. |
how to match the value?
2.bits 20-22 SDMODE[WR]:
Regardless of the value of DDR_SDRAM_CFG_2[OBC_CFG], the value of this bit should be based on the tWR obtained from the DRAM data sheet. When DDR_SDRAM_CFG_2[OBC_CFG] = 0, the value in this field should match the value of TIMING_CFG_1[WRREC]. But when DDR_SDRAM_CFG_2[OBC_CFG] = 1, the value in this field is two clock cycles value less than the value of TIMING_CFG_1[WRREC] |
in this register there is only 3 bits but there are 4 bits in TIMING_CFG_1[WRREC], how to match these two values?
and so on,there are too much describtion like this,Please tell me how to match these registers detail,thanks