DIYVGA.md

August 27, 2021 ยท View on GitHub

VGA 6-6-6 bits RGB DAC

Quite the hack! Does the job.

Bottom wires come from the VGA cable, white and brown are horizontal/vertical synch.

This was tested on the Mojo v3, de10nano and IceStick.

Note that on boards with two side-by-side PMOD connectors (e.g. IceBreaker, ECPIX5) you may use an existing VGA PMOD such as the one by Digilent.

VGA DAC

Pinout for the IceStick

IceStick pinsVGA signal
PMOD7 (pin 87)horiz. synch
PMOD10 (pin 91)vert. synch
PMOD1 (pin 78)red 0
PMOD2 (pin 79)red 1
PMOD3 (pin 80)red 2
PMOD4 (pin 81)red 3
PMOD8 (pin 88)red 4
PMOD9 (pin 90)red 5
TR10 (pin 119)green 0
TR9 (pin 118)green 1
TR8 (pin 117)green 2
TR7 (pin 116)green 3
TR6 (pin 115)green 4
TR5 (pin 114)green 5
BR10 (pin 44)blue 0
BR9 (pin 45)blue 1
BR8 (pin 47)blue 2
BR7 (pin 48)blue 3
BR6 (pin 56)blue 4
BR5 (pin 60)blue 5

Pinout for the de10nano

The de10nano pinout is now compatible with the VGA onboard the MiSTer IO board

de10nano pinsVGA signal
pin AH22horiz. synch
pin AG24vert. synch
pin AE17red 0
pin AE20red 1
pin AF20red 2
pin AH18red 3
pin AH19red 4
pin AF21red 5
pin AE19green 0
pin AG15green 1
pin AF18green 2
pin AG18green 3
pin AG19green 4
pin AG20green 5
pin AG21blue 0
pin AA20blue 1
pin AE22blue 2
pin AF22blue 3
pin AH23blue 4
pin AH21blue 5

Pinout for the MojoV3

(NOTE: the MojoV3 is not fully integrated in the new build system)

MojoV3 pinsVGA signal
pin 133horiz. synch
pin 134vert. synch
pin 23red 0
pin 21red 1
pin 16red 2
pin 14red 3
pin 11red 4
pin 50red 5
pin 24green 0
pin 22green 1
pin 17green 2
pin 15green 3
pin 12green 4
pin 51green 5
pin 92blue 0
pin 94blue 1
pin 97blue 2
pin 93blue 3
pin 95blue 4
pin 98blue 5