Patent ID: 6397238
Filing Date: 2002-05-28
Classification: G06F

Abstract:
A multiplier capable of supporting different rounding modes comprising:a multiplier input configured to receive a multiplier operand; a multiplicand input configured to receive a multiplicand operand; a partial product generator configured to receive said multiplicand operand and generate a corresponding plurality of potential partial products; partial product selection logic configured to receive said multiplier operand and select at least one of said potential partial products; a partial product array adder coupled to partial product selection logic and configured to receive and sum said selected partial products to form a redundant-form product; rounding constant selection logic configured to select a rounding constant corresponding to the selected rounding mode; a first path comprising one or more adders, wherein said first path is configured to receive, sum, and round said redundant-form product and said rounding constant, assuming no overflow will occur, to form a first non-redundant-form product; a second path comprising one or more adders, wherein said second path is configured to receive, sum, and round said redundant-form product and said rounding constant, assuming an overflow will occur, to form a second non-redundant-form product; and selection logic coupled to said first path and said second path, wherein said selection logic is configured to select between said first non-redundant-form product and said second non-redundant-form product.