HWL:A simple SDRAM controller