LX2160A DDR memory connections

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LX2160A DDR memory connections

Jump to solution
1,536 Views
kurokawa
Contributor II

Regarding DDR memory connections to the LX2160A

I'm considering connecting nine 8-bit DDR4 memory modules (8 x 9 = 72 bits) to the LX2160, and dividing them into TOP and BOTTOM locations to minimize the implementation area.

In this case, would it be possible to use address mirroring to configure TOP = CS0 as five chips and BOTTOM = CS1 as four chips?

0 Kudos
Reply
1 Solution
1,477 Views
shengzhou_liu
NXP Employee
NXP Employee

Yes, it is feasible to that using 8-bit chips and one controller to perform address mirroring by placing 9 chips on the TOP and 9 chips on the BOTTOM.

But from the perspective of performance, the bandwidth performance of using dual-controllers with single-rank is better than that of using single-controller with dual-ranks.

View solution in original post

3 Replies
1,508 Views
shengzhou_liu
NXP Employee
NXP Employee

Hi  @kurokawa

LX2160A supports DDR address mirroring.

Asymmetric population (5 devices on CS0 and 4 devices on CS1) is not feasible.
Address mirroring should be applied in a balanced topology.
for the specific chip-selection, it should be 64-bit data width, not 8x 5-chip = 40-bits or 8x 4-chips = 32-bits

there are 3 topologies:

way 1: (single-controller and single-rank, without address mirroring)
TOP: 5 x8 DRAM parts for data + 1 x8 DRAM part for ECC with CS0
BOTTOM: 4 x8 DRAM parts for data with CS0

way 2: (single-controller and dual-ranks, with address mirroring)
TOP: 4 x16 DRAM parts for data + 1 x16 DRAM part(only 8-bits used) for ECC with CS0 of DDRC1
BOTTOM: 4 x16 DRAM parts for data + 1 x16 DRAM part(only 8-bits used) for ECC with CS1 of DDRC1

way 3 (dual-controllers and single-rank for better performance):
TOP: 4 x16 DRAM parts for data + 1 x16 DRAM part(only 8-bits used) for ECC with CS0 of DDRC1
BOTTOM: 4 x16 DRAM parts for data + 1 x16 DRAM part(only 8-bits used) for ECC with CS0 of DDRC2


if .mirrored_dimm = 1 in mocked SPD way in ATF, DDR driver sets DDR_SDRAM_CFG_2[MD_EN] = 1.

 

0 Kudos
Reply
1,503 Views
kurokawa
Contributor II

Thank you for your reply.

Just to be sure, let me confirm way 2.

If using 8-bit chips and using one controller, is it possible to perform address mirroring by placing 9 chips on the TOP and 9 chips on the BOTTOM (18 chips in total)?

0 Kudos
Reply
1,478 Views
shengzhou_liu
NXP Employee
NXP Employee

Yes, it is feasible to that using 8-bit chips and one controller to perform address mirroring by placing 9 chips on the TOP and 9 chips on the BOTTOM.

But from the perspective of performance, the bandwidth performance of using dual-controllers with single-rank is better than that of using single-controller with dual-ranks.

%3CLINGO-SUB%20id%3D%22lingo-sub-2305059%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELX2160A%20DDR%20memory%20connections%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2305059%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ERegarding%20DDR%20memory%20connections%20to%20the%20LX2160A%3C%2FP%3E%3CP%3EI'm%20considering%20connecting%20nine%208-bit%20DDR4%20memory%20modules%20(8%20x%209%20%3D%2072%20bits)%20to%20the%20LX2160%2C%20and%20dividing%20them%20into%20TOP%20and%20BOTTOM%20locations%20to%20minimize%20the%20implementation%20area.%3C%2FP%3E%3CP%3EIn%20this%20case%2C%20would%20it%20be%20possible%20to%20use%20address%20mirroring%20to%20configure%20TOP%20%3D%20CS0%20as%20five%20chips%20and%20BOTTOM%20%3D%20CS1%20as%20four%20chips%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2305265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LX2160A%20DDR%20memory%20connections%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2305265%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3EJust%20to%20be%20sure%2C%20let%20me%20confirm%20way%202.%3C%2FP%3E%3CP%3EIf%20using%208-bit%20chips%20and%20using%20one%20controller%2C%20is%20it%20possible%20to%20perform%20address%20mirroring%20by%20placing%209%20chips%20on%20the%20TOP%20and%209%20chips%20on%20the%20BOTTOM%20(18%20chips%20in%20total)%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2305203%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%20translate%3D%22no%22%3ERe%3A%20LX2160A%20DDR%20memory%20connections%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2305203%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3CP%3EHi%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F214864%22%20target%3D%22_blank%22%3E%40kurokawa%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ELX2160A%20supports%20DDR%20address%20mirroring.%3C%2FP%3E%0A%3CP%3EAsymmetric%20population%20(5%20devices%20on%20CS0%20and%204%20devices%20on%20CS1)%20is%20not%20feasible.%3CBR%20%2F%3EAddress%20mirroring%20should%20be%20applied%20in%20a%20balanced%20topology.%3CBR%20%2F%3Efor%20the%20specific%20chip-selection%2C%20it%20should%20be%2064-bit%20data%20width%2C%20not%208x%205-chip%20%3D%2040-bits%20or%208x%204-chips%20%3D%2032-bits%3C%2FP%3E%0A%3CP%3Ethere%20are%203%20topologies%3A%3C%2FP%3E%0A%3CP%3Eway%201%3A%20(single-controller%20and%20single-rank%2C%20without%20address%20mirroring)%3CBR%20%2F%3ETOP%3A%205%20x8%20DRAM%20parts%20for%20data%20%2B%201%20x8%20DRAM%20part%20for%20ECC%20with%20CS0%3CBR%20%2F%3EBOTTOM%3A%204%20x8%20DRAM%20parts%20for%20data%20with%20CS0%3C%2FP%3E%0A%3CP%3Eway%202%3A%20(single-controller%20and%20dual-ranks%2C%20with%20address%20mirroring)%3CBR%20%2F%3ETOP%3A%204%20x16%20DRAM%20parts%20for%20data%20%2B%201%20x16%20DRAM%20part(only%208-bits%20used)%20for%20ECC%20with%20CS0%20of%20DDRC1%3CBR%20%2F%3EBOTTOM%3A%204%20x16%20DRAM%20parts%20for%20data%20%2B%201%20x16%20DRAM%20part(only%208-bits%20used)%20for%20ECC%20with%20CS1%20of%20DDRC1%3C%2FP%3E%0A%3CP%3Eway%203%20(dual-controllers%20and%20single-rank%20for%20better%20performance)%3A%3CBR%20%2F%3ETOP%3A%204%20x16%20DRAM%20parts%20for%20data%20%2B%201%20x16%20DRAM%20part(only%208-bits%20used)%20for%20ECC%20with%20CS0%20of%20DDRC1%3CBR%20%2F%3EBOTTOM%3A%204%20x16%20DRAM%20parts%20for%20data%20%2B%201%20x16%20DRAM%20part(only%208-bits%20used)%20for%20ECC%20with%20CS0%20of%20DDRC2%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3Eif%20.mirrored_dimm%20%3D%201%20in%20mocked%20SPD%20way%20in%20ATF%2C%20DDR%20driver%20sets%20DDR_SDRAM_CFG_2%5BMD_EN%5D%20%3D%201.%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2306013%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LX2160A%20DDR%20memory%20connections%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2306013%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EYes%2C%20it%20is%20feasible%20to%20that%20using%208-bit%20chips%20and%20one%20controller%20to%20perform%20address%20mirroring%20by%20placing%209%20chips%20on%20the%20TOP%20and%209%20chips%20on%20the%20BOTTOM.%3C%2FP%3E%0A%3CP%3EBut%20from%20the%20perspective%20of%20performance%2C%20the%20bandwidth%20performance%20of%20using%20dual-controllers%20with%20single-rank%20is%20better%20than%20that%20of%20using%20single-controller%20with%20dual-ranks.%3C%2FP%3E%3C%2FLINGO-BODY%3E