When the clamshell topology is enabled in the Intel® Stratix® 10 DDR4 IP Parameter Editor, each rank requires two CS pins to configure the top and bottom memory chips separately. The following content shows how to map the CS pins from FPGA to memory chips in single-rank and dual ranks designs.
For single-rank components:
The Top (non-mirrored) components, FPGA_CS0, goes to MEM_TOP_CS0
The bottom (mirrored) components, FPGA_CS1, goes to MEM_BOT_CS0
For Dual-Rank components:
The Top (non-mirrored) components, FPGA_CS0 goes to MEM_TOP_CS0 and FPGA_CS1 goes to MEM_TOP_CS1
The bottom (mirrored) components, FPGA_CS2 goes to MEM_BOT_CS0 and FPGA_CS3 goes to MEM_BOT_CS1