20. Mul_fun_ctest

20.1. Function description:

This demo shows the operation of big number multiplication in GF(p).

  • Allocate enough memory space of SRAM used by internal logic during computation.

  • Filling data to operand a & b address for big number multiplicatio operation.

  • Configure & start big number multiplicatio operation.

  • Waiting process done to compare the result with the golden data to check.

20.2. Main Configuration:

20.2.1. MUL operation:

Operation code

Field

Operand a length

Operand b length

OP_MUL

GF(p)

5 words

5 words

20.3. Test result:

If the result is same as the standard data, then print pass, if not print fail.

20.4. IO connection:

None