FPGA implementation of DDR2 SDRAM controller