High speed and efficient matrix multiplication hardware module
Abstract
A matrix multiplication module and matrix multiplication method are provided that use a variable number of multiplier-accumulator units based on the amount of data elements of the matrices are available or needed for processing at a particular point or stage in the computation process. As more data elements become available or are needed, more multiplier-accumulator units are used to perform the necessary multiplication and addition operations. To multiply an N×M matrix by an M×N matrix, the total (maximum) number of used MAC units is “2*N−1”. The number of MAC units used starts with one (1) and increases by two at each computation stage, that is, at the beginning of reading of data elements for each new row of the first matrix. The sequence of the number of MAC units is {1, 3, 5, . . . , 2*N−1} for computation stages each of which corresponds to reading of data elements for each new row of the left hand matrix, also called the first matrix. For the multiplication of two 8×8 matrices, the performance is 16 floating point operations per clock cycle. For an FPGA running at 100 MHz, the performance is 1.6 Giga floating point operations per second. The performance increases with the in
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 44.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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 multip
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 44 total)
References Cited — Backward Prior Art (38)
Non-Patent Literature (5)
- Campbell et al., "Resource and Delay Efficient Matrix Multiplication Using Newer FPGA Devices," GLSVLSI, Apr. 2006, pp. 308-311.
- Campbell S.J. et al., "Resource and Delay Efficient Matrix Multiplication Using Newer FPGA Devices," GLSVLSI, Apr. 30-May 2, 2006, Philadelphia, PA, pp. 308-311.
- Dou Y. et al., "64-Bit Floating-Point FPGA Matrix Multiplication," FPGA, Feb. 20-22, 2005, Monterey, CA, pp. 86-95.
- European Search Report dated Jun. 24, 2009, cited in European Patent Application No. 08159750.2.
- F. Bensaali et al., "Accelerating Matrix Product on Reconfigurable Hardware for Image Processing Applications," IEE Proc.-Circuits Devices Syst., vol. 152, No. 3, Jun. 2005.