×

High speed and efficient matrix multiplication hardware module

  • US 8,051,124 B2
  • Filed: 07/19/2007
  • Issued: 11/01/2011
  • Est. Priority Date: 07/19/2007
  • Status: Active Grant
First Claim
Patent Images

1. A matrix multiplication device for computing a multiplication of a first matrix with a second matrix, comprising:

  • a first memory for storing data elements of the first matrix and a second memory for storing data elements of the second matrix;

    a plurality of multiplier-accumulator units each of which comprises a multiplier circuit configured to multiply two data elements to produce a product value and an adder circuit configured to add the product value with an addend value to produce a result value; and

    a storage unit comprising a plurality of storage locations;

    wherein the plurality of multiplier-accumulator units are configured to perform the multiplication of the first matrix with the second matrix in N computation stages, where N is the number of rows of the first matrix and N is greater than 1, and for each integer j from 1 to N, to read data elements of the jth row of the first matrix from the first memory and data elements of the jth column of the second matrix from the second memory during a jth computation stage, and to use 2j−

    1 of the plurality of multiplier-accumulator units during the jth computation stage to multiply data elements of the jth row of the first matrix by data elements of the jth column of the second matrix and by data elements of each column of the second matrix preceding the jth column and to multiply data elements of each row of the first matrix preceding the jth row by data elements of the jth column of the second matrix;

    wherein the storage unit is configured to store data elements of the first and second matrices that are applied to a multiplier-accumulator unit during a computation stage for use in a subsequent computation stage.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×