a := in[0:1], b := in[2:3], c := in[4:5], d := in[6:7] - [a,b,c,d] => [ac * bd]
set input to 11011010 => which means [11,01]⋅[10,10] => as ints [3,1]⋅[2,2] => output should be 00001000 => (32) + (12) = 8
# | Input | Output |
---|---|---|
0 | clock | segment a |
1 | reset | segment b |
2 | segment c | |
3 | segment d | |
4 | segment e | |
5 | segment f | |
6 | segment g | |
7 |