basic SDRAM controller working