Avalon_wait_write is not effective during resets so do it after going idle.