2.5 Step 5: Derive Boolean Equations
Once the truth tables for the state transitions and the output logic have been created, they can be used to derive Boolean equations that define the logical behavior of the system. One expression needs to be defined for each of the bits of the encoded state to define how each state will transition to the next. Sum-of-Products (SOP) expressions for X0 and X1 can be derived by examining the state transition table:
Because has five terms, a Karnaugh map can be used to get the simplest possible Boolean equation:
Once the next-state logic has been defined, the logic for controlling the output can be determined using the output logic truth table:
Since the error state is the only state where is a , can be used directly as the ERR output: