
It uses a custom VGA sync module to generate VGA sync signals, then uses pixel-clock-based logic to generate sprites and background color.
Use make to run the included vga-test submodule to run a graphical test in real time. Use make gl to run a gate-level test with the included vga-gl submodule.
Note: gate-level testing is not in real time, and presimulates the inputs and outputs. It also takes much longer to start, but will run at 60fps, as opposed to the variable fps of vga-test.
Attach all external hardware. Be sure to reset the design. Press the P2SRV button to start the game, control with up and down.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | P1UP | R1 | DE |
| 1 | P1DN | G1 | |
| 2 | P1SRV | B1 | |
| 3 | P2UP | VSYNC | |
| 4 | P2DN | R0 | |
| 5 | P2SRV | G0 | |
| 6 | B0 | L | |
| 7 | STEREO_EN | HSYNC | R/MONO |