This is an old revision of the document!
VGA
The MSE-Embedded platform contains one VGA connector as indicated in the below figure.
The MSE-Embedded board contains a Triple 10-bit DAC which is connected to the VGA connector. Here you can find the datasheets for the VGA connector and the Triple DAC.
The control pins of this Triple DAC which are connected to the FPGA are listed in the table below. An example tcl-file that can be used with Quartus can be found here.
Function: | short: | FPGA-pin: |
---|---|---|
Horizontal Synchronization | HSYNC | PIN_M22 |
Vertical Synchronization | VSYNC | PIN_M21 |
Clock input | DAC_CLK | PIN_B20 |
Red pixel data input 0 | RED0 | PIN_K17 |
Red pixel data input 1 | RED1 | PIN_K18 |
Red pixel data input 2 | RED2 | PIN_D20 |
Red pixel data input 3 | RED3 | PIN_F19 |
Red pixel data input 4 | RED4 | PIN_H19 |
Red pixel data input 5 | RED5 | PIN_H20 |
Red pixel data input 6 | RED6 | PIN_K19 |
Red pixel data input 7 | RED7 | PIN_C21 |
Red pixel data input 8 | RED8 | PIN_C22 |
Red pixel data input 9 | RED9 | PIN_D21 |
Green pixel data input 0 | GREEN0 | PIN_L22 |
Green pixel data input 1 | GREEN1 | PIN_L21 |
Green pixel data input 2 | GREEN2 | PIN_K21 |
Green pixel data input 3 | GREEN3 | PIN_J22 |
Green pixel data input 4 | GREEN4 | PIN_J21 |
Green pixel data input 5 | GREEN5 | PIN_H22 |
Green pixel data input 6 | GREEN6 | PIN_H21 |
Green pixel data input 7 | GREEN7 | PIN_F22 |
Green pixel data input 8 | GREEN8 | PIN_F21 |
Green pixel data input 9 | GREEN9 | PIN_D22 |
Blue pixel data input 0 | BLUE0 | PIN_J18 |
Blue pixel data input 1 | BLUE1 | PIN_J17 |
Blue pixel data input 2 | BLUE2 | PIN_H18 |
Blue pixel data input 3 | BLUE3 | PIN_H17 |
Blue pixel data input 4 | BLUE4 | PIN_G17 |
Blue pixel data input 5 | BLUE5 | PIN_F17 |
Blue pixel data input 6 | BLUE6 | PIN_H16 |
Blue pixel data input 7 | BLUE7 | PIN_A20 |
Blue pixel data input 8 | BLUE8 | PIN_B19 |
Blue pixel data input 9 | BLUE9 | PIN_A19 |
Some useful funktions that can be used with the Nios can be found here (vga.c) and here (vga.h).