Welcome to our Presentation
Our presentation topic is Magnitude Comparator
About our Group
Md. Sakhawat Hossain ID: 131-15-2406
A. K. M. Mahmud Ahmed ID: 131-15-2404
Md Ibrahim Faisal ID: 131-15-2262
Md. Din Islam ID: 131-15-2243
Md. Alamin Khan ID: 131-15-2412
What is Magnitude Comparator?
A magnitude comparator is a combinational circuit that compares two
numbers A & B to determine whether:
 A > B, or
 A < B, or
 A = B,
Connection Diagram
4-bit magnitude comparator
Inputs: 8-bits (A ⇒ 4-bits , B ⇒ 4-bits)
A and B are two 4-bit numbers
 Let A = A3A2A1A0 , and
 Let B = B3B2B1B0
 Inputs have 28 (256) possible combinations
Design of the EQ output (A = B) in 4-bit
magnitude comparator
Define Xi = (Ai Bi)+ (Ai’ Bi’)
Thus Xi = 1 IFF Ai = Bi ∀i =0, 1, 2 and 3
Xi = 0 IFF Ai ≠ Bi
Condition for A= B
EQ=1 (i.e., A=B) IFF
1. A3=B3 → (X3 = 1), and
2. A2=B2 → (X2 = 1), and
3. A1=B1 → (X1 = 1), and
4. A0=B0 → (X0 = 1).
Thus, EQ=1 IFF X3 X2 X1 X0 = 1. In other words, EQ = X3 X2 X1 X0
Design of the GT output (A > B) 4-bit
magnitude comparator
GT =1 (A > B) IFF:
1. A3B3’ =1, or
2. X3A2B2’ =1, or
3. X3X2 A1B1’ = 1, or
4. X3X2 X1 A0B0’ =1
In other words, GT = A3B3’ + X3A2B2’ + X3X2 A1B1’ + X3X2 X1 A0B0’
Design of the LT output (A < B) 4-bit
magnitude comparator
LT =1 (A > B) IFF:
1. B3A3’ =1, or
2. X3B2A2’ =1, or
3. X3X2 B1A1’ = 1, or
4. X3X2 X1 B0A0’ =1
In other words, LT = B3A3’ + X3B2A2’ + X3X2 B1A1’ + X3X2 X1 B0A0’
Software engineering
Truth Table
Thank you for being with us

More Related Content

PPTX
Bucket sort
PPT
Vector bits and pieces
PPT
PPTX
Bucket sort
PDF
Structures Standing Still : Project final submission
PPTX
Computer arithmetic
PPT
Bucket sort
PPT
Algebra 1 Item No 38
Bucket sort
Vector bits and pieces
Bucket sort
Structures Standing Still : Project final submission
Computer arithmetic
Bucket sort
Algebra 1 Item No 38

What's hot (20)

PDF
Coursera: Structure Standing Still: Project Presentation
PDF
Eco human resources university
PDF
Solucionario evaluación parcial cálculo integral
PPS
Arithmetic Operations
PPTX
PDF
Third level block 3 formal homework
PPT
Algebra 1, 5 3
PPTX
Numerical methods and programming
DOCX
Eb7 final exam 2014
PDF
12.3 Volume of Pyramids and Cones
DOCX
Revision sheet 1 g9
DOC
Find Slope, write, and graph line equations
PDF
shake! 2017 본선문제 풀이
PPTX
Counting sort
PPTX
Activity Based Costing
DOC
PDF
Be 204 basic civil engineering and engineering mechanics dec 14 (useful search)
PPTX
AS level Application of differential calculus in different fields
PDF
12647 maths 9th 4-
PDF
Be 204 basic civil engineering and engineering mechanics dec 13 (useful search)
Coursera: Structure Standing Still: Project Presentation
Eco human resources university
Solucionario evaluación parcial cálculo integral
Arithmetic Operations
Third level block 3 formal homework
Algebra 1, 5 3
Numerical methods and programming
Eb7 final exam 2014
12.3 Volume of Pyramids and Cones
Revision sheet 1 g9
Find Slope, write, and graph line equations
shake! 2017 본선문제 풀이
Counting sort
Activity Based Costing
Be 204 basic civil engineering and engineering mechanics dec 14 (useful search)
AS level Application of differential calculus in different fields
12647 maths 9th 4-
Be 204 basic civil engineering and engineering mechanics dec 13 (useful search)
Ad

Similar to Software engineering (20)

PPTX
DLD Lecture No 21 BCD Multiplier and Magnitude Comparator.pptx
PPTX
Magnitude comparator
PPTX
Combinational Circuits Design in Digital System Design.pptx
PDF
2 article azojete vol 9 9 16
DOCX
Computer Architecture_Digital Comparator.docx
PDF
Analogue & Digital Electronics on Comparators
PPTX
Magnitude Comparator-DIPLOMA IN ELECTRONICSpptx
PDF
Lecture6 Chapter4- Design Magnitude Comparator Circuit, Introduction to Decod...
PDF
4 bit magnjtude comparators ppt COA project
PDF
Magnitude Comparator and types of MC
PPTX
6 2 magnitudecomparator ibit and 2 bit converted
DOCX
Magnitude comparator
PDF
DLD Chapter-4.pdf
PDF
Comparators in DLD.
PPT
Digital Logic Design
PPTX
Combinational Circuits digital design logic
PDF
Digital 4-bit Comprator
PPTX
Combinational circuit
PPT
ME- applied electronics Vlsi UNIT IV.ppt
PDF
Combinational Circuits PPT.pdf
DLD Lecture No 21 BCD Multiplier and Magnitude Comparator.pptx
Magnitude comparator
Combinational Circuits Design in Digital System Design.pptx
2 article azojete vol 9 9 16
Computer Architecture_Digital Comparator.docx
Analogue & Digital Electronics on Comparators
Magnitude Comparator-DIPLOMA IN ELECTRONICSpptx
Lecture6 Chapter4- Design Magnitude Comparator Circuit, Introduction to Decod...
4 bit magnjtude comparators ppt COA project
Magnitude Comparator and types of MC
6 2 magnitudecomparator ibit and 2 bit converted
Magnitude comparator
DLD Chapter-4.pdf
Comparators in DLD.
Digital Logic Design
Combinational Circuits digital design logic
Digital 4-bit Comprator
Combinational circuit
ME- applied electronics Vlsi UNIT IV.ppt
Combinational Circuits PPT.pdf
Ad

More from Md Din Islam (7)

PPTX
Process Automation
PPTX
Computer Networks
PPTX
Presenation
PPT
Computer Architecture
PPTX
PPTX
Presentation1
PPTX
Spectrum
Process Automation
Computer Networks
Presenation
Computer Architecture
Presentation1
Spectrum

Recently uploaded (20)

PDF
Soil Improvement Techniques Note - Rabbi
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Feature types and data preprocessing steps
PPTX
communication and presentation skills 01
PDF
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
PPTX
Software Engineering and software moduleing
PDF
737-MAX_SRG.pdf student reference guides
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
Module 8- Technological and Communication Skills.pptx
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
introduction to high performance computing
PPTX
CyberSecurity Mobile and Wireless Devices
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Soil Improvement Techniques Note - Rabbi
Abrasive, erosive and cavitation wear.pdf
distributed database system" (DDBS) is often used to refer to both the distri...
Amdahl’s law is explained in the above power point presentations
Feature types and data preprocessing steps
communication and presentation skills 01
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
Software Engineering and software moduleing
737-MAX_SRG.pdf student reference guides
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Module 8- Technological and Communication Skills.pptx
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
introduction to high performance computing
CyberSecurity Mobile and Wireless Devices
Fundamentals of safety and accident prevention -final (1).pptx
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...

Software engineering

  • 1. Welcome to our Presentation Our presentation topic is Magnitude Comparator
  • 2. About our Group Md. Sakhawat Hossain ID: 131-15-2406 A. K. M. Mahmud Ahmed ID: 131-15-2404 Md Ibrahim Faisal ID: 131-15-2262 Md. Din Islam ID: 131-15-2243 Md. Alamin Khan ID: 131-15-2412
  • 3. What is Magnitude Comparator? A magnitude comparator is a combinational circuit that compares two numbers A & B to determine whether:  A > B, or  A < B, or  A = B,
  • 5. 4-bit magnitude comparator Inputs: 8-bits (A ⇒ 4-bits , B ⇒ 4-bits) A and B are two 4-bit numbers  Let A = A3A2A1A0 , and  Let B = B3B2B1B0  Inputs have 28 (256) possible combinations
  • 6. Design of the EQ output (A = B) in 4-bit magnitude comparator Define Xi = (Ai Bi)+ (Ai’ Bi’) Thus Xi = 1 IFF Ai = Bi ∀i =0, 1, 2 and 3 Xi = 0 IFF Ai ≠ Bi Condition for A= B EQ=1 (i.e., A=B) IFF 1. A3=B3 → (X3 = 1), and 2. A2=B2 → (X2 = 1), and 3. A1=B1 → (X1 = 1), and 4. A0=B0 → (X0 = 1). Thus, EQ=1 IFF X3 X2 X1 X0 = 1. In other words, EQ = X3 X2 X1 X0
  • 7. Design of the GT output (A > B) 4-bit magnitude comparator GT =1 (A > B) IFF: 1. A3B3’ =1, or 2. X3A2B2’ =1, or 3. X3X2 A1B1’ = 1, or 4. X3X2 X1 A0B0’ =1 In other words, GT = A3B3’ + X3A2B2’ + X3X2 A1B1’ + X3X2 X1 A0B0’
  • 8. Design of the LT output (A < B) 4-bit magnitude comparator LT =1 (A > B) IFF: 1. B3A3’ =1, or 2. X3B2A2’ =1, or 3. X3X2 B1A1’ = 1, or 4. X3X2 X1 B0A0’ =1 In other words, LT = B3A3’ + X3B2A2’ + X3X2 B1A1’ + X3X2 X1 B0A0’
  • 11. Thank you for being with us