Matrix-Vector Multiply - 2024.2 English

Vitis Libraries

Release Date
2024-11-29
Version
2024.2 English

The DSPLib contains a Matrix-Vector Multiply/GEMV (General Matrix Vector Multiplication) solution. The GEMV has two input ports, one for each input operand. Only IO-buffer connections are supported.

The input IO-buffer for the matrix is defined as Matrix A (inA) and is described by the TP_DIM_A and TP_DIM_B template parameters which specify the number of rows and columns in the matrix, respectively.

The second IO-buffer of data is defined as Vector B (inB) and will be a vector with a size of TP_DIM_B elements. The number of columns and the number of elements in the vector must be equal and are therefore defined by the same template parameter.

The output IO-buffer containing the result of the matrix-vector multiplication is connected to the output port. The output data will be a vector of size TP_DIM_A.