Don't delete working directory on error.
Fix HDL generation for empty memory subsystems.