Method for address comparison and a device having address comparison capabilities
First Claim
1. A method for address comparison, the method comprising:
- receiving an input address;
determining whether the input address is within a memory segment out of a group of memory segments by comparing, in parallel, the input address to memory segment boundaries of each memory segment of the group;
wherein a comparison between the input address and a memory segment boundary comprises;
applying, by a comparison circuit, a XOR operation on bits of a most significant portion of the input address and corresponding bits of a most significant portion of the memory segment boundary;
ignoring bits of a least significant portion of the input address and corresponding bits of a least significant portion of the memory segment boundary; and
comparing, by utilizing a set of full comparators, between bits of an intermediate portion of the input address and corresponding bits of an intermediate portion of the memory segment boundary;
wherein a location of bits that form the intermediate portion of the input address and of the memory segment boundary is selected in response to an alignment restriction imposed on the memory segment, to a size of the memory segment and in response to a boundary restriction imposed on the memory segment.
20 Assignments
0 Petitions
Accused Products
Abstract
A method for address comparison, the method includes: (i) receiving an input address; (ii) determining whether the input address is within a memory segment out of a group of memory segments by comparing, in parallel, the input address to memory segment boundaries of each memory segment of the group; (iii) wherein a comparison between the input address and a memory segment boundary comprises: (a) applying a XOR operation on bits of a most significant portion of the input address and corresponding bits of a most significant portion of the memory segment boundary; (b) ignoring bits of a least significant portion of the input address and corresponding bits of a least significant portion of the memory segment boundary; and (c) comparing, by utilizing a set of full comparators, between bits of an intermediate portion of the input address and corresponding bits of an intermediate portion of the memory segment boundary; wherein a location of bits that form the intermediate portion of the input address and of the memory segment boundary is selected in response to an alignment restriction imposed on the memory segment, to a size of the memory segment and in response to a boundary restriction imposed on the memory segment.
9 Citations
19 Claims
-
1. A method for address comparison, the method comprising:
-
receiving an input address; determining whether the input address is within a memory segment out of a group of memory segments by comparing, in parallel, the input address to memory segment boundaries of each memory segment of the group; wherein a comparison between the input address and a memory segment boundary comprises; applying, by a comparison circuit, a XOR operation on bits of a most significant portion of the input address and corresponding bits of a most significant portion of the memory segment boundary; ignoring bits of a least significant portion of the input address and corresponding bits of a least significant portion of the memory segment boundary; and comparing, by utilizing a set of full comparators, between bits of an intermediate portion of the input address and corresponding bits of an intermediate portion of the memory segment boundary; wherein a location of bits that form the intermediate portion of the input address and of the memory segment boundary is selected in response to an alignment restriction imposed on the memory segment, to a size of the memory segment and in response to a boundary restriction imposed on the memory segment. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system having address comparison capabilities, the system comprising:
-
an interface for receiving an input address; an address comparison unit, configured to determine whether the input address is within a memory segment out of a group of memory segments by comparing, in parallel, the input address to memory segment information of each memory segment of the group; wherein the address comparison unit comprises multiple comparison modules;
each comparison module comprises a pair of comparison circuits;
whereas a first comparison circuit compares the input address to a memory segment boundary and a second comparison circuit compares the input address to a memory segment end address;wherein the first comparison circuit comprises multiple XOR gates, a set of full comparators, and a selection circuit; wherein the selection circuit is configured to; provide bits of a most significant portion of the input address and corresponding bits of a most significant portion of the memory segment boundary to the multiple XOR gates; provide bits of an intermediate portion of the input address and corresponding bits of an intermediate portion of the memory segment boundary to the set of comparators; wherein the multiple XOR gates are configured to apply a XOR operation on the bits of the most significant portion of the input address and corresponding bits of the most significant portion of the memory segment boundary; wherein the set of full comparators are configured to compare between the bits of the intermediate portion of the input address and the corresponding bits of the intermediate portion of the memory segment boundary; wherein the address comparison unit ignores bits of a least significant portion of the input address and corresponding bits of a least significant portion of the memory segment boundary; and wherein the selection circuit is responsive to selection information that determined a location of bits that form the intermediate portion of the input address and of the memory segment boundary;
wherein the selection information is determined in response to an alignment restriction imposed on the memory segment, to a size of the memory segment and in response to a boundary restriction imposed on the memory segment. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
Specification