SDRAM controller (VHDL description)