The Terasic DE0 nano tutorial tweaked a little to run with SDRAM and also different code