simulate  the ddr2