
It accepts two 4-bit unsigned integer: m and q, and calculate the product, p.

Provide several pairs of m and q (for example, (0, 1), (12, 13), (3, 4), (0, 0), (15, 15)). Then check whether the output is equal to the product of the two numbers.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | q[0] | p[0] | |
| 1 | q[1] | p[1] | |
| 2 | q[2] | p[2] | |
| 3 | q[3] | p[3] | |
| 4 | m[0] | p[4] | |
| 5 | m[1] | p[5] | |
| 6 | m[2] | p[6] | |
| 7 | m[3] | p[7] |