Skip to the content.

Week 4: The design chain

🏠 Home · Prev: Week 3 · Next: Week 5

Goal. Lock in the one method you will use for every circuit in this course: truth table to minterms to expression to gate circuit, and the reverse, reading a circuit back to its behaviour.

Two directions

There are only two things you ever do with a logic circuit.

The whole week is these two directions, and a fixed recipe for the second one.

Reading a circuit (analysis)

Given the inputs, follow each wire through its gate and write the output. Naming every gate’s output as you go turns a tangle of wires into a short expression.

Logic circuit analysis

Work left to right: label the output of each gate with its expression, then combine. The final label on the output wire is the circuit’s Boolean expression.

From a diagram to an expression, and back

Once you can read a diagram into an expression, the reverse is mechanical: every operator in the expression is one gate, and parentheses tell you the order to wire them.

Expression to circuit

The design guide: a V for logic

Engineering uses the V-cycle: you specify on the way down and verify on the way up. Logic design is the same shape:

Every design in this course walks that V.

The design chain

This is the recipe, and we use minterms only, because one method is enough.

  1. Write the truth table from the requirement.
  2. Mark every row where the output is 1; each is a minterm (a product of the inputs, complemented where the input is 0).
  3. OR the minterms together: that is the expression, in sum-of-products form.
  4. Draw the circuit: one AND per minterm, one OR to combine, inverters where needed.

A worked example, Y = A·B + A·C':

SOP design example

▶ Open in LogicLab

A larger design, the 7-segment display, uses exactly this chain, one expression per segment. We build it fully when we reach decoders.

Building and verifying in LogicLab

LogicLab is a build-and-verify tool, not a solver. It will not write the truth table for you and it will not synthesise a circuit from an expression; doing those by hand is the skill. What it does is let you confirm your work and feel the circuit behave.

Try it yourself (optional)

Build the SOP example on the breadboard with real gate ICs, drive the inputs from the Arduino, and read the output. Bench, simulator, and truth table should all agree. See the Lab Annex.

Check yourself