MODM simulation of SDRAM