2080 1

CSC116 · 2080 · 10 marks

What is combinational circuit? Design a combinational circuit with four inputs lines that represent a decimal digit in BCD and four output lines that generate the 1's complement of the input binary patterns.

What is combinational circuit? Design a combinational circuit with four inputs lines that represent a decimal digit in BCD and four output lines that generate the 1's complement of the input binary patterns.[10]

Digital LogicChapter 4: Combinational LogicDesign ProcedureNumerical: BCD complement combinational circuit

Combinational Circuit: BCD to 1's Complement

Given

  • Number of input lines: 4 (call them $A, B, C, D$)
  • Inputs represent a decimal digit in BCD (valid range: 0 to 9)
  • Number of output lines: 4 (call them $W, X, Y, Z$)
  • Required output: 1's complement of the input binary pattern

No numeric constants missing. All information needed is present.


Solution

1. What is a Combinational Circuit?

A combinational circuit is a digital logic circuit whose output at any given time depends only on the present combination of input values and not on any past inputs or outputs. It contains no memory elements (flip-flops) and no feedback paths. It is built entirely from interconnected logic gates (AND, OR, NOT, NAND, NOR, XOR).

Characteristics:

  • Output is a pure Boolean function of current inputs
  • No storage / no feedback
  • Fully described by a truth table or Boolean expressions
  • Examples: adders, subtractors, encoders, decoders, multiplexers, code converters

2. Concept of 1's Complement

The 1's complement of a binary number is obtained by inverting each bit ($0 \to 1$, $1 \to 0$). Hence for a 4-bit input $ABCD$ the outputs are the bitwise inverse.


3. Truth Table

Inputs $A B C D$ are BCD (0-9). Combinations 1010 to 1111 are invalid BCD and treated as don't care ($\times$).

DecABCDWXYZ
000001111
100011110
200101101
300111100
401001011
501011010
601101001
701111000
810000111
910010110
10-15----$\times$$\times$$\times$$\times$

4. K-Map Simplification

Output W (equals $\bar A$): $W=1$ for all minterms with $A=0$; $W=0$ for $A=1$. Don't cares grouped freely.

$$W = A'$$

Output X (equals $\bar B$): $X=1$ only when $B=0$.

$$X = B'$$

Output Y (equals $\bar C$): $Y=1$ only when $C=0$.

$$Y = C'$$

Output Z (equals $\bar D$): $Z=1$ only when $D=0$.

$$Z = D'$$

Each K-map reduces to a single-literal term because 1's complement is a purely bitwise inversion.


5. Simplified Boolean Expressions

$$\boxed{W = A' \quad X = B' \quad Y = C' \quad Z = D'}$$


6. Logic Circuit

The circuit needs only four NOT gates (inverters):

A ----|>o---- W = A'
B ----|>o---- X = B'
C ----|>o---- Y = C'
D ----|>o---- Z = D'

7. Conclusion

Since the 1's complement is a bit-by-bit inversion, the combinational circuit reduces to four independent inverters. The BCD constraint and the don't-care conditions do not change this result; they only confirm the minimal single-literal expressions.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.