4 Bit Magnitude Comparator Circuit
0 Stars     1 Views    

Author: Harshit Kaswan

Forked from: Harshit Kaswan/4 Bit Magnitude Comparator Circuit

Project access type: Public

Description:

4 Bit Comparator circuit

A - A3 A2 A1 A0    B - B3 B2 B1 B0

A = B when, A3=B3,A2=B2,A1=B1,A0=B0. 

A>B when, A3>B3 OR A3=B3 AND A2>B2 OR A3=B3 A2=B2 AND A1>B1 OR A3=B3 A2=B2 A1=B1 AND A0>B0.

A<B when, A3<B3 OR A3=B3 AND A2<B2 OR A3=B3 A2=B2 AND A1<B1 OR A3=B3 A2=B2 A1=B1 AND A0<B0.

Created: Dec 18, 2023

Updated: Dec 18, 2023


Comments

You must login before you can post a comment.