0% found this document useful (0 votes)
57 views14 pages

Combinational Circuits Overview

This document discusses various types of combinational circuits including half adders, full adders, subtractors, comparators, and parity generators. Combinational circuits have outputs that depend only on the current inputs, not previous states. A half adder adds two bits and produces a sum and carry output. A full adder adds three bits. Ripple carry adders are made from full adders. Subtractors perform binary subtraction and have difference and borrow outputs. Comparators compare two bits and output if they are greater than, equal to, or less than. Parity generators check if the number of 1's in inputs is even or odd and output a parity bit accordingly.

Uploaded by

Faizan Khan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views14 pages

Combinational Circuits Overview

This document discusses various types of combinational circuits including half adders, full adders, subtractors, comparators, and parity generators. Combinational circuits have outputs that depend only on the current inputs, not previous states. A half adder adds two bits and produces a sum and carry output. A full adder adds three bits. Ripple carry adders are made from full adders. Subtractors perform binary subtraction and have difference and borrow outputs. Comparators compare two bits and output if they are greater than, equal to, or less than. Parity generators check if the number of 1's in inputs is even or odd and output a parity bit accordingly.

Uploaded by

Faizan Khan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Unit-5: Combinational Circuit

Adders
Subtractor
Comparator
Parity Generator
Combinational Circuits
• output depends only on the present input
• The combinational circuit do not use any memory.
• The previous state of input does not have any effect on the present state of the circuit.
Half Adder
A combinational logic circuit with two inputs and two outputs.
The half adder circuit add two single bit Cary number
This circuit has two outputs carry and sum.

S(A, B) = ∑m (1, 2)
CY(A, B) = ∑m (3)
Full Adder (1-bit Adder)
A combinational logic circuit with 3 inputs and 2 outputs.
The Full adder circuit add 3 single bit Cary number
This circuit has two outputs carry and sum.

ABC  ABC  ABC  ABC


Sum(A, B,C) = ∑m (1, 2, 4, 7)
Cout(A, B, C) = ∑m (3,5,6,7) A( BC  BC )  A( BC  BC )
A( B  C )  A( BC )
Let B  C  D
AD  AD
A D
A B C
For Cout

ABC  ABC  ABC  ABC


C ( AB  AB )  AB (C  C )
( A  B )C  AB

Cout=AB+BC+AC
Full Adder using Half Adder
FA
Sum= A⊕B⊕C
Carry=AB+(A⊕B)C

HA
Sum= A⊕B
Carry=AB
4-bit Ripple Carry Adder
Half Subtractor
Combinational circuit perform binary Subtraction
Accepts 2 input and Two output Difference and Borrow

D(A, B) = ∑m (1, 2)
Br(A, B) = ∑m (1)
Full Subtractor
Performs subtraction of 3 bits
This circuit has three inputs and two outputs.
The three inputs A, B and C, denote the minuend, subtrahend, and previous borrow, respectively.
The two outputs, D and Bout Sum(A, B,C) = ∑m (1, 2, 4, 7)
Bout(A, B,C) = ∑m (1,2,3,7)
Bout = A’B’C + A’BC’ + A’BC + ABC
= C(AB + A’B’) + A’B(C + C’)
= C( A XNOR B) + A’B
= C (A XOR B)’ + A’B
Full Subtractor using Half Subtractor

FS
Sum= A⊕B⊕C
Carry=A’B+(A⊕B)’C

HS
Sum= A⊕B
Carry=A’B
1-BIT Magnitude Comparator

GT
A 1-Bit
Magnitude EQ
B Comparator LT

EQ
GT LT

GT=AB’
EQ=A’B’+AB
LT=A’B
Parity Generator Circuit
Even Parity Generator Odd Parity Generator
If odd number of ones present in the input, then If even number of ones present in the input,
even parity bit, P should be ‘1’ so that the then odd parity bit, P should be ‘1’ so that the
resultant word contains even number of ones. resultant word contains odd number of ones

Binary Even Parity


Input WXY bit P Binary Odd Parity
Input WXY bit P
000 0
000 1
001 1
001 0
010 1
010 0
011 0
011 1
100 1
100 0
101 0
101 1
110 0
110 1
111 1
111 0

Common questions

Powered by AI

The full subtractor design differs from a full adder as it requires handling both positive and borrowed inputs. It takes three inputs: minuend, subtrahend, and borrow-in, contrasting with the full adder's handling of two additions and a carry-in. The outputs, difference and borrow-out, are calculated accounting for the borrow logic which involves complex logic combinations of its three inputs .

Half subtractor circuits uniquely generate borrow and difference outputs because the borrow is a function of the subtrahend being greater than the minuend, resulting in a need for borrowing, while the difference output is based solely on the logical XOR operation representing the actual result of binary subtraction without consideration of past inputs .

The carry-out in a full adder circuit is computed through the logical combination of the inputs A, B, and C. Specifically, it is the OR operation of the AND operations AB, AC, and BC. This results from examining all conditions where the addition of the binary digits would exceed the binary digit limit of '1', necessitating a carry .

The Even Parity Generator ensures that the total number of '1's in the transmitted data including the parity bit is even, which is achieved by setting the parity bit to '1' if an odd number of '1's are detected. This system aids in error detection during data transmission over noisy communications channels by allowing receivers to recognize if a single-bit error has occurred during transmission .

The primary difference between a full adder and a half adder is that a half adder adds two single-bit binary numbers and has two outputs: sum and carry, whereas a full adder adds three single-bit binary numbers including an input carry, providing a more complex sum and carry output. The half adder has two inputs, while the full adder has three .

In a half adder, the XOR gate computes the sum of two inputs, as it outputs '1' when the inputs are different, directly representing single-bit addition without carry consideration. In a full subtractor, the XOR gate helps calculate the difference by outputting '1' for non-identical input bits, coordinating with the borrow operation to adjust for binary subtraction requiring borrow .

A ripple carry adder simplifies the design of a 4-bit adder by connecting a series of full adders. Though it efficiently implements multi-bit addition, the critical drawback is the propagation delay caused by carrying over the carry output of one full adder to the next. This delay grows linearly with the number of bits, impacting computational performance as larger bit-widths result in more significant cumulative delays .

The 1-Bit Magnitude Comparator is essential in digital systems for comparing binary numbers at the most fundamental level, enabling equality checking (equality), greater than, and less than functionalities. It serves as the basic building block for more complex comparators used in ALUs and other data processing circuits, impacting decision-making and control flows in digital systems .

The parity bit generation can adapt to both odd and even parities based on the requirement of whether the total number of '1's needs to stay even or become odd. This is achieved through specific Boolean manipulations of the input bits, typically using XOR logic to determine the existing parity state. This versatility is significant as it allows the same circuit to be used in different communication protocols where different parity mechanisms might be required, enhancing interoperability and error-checking robustness .

In a full subtractor, the XOR function is crucial for determining the difference output by indicating where the bits differ, while the XNOR function is often used in the borrow logic for detecting scenarios where the minuend is less than the subtrahend (i.e., where borrowing occurs). This combination forms the basis of effective arithmetic logic for difference calculation and borrowing .

You might also like