website page counter

2 Bit Magnitude Comparator Truth Table

Best image references website

2 Bit Magnitude Comparator Truth Table. A 2 bit magnitude comparator compares two 2 bit numbers. Depending on the relative magnitude of the two numbers one of the outputs will be high.

Virtual Labs
Virtual Labs from vlabs.iitb.ac.in

A comparator that compares two binary numbers each number having 2 bits and produces three outputs based on the relative magnitudes of given binary bits is called a 2 bit magnitude comparator. After simulation output waveform in fig 11 shows same result as in truth table for these input bit. A comparator used to compare two binary numbers each of two bits is called a 2 bit magnitude comparator.

Truth table of 2 bit comparator.

The truth table for a 2 bit comparator is given below. See two numbers a and b as inputs along with two digits each that is a 1 a 0 and b 1 b 0. After simulation output waveform in fig 11 shows same result as in truth table for these input bit. We will compare each bit of the two 4 bit numbers and based on that comparison and the weight of their positions we will draft a truth table.

close