Minimisation and hazard control
Minimisation selects a cover of required truth-table rows. Don't-care rows may help the cover but impose no output requirement. Delay-safe implementation may require a redundant term even after logical minimisation.
2.1 Algebraic minimisation
Past papers · CS 2014–2026 (23 papers): 5 questions, 9 marks · EC 2020–2026 (7 papers): 1 question, 1 mark · EE 2020–2026 (7 papers): 2 questions, 3 marks
Factor before expanding. To compare two candidate expressions, XOR their outputs; equivalence requires zero for every specified row. With don't-cares, differences on unspecified rows are allowed. “Minimal” means no term can be removed under the chosen representation; “minimum” means least cost among all valid covers. State whether cost means terms, literals or gates.
2.2 Karnaugh maps
Past papers · CS 2014–2026 (23 papers): 7 questions, 13 marks · EC 2020–2026 (7 papers): 1 question, 2 marks
Arrange row and column labels in Gray order, such as 00, 01, 11, 10. Adjacent cells differ in one bit; opposite edges are adjacent and the four corners form a legal group. Diagonal cells are not adjacent.
Use largest legal groups, allowing overlap. Cover every required one for SOP or every required zero for POS. Do not include a required zero in an SOP group or a required one in a POS group. A don't-care need not be used or covered. Five-variable maps use two four-variable planes; corresponding cells are adjacent across planes. Six-variable maps use four Gray-ordered planes.
Four-variable map with the corner group wrapping across both edges.
2.3 Prime implicants and minimum covers
Past papers · CS 2014–2026 (23 papers): 2 questions, 4 marks · EC 2020–2026 (7 papers): 1 question, 1 mark
An implicant covers only ones and optional don't-cares. A prime implicant cannot expand to a larger legal group. An essential prime implicant covers at least one required one that no other prime covers. Groups consisting entirely of don't-cares need not enter the cover.
Build a chart with required minterms as columns and prime implicants as rows. Select every essential row, delete its covered columns, and then cover what remains at minimum cost. A prime that becomes forced after earlier choices is not necessarily essential in the original chart. The number of primes, essentials and terms in a minimum expression are different quantities.
2.4 Tabular method
Write each on-set and don't-care row in binary and group by its number of ones. Merge two patterns only when their dash positions match and exactly one remaining bit differs. Replace that bit by a dash; mark both parents as combined. Repeat and deduplicate. Every uncombined pattern is prime. Keep don't-cares in merging, but put only required ones in the coverage chart.
2.5 Static and dynamic hazards
Past papers · CS 2014–2026 (23 papers): 1 question, 1 mark
A static-1 hazard is a temporary zero during an input change for which the correct output stays 1. In a two-level SOP, ensure each adjacent pair of required one-cells has a common product term. For a static-0 hazard use the dual rule in POS. These rules assume one input changes at a time.
A dynamic hazard produces multiple transitions when one is intended; it can occur in multilevel logic with reconvergent delays. A functional hazard involves multiple changing inputs and is not generally removed by a single consensus term. Glitch width is determined by arrival-time differences, not by the final truth table; short pulses may be suppressed under an inertial-delay model.
Last-minute recall
- Don't-care rows are optional, not mandatory groups.
- Wraparound adjacency is real; diagonal adjacency is not.
- SOP groups ones; POS groups zeros.
- Every essential prime is prime; the reverse is false.
- Quine–McCluskey requires matching dash positions.
- A minimum cover may have several equally good answers.
- Logical redundancy can be useful for hazard removal.