Via LtU, I discovered a course that builds a computer from first principles.
While this approach has been attempted by Charles Petzold’s most excellent Code: The Hidden Language of Computer Hardware and Software, these authors take a more rigorous approach and attempt to tackle the software half of the equation (Petzold more or less punts on this and devotes but a single chapter to discussing all of software).
What’s really interesting about this class is that they have built hardware simulators in Java. They even have a unit testing framework for the hardware simulators. In other words, students implement and test hardware using software.
Check out this powerpoint slide deck from their course.