NivaarExam PrepOfficial exam papers ↗

22-Elec-A4 Digital Systems and Computers · December 2017

Question 3 of 6: Multilevel function and NOR-only synthesis

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

National Exams — 16-Elec-A4 Digital Systems & Computers — December 2017. Closed book; 3 hours; six questions of 12 marks each, of which any five constitute a complete paper. All six are solved below as a study resource. Permitted aids: Casio or Sharp approved calculator; a sheet of Boolean identities and a flip-flop excitation table are supplied with the paper.

Reference texts. M. Morris Mano & M. D. Ciletti, Digital Design (Pearson); C. H. Roth & L. L. Kinney, Fundamentals of Logic Design (Cengage); J. F. Wakerly, Digital Design: Principles and Practices (Pearson); Hamacher, Vranesic & Zaky, Computer Organization (McGraw-Hill) for the interrupt / timer material.

Question 3: Multilevel function and NOR-only synthesis (12 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. $f = A(BC+DE) + \overline{A}(FG+\overline{B}\,\overline{E})$ over seven inputs $A\ldots G$, with complemented literals available.

Find. (a) a direct AND/OR/NOT circuit, (b) a NOR-only version, and (c) a six-gate NOR realisation justified by the double-complement identity.

Approach. Draw the expression as written, then flatten it to a two-level sum of products and complement twice so the outer OR and the four product gates become NOR gates.

(a) AND–OR–NOT circuit

B C D E F G B' E' A A' f
Direct multilevel realisation: four product gates feed two OR gates, gated by $A$ and $\overline{A}$, then a final OR.

(b) NOR-only conversion

Expanding the brackets gives the two-level form

$$f = ABC + ADE + \overline{A}FG + \overline{A}\,\overline{B}\,\overline{E}.$$

A gate-by-gate NOR conversion keeps this topology and inserts back-to-back inverters at each wire so that every AND and every OR becomes a NOR. Using the identity that an AND of literals equals a NOR of their complements, $XYZ=\overline{\overline{X}+\overline{Y}+\overline{Z}}$, each product term is one NOR gate; the final OR of the four products becomes a NOR followed by an inverter. Done mechanically this yields a valid NOR-only network (four product NORs, one combining NOR, one output inverter, plus the input inverters already assumed available). Part (c) shows this is already the minimum.

(c) Six-NOR realisation via $f=\overline{\overline{f}}$

  1. Write each product as a NOR of complemented literals. $ABC=\overline{\overline{A}+\overline{B}+\overline{C}}$, $ADE=\overline{\overline{A}+\overline{D}+\overline{E}}$, $\overline{A}FG=\overline{A+\overline{F}+\overline{G}}$, $\overline{A}\,\overline{B}\,\overline{E}=\overline{A+B+E}$ — four NOR gates $G_1\ldots G_4$.
  2. Complement the whole sum once. $\overline{f}=\overline{ABC+ADE+\overline{A}FG+\overline{A}\,\overline{B}\,\overline{E}} = \overline{G_1+G_2+G_3+G_4}$ — one NOR gate $G_5$ whose inputs are the four product outputs.
  3. Complement again for the output. $f=\overline{\overline{f}}$, so a single NOR used as an inverter, $G_6=\overline{G_5+G_5}$, restores $f$: $$\boxed{f\ \text{needs exactly }6\text{ NOR gates: }G_1,\ldots,G_4\ (\text{products}),\ G_5\ (\overline{f}),\ G_6\ (\text{inverter}).}$$
A' B' C' A' D' E' A F' G' A B E G5 f' G6 f
Six-NOR synthesis: four product NORs $\to$ a four-input NOR ($\overline{f}$) $\to$ a NOR inverter ($f$).
Question 3 gate count
StageGates
Product terms $ABC,ADE,\overline{A}FG,\overline{A}\,\overline{B}\,\overline{E}$4 NOR
$\overline{f}$ (combine)1 NOR
Output inverter1 NOR
Total6 NOR