Modelsim simulation of sdram controller