Hardware Software Engineering for AI