Reduced-modulus address generation using sign-extension and correction
AssigneeExponential Technology, Inc.
InventorsEarl T. Cohen, James S. Blomgren
Life of this patent
Estimating the term…
Loading patent…
AssigneeExponential Technology, Inc.
InventorsEarl T. Cohen, James S. Blomgren
Estimating the term…
A mixed-modulo address generation unit has several inputs, preferably three. The unit can effectively add together a subset of these inputs in a reduced modulus, and simultaneously add this partial sum to a full-width input using a full modulus, the full modulus being greater than the reduced modulus. Reduced-width address components, such as 16-bit components with a 32-bit adder, are applied to the subset of inputs. The mixed modulo address generation unit sign-extends to 32-bits one input that includes a sign bit, the input being in the subset of inputs. Each input in the subset of inputs is applied to a carry-generate unit which signals if the partial sum is equal to or exceeds the reduced modulus. Under normal conditions, the full-modulus sum from the adder is output as a linear address. However, if the carry-generate unit signals a carry-out, and the sign bit indicates a positive number, then the full-modulus sum is recirculated to one of the adder's inputs and a correction term, equal to the two's complement of the reduced modulus, is added to produce the linear address. If the carry generate unit does not signal a carry-out, but the sign bit indicates a negative number, then the full-modulus sum is recirculated to one of the adder's inputs and a correction term, equal to the reduced modulus, is added to produce the linear address.
A mixed-modulo adder for adding together an unsigned reduced-width binary number and a signed reduced-width binary number in a reduced modulus, while further adding in a full-width binary number in a full modulus, the mixed-modulo adder comprising:
A mixed-modulo adder for adding together a first reduced-width address component having a reduced width and a second reduced-width address component in a reduced modulus, while further adding in a full-width address component in a full modulus having a full width, the second reduced-width address component having a sign bit indicating if the second reduced-width address component is treated as a positive or a negative number, the mixed-modulo adder comprising:
A computer-implemented method for adding a first and a second address component to a third address component in a full-width adder on a central processing Unit (CPU), the first and second address components having a reduced width, the third address component having a full width, the first, second, and third address components each being represented by a plurality of signals on a bus, the second address component having a sign bit signal, the method comprising:
A mixed-modulo adder for adding together a subset of inputs in a reduced modulus, while further adding to the subset of inputs a full-width binary number in a full modulus, the mixed-modulo adder comprising:
Dependencies are inferred from the claim text.