2 bit comparator using basic gates
0 Stars     6 Views    

Author: VINYAS

Forked from: Gaurav/2 bit comparator using basic gates

Project access type: Public

Description:

2-Bit Comparator:-

A 2-bit comparator compares two binary numbers, each of two bits and produces their relation such as one number is equal or greater than or less than the other.

Block Diagram:-


The first number A is designated as A = A1A0 and the second number is designated as B = B1B0. This comparator produces three outputs as G (G = 1 if A>B), E (E = 1, if A = B) and L (L = 1 if A<B).

Truth Table:-


K-Map:-

Image result for k map for 2 bit comparator    Image result for k map for 2 bit comparator

*Solving the equations I got:-


Diagram:-


*formed using simulator provided

Created: Apr 18, 2024

Updated: Apr 18, 2024


Comments

You must login before you can post a comment.