# US 6,154,120 A · Method and apparatus for an N-nary equality comparator

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,154,120 A
- Document ID: US6154120A
- Status: Granted
- Kind: A
- Application number: 09/206,631
- Filed: 1998-12-07
- Granted: 2000-11-28
- Earliest claimed: 1998-12-07
- Assignees: EVSX, Inc.
- Inventors: Anthony M. Petro; James S. Blomgren
- Web page: https://patentgrep.com/patent/US6154120A

## CPC

- G06F 30/30: Circuit design
- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 7/02: Comparing digital values (G06F7/06, {G06F7/22,} G06F7/38 take precedence)
- G11C 8/10: Decoders
- G11C 11/56: using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
- G11C 19/00: Digital stores in which the information is moved stepwise, e.g. shift registers
- H03K 19/0002: {Multistate logic (H03K19/02 takes precedence)}
- H03K 19/00346: {Modifications for eliminating interference or parasitic voltages or currents}
- H03K 19/00361: {in field effect transistor circuits}
- H03K 19/00384: {in field effect transistor circuits}
- H03K 19/0963: {using transistors of complementary type (H03K19/0966 takes precedence)}
- G06F 7/49: Computations with a radix, other than binary, 8, 16 or decimal, e.g. ternary, negative or imaginary radices, mixed radix {non-linear PCM (G06F7/4824 takes precedence)}
- G06F 7/508: using carry look-ahead circuits
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

The present invention is an N-nary equality comparator that receives as inputs two 32-bit 1-of-4 operands. The equality comparator generates an "equal" indicator if the values of the two operands are equal. The equality comparator generates a "not equal" indicator if the values of the two operands are not equal.

## Claims

### Claim 1

An apparatus that compares the values of two N-nary operands, comprising:
a 1-of-P first input that receives a 1-of-P first operand;
a 1-of-Q second input that receives a 1-of-Q second operand;
a 1-of-R result output that delivers a 1-of-R result;
an individual equality logic, coupled to said first input and to said second input, that produces an indication of whether the value of a grouping of one or more bits of said first operand is equal to the value of a corresponding grouping of one or more bits of the said second operand;
a block equality logic, coupled to said individual equality logic, that produces a block equality indicator; and
a comparison logic, coupled to said block equality logic and to said result output, that produces said 1-of-R result, where said 1-of-R result comprises an equal value if the value of said first operand is equal to the value of said second operand, said 1-of-R result further comprises a not equal value if the value of said first operand is not equal to the value of said second operand.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein P and Q equal four and wherein R equals two.

### Claim 3

A system for comparing the values of two N-nary operands, comprising:
a first input means for receiving a 1-of-P first operand;
a second input means for receiving a 1-of-Q second operand;
a result output means for delivering a 1-of-R result;
an individual equality logic means, coupled to said first input means and to said second input means, for producing an indication of whether the value of a grouping of one or more bits of said first operand is equal to the value of a corresponding grouping of one or more bits of the said second operand;
a block equality logic means, coupled to said individual equality logic means, for producing a block equality indicator; and
a comparison logic means, coupled to said block equality logic means and to said result output means, for producing said 1-of-R result, where said 1-of-R result comprises an equal value if the value of said first operand is equal to the value of said second operand, said 1-of-R result further comprises a not equal value if the value of said first operand is not equal to the value of said second operand.

### Claim 4 (depends on 3)

The system of claim 3 wherein P and Q equal four and wherein R equals two.

### Claim 5

A method to make an apparatus that compares the values of two N-nary operands, comprising:
providing a 1-of-P first input that receives a 1-of-P first operand;
providing a 1-of-Q second input that receives a 1-of-Q second operand;
providing a 1-of-R result output that delivers a 1-of-R result;
providing an individual equality logic that produces an indication of whether the value of a grouping of one or more bits of said first operand is equal to the value of a corresponding grouping of one or more bits of the said second operand;
coupling said individual equality logic to said first input and to said second input;
providing a block equality logic that produces a block equality indicator;
coupling said block equality logic to said individual equality logic;
providing a comparison logic that produces said 1-of-R result, where said 1-of-R result comprises an equal value if the value of said first operand is equal to the value of said second operand, said 1-of-R result further comprises a not equal value if the value of said first operand is not equal to the value of said second operand; and
coupling said comparison logic to said block equality logic and to said result output.

### Claim 6 (depends on 5)

The method of claim 5 wherein P and Q equal four and wherein R equals two.

### Claim 7

A method to compare the values of two N-nary operands, comprising:
receiving a 1-of-P first operand;
receiving a 1-of-Q second operand;
producing an indication of whether the value of a grouping of one or more bits of said first operand is equal to the value of a corresponding grouping of one or more bits of the said second operand;
producing a block equality indicator; and
producing a 1-of-R result, where said 1-of-R result comprises an equal value if the value of said first operand is equal to the value of said second operand, said 1-of-R result further comprises a not equal value if the value of said first operand is not equal to the value of said second operand.

### Claim 8 (depends on 7)

The method of claim 7 wherein P and Q equal four and wherein R equals two.
