NivaarExam PrepOfficial exam papers ↗

22-Elec-A4 Digital Systems and Computers · Undated paper

Question 3 of 6: Multi-output logic and PLA implementation (12 pts)

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

Notes on this paper

Paper format. National Exams, 22-Elec-A4 — Digital Systems and Computers. Closed book; non-programmable calculator permitted; 3 hours. Six questions, each worth 12 points; “any five constitute a complete paper,” so all six are solved here as a study resource.

Reference texts. M. M. Mano & M. D. Ciletti, Digital Design, 5th/6th ed. (Pearson) — K-maps, hazards, PLA/PAL, flip-flop excitation and synchronous-counter design (ch. 3–6); J. F. Wakerly, Digital Design: Principles and Practices (static hazards, memory decoding); Motorola/Freescale M68HC11 Reference Manual (address decoding and memory-mapped I/O for Q5). Boolean identities and the flip-flop excitation tables printed on the exam cover sheet are used throughout.

Note on the figures. Where a single wire or junction in the Q4 figure is genuinely ambiguous, the reading used is stated and the alternative is flagged in a check callout, per the exam’s own instruction to “submit a clear statement of any assumptions made.”

Question 3 — Multi-output logic and PLA implementation (12 pts)

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. The 3-input, 4-output truth table (from the source; note the source text says “4-output” and the table indeed lists four outputs $X,Y,Z,W$):

Given truth table ($A$ = MSB)
$A$$B$$C$$X$$Y$$Z$$W$
0000111
0010111
0101001
0110101
1000000
1010111
1101101
1111100

Find. Minimal SoP for each output, then a PLA program (shared product terms in the AND plane, output sums in the OR plane).

Approach. Minimise each output on its own 3-variable map, then collect the distinct product terms so they can be shared across outputs in the AND plane.

X = Sm(2,6,7)BCA00011110010001031204051716BC'ABY = Sm(0,1,3,5,6,7)BCA00011110011011130204151716A'B'ABCZ = Sm(0,1,5)BCA00011110011011030204150706A'B'B'CW = Sm(0,1,2,3,5,6)BCA00011110011011131204150716A'B'CBC'
(a) One K-map per output.
  1. (a) Minimal expressions. Grouping the 1-cells of each map:$$X=BC^{\,\prime}+AB,\quad Y=\overline A\,\overline B+AB+C,\quad Z=\overline A\,\overline B+\overline B C,\quad W=\overline A+\overline B C+B\overline C$$Note $Y=(A\odot B)+C$ and $W=\overline A+(B\oplus C)$ are compact readings of the same covers.
  2. Collect distinct product terms. Across the four outputs the product terms used are $\{\,BC^{\,\prime},\,AB,\,\overline A\,\overline B,\,C,\,\overline B C,\,\overline A\,\}$ — six distinct AND terms.
  3. (b) PLA program. Six AND-plane rows feed the four OR-plane columns: $X=BC^{\,\prime}\!+\!AB$; $Y=\overline A\,\overline B\!+\!AB\!+\!C$; $Z=\overline A\,\overline B\!+\!\overline B C$; $W=\overline A\!+\!\overline B C\!+\!B\overline C$. The shared terms ($\overline A\,\overline B$ feeds $Y,Z$; $AB$ feeds $X,Y$; $\overline B C$ feeds $Z,W$) are what make the PLA (programmable AND and OR planes) more economical than four separate gate networks — a $3\times6\times4$ PLA suffices.
AA'BB'CC'AND planeXYZWOR planeA'A'B'ABB'CBC'C
(b) PLA map: blue = AND-plane connections (literals per product term), red = OR-plane connections (product terms per output). 6 product terms, 4 outputs.
Question 3 minimal outputs
OutputMinimal SoP
$X$$BC^{\,\prime}+AB$
$Y$$\overline A\,\overline B+AB+C$
$Z$$\overline A\,\overline B+\overline B C$
$W$$\overline A+\overline B C+B\overline C$
PLA size6 product terms × 4 outputs