With high-speed, large-capacity storage system design, DDR2 SDRAM offers a more cost-effective solution for designers. The implementation of DDR2 SDRAM controller with FPGA lowered the power consumption, which also shorten the development cycle and reduced the system development costs. The principle of DDR2 controller implemented in Xilinx Spartan-3A serials FPGA and how to complete it with MIG software tools. The test results are given.