INTMUL Multiplication matricielle de nombre entiers
The INTMUL block computes the matrix multiplication of two integers inputs matrices.The number of rows of the second matrix must be equal to the number of columns of the first matrix. The output is a matrix where the number of rows is equal to the number of rows of the first input matrix and the number of columns is equal to the number of columns of the second input matrix. This block support all the integer data type.
On overflow, the result can take different forms:
1- A normal non saturated result.
2- A saturated result.
3- An error message warning the user about the overflow.
The user can select one of these three forms by setting the "DO ON OVERFLOW" field to 0,1 or 2.
- Datatype (3=int32 4=int16 5=int8 ...)
It indicates the type of the input/output data. It support all the integer datatype, number must be between 3 and 8.
Propriétés : Type 'vec' de taille 1.
- Do on Overflow(0=Nothing 1=Saturate 2=Error)
When this parameter is set to zero the result is similar to a normal multiplication of two integer matrix. When it is set to 1, on overflow the block saturate the result. When it is set to 2, on overflow an error message box appears.
Propriétés : Type 'vec' de taille 1.
- toujours actif: non
- direct-feedthrough: oui
- détection de passage à zéro: non
- mode: non
- entrée régulières:
- port 1 : taille [-1,-2] / type 3
- port 2 : taille [-2,-3] / type 3
- sorties régulières:
- port 1 : taille [-1,-3] / type 3
- nombre des entrées évènementielles: 0
- nombre des sorties évènementielles: 0
- possède un état continu: non
- possède un état discret: non
- possède un état objet: non
- nom de la fonction de calcul: matmul_i32
- SCI/macros/scicos_blocks/IntegerOp/INTMUL.sci [voir code]
Fady NASSIF INRIA