2080 2

BIT103 ยท 2080 ยท 10 marks

Define combinational logic circuit. Design a combinational circuit whose input is a four-bit number and output is the 1's complement of the input number.

Define combinational logic circuit. Design a combinational circuit whose input is a four-bit number and output is the 1's complement of the input number.[10]

Digital LogicChapter 4: Combinational Logic CircuitsCombinational circuit design methodology

Quick answer

A combinational logic circuit is a digital circuit in which the output at any instant of time depends only on the present input values and not on any previous inputs or outputs. There is no memory element involved; the circuit has no feedback path.

Combinational Logic Circuit and 1's Complement Design

Definition of Combinational Logic Circuit (2 marks)

Key characteristics:

  • Output is a pure function of current inputs only
  • No clock signal or storage elements (flip-flops) are used
  • Examples: Adder, Subtractor, Multiplexer, Encoder, Decoder

General model: n input variables produce m output variables through a network of logic gates.


Design of 1's Complement Combinational Circuit (8 marks)

Step 1: Problem Statement

  • Input: A 4-bit binary number: A, B, C, D (where A is MSB, D is LSB)
  • Output: 1's complement of the input: W, X, Y, Z

The 1's complement of a binary number is obtained by inverting (complementing) each bit individually.

Input BitOutput Bit
AW = A'
BX = B'
CY = C'
DZ = D'

Step 2: Truth Table

ABCDW (A')X (B')Y (C')Z (D')
00001111
00011110
00101101
00111100
01001011
01011010
01101001
01111000
10000111
10010110
10100101
10110100
11000011
11010010
11100001
11110000

Step 3: Boolean Expressions

From the truth table, the output functions are simply:

$$W = A'$$ $$X = B'$$ $$Y = C'$$ $$Z = D'$$

Each output is the complement (NOT) of the corresponding input bit.


Step 4: Logic Diagram

The circuit requires four NOT gates (inverters), one for each input bit:

A ----[NOT]---- W (A')

B ----[NOT]---- X (B')

C ----[NOT]---- Y (C')

D ----[NOT]---- Z (D')

Circuit Diagram:

        +-------+
A ----->|  NOT  |-----> W = A'
        +-------+

        +-------+
B ----->|  NOT  |-----> X = B'
        +-------+

        +-------+
C ----->|  NOT  |-----> Y = C'
        +-------+

        +-------+
D ----->|  NOT  |-----> Z = D'
        +-------+

Step 5: Verification with Example

Example: Input = 1010 (decimal 10)

BitInputOutput (1's complement)
A1W = 0
B0X = 1
C1Y = 0
D0Z = 1

Output = 0101 which is indeed the 1's complement of 1010. โœ“


Summary

FeatureDescription
Number of inputs4 (A, B, C, D)
Number of outputs4 (W, X, Y, Z)
Gates required4 NOT gates
Boolean functionsW=A', X=B', Y=C', Z=D'
Circuit typeCombinational (no memory, no feedback)

Conclusion: The 1's complement of a 4-bit number is the simplest combinational circuit, requiring only four inverters, since each output bit is the logical complement of the corresponding input bit.

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