← Back to Patent Explorer
US5986538A Expired / Lapsed US ⏱️ 0.0 years remaining

N-bit comparator

Assignee: Samsung Electronics Co Ltd
•
Filing: 1997-09-09
•
Granted: 1999-11-16
•
Expires: 2017-09-09
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract An N-bit comparator compares two numbers A and B each consisting of N bits to each other and includes: N one-bit comparing circuits for generating a second output of a first level and a first output of a second level which is complementary to the first level if a bit ai (0</=i</=N-1) of the number A is equal to a bit bi (0</=i</=N-1) of the number B, for generating the second output of the second level and the first output of the first level if bit ai is greater than bit bi, and for generating the first output of the second level and the second output of the second level if bit ai is less than bit bi; and a final comparing circuit for receiving the first and second outputs of the one-bit comparing circuits and for generating a final comparative result of the two numbers by a comparative result of lower places when upper places of the two numbers are equal to each other.

Inventors

  • 👤 Seok-Joong Yoon

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-04 10:27
CPC Classifications
H; H03; H03K; H03K5/00; H03K5/22; G; G06; G06F; G06F7/00; G06F7/02; G06F7/026

Claims Analysis

Total Claims: 24
Claim 1
Independent Claim 174 words
An N-bit comparator for comparing two numbers A and B, each consisting of N bits, with each other, comprising: N one-bit comparing means for generating a second output of a first level and a first output of a second level which is complementary to the first level if a bit ai (0≦i≦N-1) of each place of said number A is equal to a bit bi (0≦iN-1) of each place of said number B, for generating the second output of the second level and the first output of the first level if said bit ai is greater than said bit bi, and for generating the first output of the second level and the second output of the second level if said bit ai is less than said bit bi; and final comparing means for receiving the first and second outputs of said one-bit comparing means and for generating a final comparative result of said two numbers by a comparative result of lower places when upper places of said two numbers are equal to each other.
Claim 2
Dependent Claim 174 words
An N-bit comparator for comparing two numbers A and B, each consisting of N bits, with each other, comprising: N one-bit comparing means for generating a second output of a first level and a first output of a second level which is complementary to the first level if a bit ai (0≦i≦N-1) of each place of said number A is equal to a bit bi (0≦iN-1) of each place of said number B, for generating the second output of the second level and the first output of the first level if said bit ai is greater than said bit bi, and for generating the first output of the second level and the second output of the second level if said bit ai is less than said bit bi; and final comparing means for receiving the first and second outputs of said one-bit comparing means and for generating a final comparative result of said two numbers by a comparative result of lower places when upper places of said two numbers are equal to each other.
Claim 3
Dependent Claim 89 words
An N-bit comparator as claimed in claim 1, wherein said final comparing means comprises: an inverter for inverting a first output of the one-bit comparing means of the most significant place; (N-1) NAND gates for generating first outputs of each one-bit comparing means of the other places in response to second outputs of the one-bit comparing means of upper places; and a NAND gate for receiving the output of said inverter and the outputs of said (N-1) NAND gates and generating a final comparative result of said two signals.
Claim 4
Dependent Claim 104 words
An N-bit comparator as claimed in claim 1, wherein each of said N one-bit comparing means comprises: size comparing means for generating said first output of the first level if said bit ai is greater than said bit bi and for generating said first output of the second level if said bit ai is smaller than or equal to said bit bi; and equality comparing means for generating said second output of the first level if said bit ai is equal to said bit bi and for generating said second output of the second level if said bit ai differs from said bit bi.
Claim 5
Dependent Claim 77 words
An N-bit comparator as claimed in claim 3, wherein said size comparing means comprises: an MOS transistor of a first conductivity having a gate connected to said bit bi and having a source and a drain connected between said bit ai and said first output; and another MOS transistor of a second conductivity having a gate connected to said bit bi and having a drain and a source connected between said first output and a ground terminal.
Claim 6
Dependent Claim 111 words
An N-bit comparator as claimed in claim 3, wherein said equality comparing means comprises: a first CMOS inverter for inverting said bit ai; a first transfer gate for transferring said bit bi in response to the output of said first CMOS inverter and said bit ai; a second transfer gate for transferring said bit ai in response to said bit bi; a third transfer gate for transferring the output of said first CMOS inverter in response to said bit bi; and a second CMOS inverter for commonly receiving the outputs of said first, second and third transfer gates and generating the inverted signal of an input signal as said second output.
Claim 7
Dependent Claim 242 words
A one-bit comparator for comparing two bits ai and bi with each other, comprising: a size comparing means that generates a first output of the first level if the bit ai is greater than the bit bi, and generates the first output of the second level if the bit ai is smaller than or equal to the bit bi, wherein the size comparing means comprises: a first MOS transistor of a first conductivity having the gate connected to the bit bi and having a source and a drain connected between the bit ai and a first output terminal: a second MOS transistor of a second conductivity having a gate connected to the bit bi and having a drain and a source connected between the first output terminal and a around terminal; an equality comparing circuit that generates a second signal indicating whether the bit ai is equal to the bit bi, wherein the equality comparing circuit comprises: a first transfer gate coupled between the bit ai and a second output terminal, the first transfer gate having a gate coupled so that the first transfer gate conducts or not in response to the bit bi; an inverter coupled to the bit ai; and a second transfer gate coupled between an output terminal of the inverter and the second output terminal, the second transfer gate having a gate coupled so that the second transfer gate conducts when the first transfer gate does not conduct.
Claim 8
Dependent Claim 242 words
A one-bit comparator for comparing two bits ai and bi with each other, comprising: a size comparing means that generates a first output of the first level if the bit ai is greater than the bit bi, and generates the first output of the second level if the bit ai is smaller than or equal to the bit bi, wherein the size comparing means comprises: a first MOS transistor of a first conductivity having the gate connected to the bit bi and having a source and a drain connected between the bit ai and a first output terminal: a second MOS transistor of a second conductivity having a gate connected to the bit bi and having a drain and a source connected between the first output terminal and a around terminal; an equality comparing circuit that generates a second signal indicating whether the bit ai is equal to the bit bi, wherein the equality comparing circuit comprises: a first transfer gate coupled between the bit ai and a second output terminal, the first transfer gate having a gate coupled so that the first transfer gate conducts or not in response to the bit bi; an inverter coupled to the bit ai; and a second transfer gate coupled between an output terminal of the inverter and the second output terminal, the second transfer gate having a gate coupled so that the second transfer gate conducts when the first transfer gate does not conduct.
Claim 9
Dependent Claim 44 words
The comparator of claim 6, further comprising a third transfer gate coupled between the bit bi and the second output terminal, the third transfer gate having a gate coupled so that the third transfer gate conducts or not in response to the bit ai.
Claim 10
Dependent Claim 24 words
The comparator of claim 7, further comprising a second inverter coupled between the second output terminal and the first, second, and third transfer gates.
Claim 11
Dependent Claim 37 words
The comparator of claim 6, wherein the first transfer gate comprises a first transistor of a first conductivity and the second transfer gate comprises a second transistor of a second conductivity that is opposite the first conductivity.
Claim 12
Dependent Claim 152 words
A comparator comprising: one-bit comparing circuits that are in one-to-one correspondence with N bits in a first value and with N bits in a second value, each one-bit comparing circuit generating a first output signal and a second output signal, wherein the first output signal is a binary signal indicating whether a first bit that is from the first value and corresponds to the one-bit comparing circuit is greater than a second bit that is from the second value and corresponds to the one-bit comparing circuit, and the second output signal is a binary signal indicating whether the first bit is equal to the second bit; and a final comparing circuit coupled to receive the first output signals and the second output signals from the one-bit comparing circuits, wherein the final comparing circuit generates a signal indicating whether the first value is greater than, less than, or equal to the second value.
Claim 13
Dependent Claim 152 words
A comparator comprising: one-bit comparing circuits that are in one-to-one correspondence with N bits in a first value and with N bits in a second value, each one-bit comparing circuit generating a first output signal and a second output signal, wherein the first output signal is a binary signal indicating whether a first bit that is from the first value and corresponds to the one-bit comparing circuit is greater than a second bit that is from the second value and corresponds to the one-bit comparing circuit, and the second output signal is a binary signal indicating whether the first bit is equal to the second bit; and a final comparing circuit coupled to receive the first output signals and the second output signals from the one-bit comparing circuits, wherein the final comparing circuit generates a signal indicating whether the first value is greater than, less than, or equal to the second value.
Claim 14
Dependent Claim 103 words
The comparator of claim 10, wherein the final comparing circuit comprises: a series of gates, each gate in the series being coupled to receive the first output signal from one of the one-bit comparing circuits that corresponds to the gate and coupled to receive the second output signal from each one-bit comparing circuit that corresponds to a bit of the first value that is more significant than a bit of the first value that corresponds to the one-bit comparing circuit that provides the first output signal to the gate; and combination logic coupled to receive output signals from each gate in the series.
Claim 15
Dependent Claim 15 words
The comparator of claim 11, wherein each gate in the series is a NAND gate.
Claim 16
Dependent Claim 32 words
The comparator of claim 12, further comprising an inverter coupled to received the first output signal from the one-bit comparing circuit that corresponds to the most significant bit of the first value.
Claim 17
Dependent Claim 31 words
The comparator of claim 13, wherein the combination logic comprises a NAND gate having input terminals coupled to the output terminals of the inverter and the NAND gates in the series.
Claim 18
Dependent Claim 145 words
A one-bit comparator for comparing two bits ai and bi with each other, comprising: a size comparator that generates a first signal indicating whether the bit ai is greater than the bit bi or the bit ai is less than or equal to the bit bi, wherein the size comparator comprises: a first MOS transistor of a first conductivity having a gate connected to the bit bi and having a source and a drain connected between the bit ai and a first output terminal; a second MOS transistor of a second conductivity having a gate connected to the bit bi and having a drain and a source connected between the first output terminal and a ground terminal; an equality comparator that generates a second signal indicating whether the bit ai is equal to the bit bi or the bit ai differs from the bit bi.
Claim 19
Dependent Claim 145 words
A one-bit comparator for comparing two bits ai and bi with each other, comprising: a size comparator that generates a first signal indicating whether the bit ai is greater than the bit bi or the bit ai is less than or equal to the bit bi, wherein the size comparator comprises: a first MOS transistor of a first conductivity having a gate connected to the bit bi and having a source and a drain connected between the bit ai and a first output terminal; a second MOS transistor of a second conductivity having a gate connected to the bit bi and having a drain and a source connected between the first output terminal and a ground terminal; an equality comparator that generates a second signal indicating whether the bit ai is equal to the bit bi or the bit ai differs from the bit bi.
Claim 20
Dependent Claim 21 words
The comparator of claim 15, wherein the drain of the second MOS transistor is directly connected to the first output terminal.
Claim 21
Dependent Claim 95 words
The comparator of claim 15, wherein the equality comparator comprises: a first transfer gate coupled between the bit ai and a second output terminal, the first transfer gate having a gate coupled so that the first transfer gate conducts or not in response to the bit bi; an inverter coupled to the bit ai; and a second transfer gate coupled between an output terminal of the inverter and the second output terminal, the second transfer gate having a gate coupled so that the second transfer gate conducts when the first transfer gate does not conduct.
Claim 22
Dependent Claim 44 words
The comparator of claim 17, further comprising a third transfer gate coupled between the bit bi and the second output terminal, the third transfer gate having a gate coupled so that the third transfer gate conducts or not in response to the bit ai.
Claim 23
Dependent Claim 24 words
The comparator of claim 18, further comprising a second inverter coupled between the second output terminal and the first, second, and third transfer gates.
Claim 24
Dependent Claim 37 words
The comparator of claim 19, wherein the first transfer gate comprises a first transistor of a first conductivity and the second transfer gate comprises a second transistor of a second conductivity that is opposite the first conductivity.

References Cited (Backward Citations)

US4870305A Cited
US5357235A Cited
US5334888A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2002-11-15 2003-05-17 2003-11-16 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2006-11-15 2007-05-17 2007-11-16 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2010-11-15 2011-05-17 2011-11-16 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag