Fixed sdram controller and modified the test