Lab 3: The Basic Parts

Read time: 1 minutes (490 words)

In this lab, you will add the first classes in this project. Specifically, we will create the Pin, Wire, and generic Component classes. Each will be set up with tests to check that they function properly. Once those all work, we will build our first real digital part: the lowly inverter. We will also use three inverters to make a simple circuit that does something useful.

What to do

For this lab, you need to work through the code in the lecture notes. This lab consists of steps 4-7 in those notes.