Just performs arithmetic to do the matrix multiplication and outputs the result.
Use the DIP switches to set the value of each position in the two matrices you're multiplying. That means that each position in each input matrix can only contain a zero or one. The output is 4 groups of 2 bits, each group representing one of the positions in the output matrix.
# | Input | Output |
---|---|---|
0 | 7 is Matrix 1, top left | 7 is Result matrix, top left, bit 1 |
1 | 6 is Matrix 1, top right | 6 is Result matrix, top left, bit 0 |
2 | 5 is Matrix 1, bottom left | 5 is Result matrix, top right, bit 1 |
3 | 4 is Matrix 1, bottom right | 4 is Result matrix, top right, bit 0 |
4 | 3 is Matrix 2, top left | 3 is Result matrix, bottom left, bit 1 |
5 | 2 is Matrix 2, top right | 2 is Result matrix, bottom left, bit 0 |
6 | 1 is Matrix 2, bottom left | 1 is Result matrix, bottom right, bit 1 |
7 | 0 is Matrix 2, bottom right | 0 is Result matrix, bottom right, bit 0 |