Padding is not a supported feature of the library element. For matrices whose dimensions are not multiples of vecSampleNum, the input matrix must be
padded such that it is a multiple of vecSampleNum (the output locations corresponding to the pads should be ignored). TP_DIM must be set to the
padded dimension size. Note that although the pad samples are shown as having value 0 in the diagram below, this is not necessary for correct operation. Values outside of the 6x6 grid are not used by the IP and will not influence the values output.
The following is an example of a 6x6 matrix with vecSampleNum of 4 (thus TP_DIM set to 8):
+----------------------+ |1 0 0 0 0 0 0 0| |2 3 0 0 0 0 0 0| |4 5 6 0 0 0 0 0| |7 8 9 10 0 0 0 0| |11 12 13 14 15 0 0 0| |16 17 18 19 20 21 0 0| |0 0 0 0 0 0 0 0| |0 0 0 0 0 0 0 0| +----------------------+