What you will be able to do. By the end of this chapter you will have run and changed your first Verilog simulations. You will be able to write the truth table of an expression with three inputs, turn any truth table into a Boolean expression, and make that expression smaller using the laws of Boolean algebra, including De Morgan's laws. You will also check your own simplification in a simulation, which is how engineers do it.
Run your first simulation
At the end of the previous chapter you read three things: a Verilog module for the XOR you had built, a testbench that flips its inputs, and the waveform they produce. You only read them. Now run them.
Below is the same module with the same testbench. Press Run. The simulator runs the testbench against the module and draws the waveform. Check that y reads low, high, high, low: the Y column of the XOR truth table.