14. MMAC_fun_ctest_GF2M
14.1. Function description:
This demo shows the operation of MMAC in GF(2^m).
Allocate enough memory space of SRAM used by internal logic during computation.
Filling data to address of operand a0, a1 & a2.
Configure MMAC coefficient & start MMAC operation.
Waiting process done to compare the result with the golden data to check.
14.2. Main Configuration:
14.2.1. MMAC operation:
Operation code |
Field |
Op a0 length |
Operand a0 shift |
Op a1 length |
Operand a1 shift |
Op a2 length |
Operand a2 shift |
Operation of a0 & a1 |
Operation of a1 & a2 |
Shift option |
OP_MMAC |
GF(2^m) |
8 words |
1 |
8 words |
1 |
8 words |
1 |
add |
sum |
letf shift of addends |
14.3. Test result:
If the result is same as the standard data, then print pass, if not print fail.
14.4. IO connection:
None