Systolic array for matrix triangularization and back-substitution
AssigneeXilinx, Inc.
InventorsRaghavendar M. Rao, Christopher H. Dick
Life of this patent
Estimating the term…
Abstract
Methods for matrix processing and devices therefor are described. A systolic array in an integrated circuit is coupled to receive a first matrix as input; and is capable of operating in two modes, namely a triangularization mode and a back-substitution mode. The systolic array, when in a triangularization mode, is coupled to triangularize the first matrix to provide a second matrix. When in a back-substitution mode, the systolic array is coupled to invert the second matrix.
Claims15
A systolic array in an integrated circuit for matrix triangularization and back-substitution, comprising:
- boundary cells;
- internal cells coupled to the boundary cells;
- the boundary cells and the internal cells each configurable for a triangularization mode and a back-substitution mode, wherein the boundary cells and the internal cells are configurable for a selective one of the triangularization mode and the back-substitution mode in response to a mode signal input that selects one of the triangularization mode and the back-substitution mode;
- the boundary cells coupled to have respective first residues from a triangularization of an input matrix as part of a completion of the triangularization mode and to provide inverted residues respectively associated with the first residues;
- and
- the internal cells coupled to have respective second residues from the completion of the triangularization;
- wherein, for the back-substitution mode:
- the boundary cells are coupled to receive respective first inputs;
- the boundary cells are further coupled to respectively multiply the inverted residues thereof with the first inputs to provide first outputs;
- first multipliers of the boundary cells are used in the triangularization mode being coupled for reuse for multiplications to provide the first outputs;
- the internal cells are coupled to receive second inputs respectively associated row-wise with the first outputs;
- the internal cells are further coupled to receive respective third inputs;
- the internal cells are further coupled to respectively multiply the second inputs with the second residues to provide interim results;
- the internal cells are further coupled to respectively add the interim results with the third inputs to provide second outputs;
- and
- second multipliers and adders of the internal cells used in the triangularization mode are respectively coupled for reuse for multiplications and additions to provide the second outputs.
A matrix processing device, comprising:
- a systolic array coupled to receive a first matrix as input, wherein the systolic array is configurable for a selective one of a triangularization mode and a back-substitution mode for operation in response to a mode signal input that selects one of the triangularization mode and the back-substitution mode;
- wherein the systolic array when in the triangularization mode is coupled to triangularize the first matrix to provide a second matrix;
- and
- wherein the systolic array when in the back-substitution mode is coupled to invert the second matrix.
Dependencies are inferred from the claim text.