Building up a full CPU from logic was one of my favorite things in university! The class was digital logic in the electrical engineering department and was a lot of fun. We even got to write machine code programs for it.