US20030193942A1

Method and apparatus for fast integer within-range compare

Claim Score by NHIP

Read claim 11, the broadest

Abstract

A fast with-in range comparator is implemented in digital logic. A packet arrives at a device for processing. Initial packet data that is available in a first read cycle, is used to compute data that is necessary for later cycles. The initial data and the subsequently data are then used to test a single value against a range of values. In a method of the present invention a range is separated into two ranges. An upper limit of the first range is tested to determine whether the value is below the upper limit. If this test fails, the value is tested to determine whether the value is between the upper limit of the first range and the upper limit of the full range. The ranges are tested by constructing a bit vector. Data representing the capability of a communicating port, is then used to index into the bit vector. The outcome of the index is a value that signifies whether the port can support the packet or not.

US20030193942A1, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Projected expiry passed 6 January 2025, 1.7 years ago.

  1. Priority and filed
  2. Published
  3. Projected expiry
  4. Today

14 claims: 4 independent, 10 dependent

  1. 1
    A system comprising:an encoder constructing a bit vector in response to packet information, the bit vector including bit positions;a memory storing port information;and indexing logic coupled to the encoder and coupled to the memory, the indexing logic generating an output signal by using the port information to index into a bit position in the bit vector.
  2. 10
    A system comprising:an encoder means for constructing a bit vector in response to packet information, the bit vector including bit positions;a memory means for storing port information;and indexing logic means coupled to the encoder means and coupled to the memory means, the indexing logic means for generating an output signal by using the port information to index into a bit position in the bit vector.
  3. 11
    Broadest claimClaim Score 86, broad(NHIP)A method of operating a system comprising the steps of:constructing a bit vector in response to packet information, the bit vector including bit positions;storing port information;and generating an output signal by using the port information to index into a bit position in the bit vector.
  4. 12
    A method of operating a system comprising the steps of:receiving a first value associated with a packet;constructing a first range of values in response to the first value associated with the packet;storing a second range of values;synthesizing a second value from the second range of values;and generating an output signal by using the second single value to index into the first range of values.