
This is a Chisel template
Currently we use cocotb, this shall change to ChiselTest
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | left player up | r[1] | state[0] |
| 1 | left player down | g[1] | state[1] |
| 2 | right player up | b[1] | state[2] |
| 3 | right player down | v-sync | v-sync |
| 4 | engage left player autopilot | r[0] | h-sync |
| 5 | engage right player autopilot | g[0] | left player lost |
| 6 | b[0] | right player lost | |
| 7 | h-sync | game tick |