====== VGA ====== The MSE-Embedded platform contains one VGA connector as indicated in the below figure. {{:mse-em-board:mse-em-board_vga_dac.jpg?direct&700|}} 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 {{:mse-em-board:dsub_conn.pdf| VGA connector}} and the {{:mse-em-board:10bits_dac.pdf| 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 {{:mse-em-board:vga.tcl|here}}.
Function:short:FPGA-pin:
Horizontal SynchronizationHSYNCPIN_M22
Vertical SynchronizationVSYNCPIN_M21
Clock inputDAC_CLKPIN_B20
Red pixel data input 0RED0PIN_K17
Red pixel data input 1RED1PIN_K18
Red pixel data input 2RED2PIN_D20
Red pixel data input 3RED3PIN_F19
Red pixel data input 4RED4PIN_H19
Red pixel data input 5RED5PIN_H20
Red pixel data input 6RED6PIN_K19
Red pixel data input 7RED7PIN_C21
Red pixel data input 8RED8PIN_C22
Red pixel data input 9RED9PIN_D21
Green pixel data input 0GREEN0PIN_L22
Green pixel data input 1GREEN1PIN_L21
Green pixel data input 2GREEN2PIN_K21
Green pixel data input 3GREEN3PIN_J22
Green pixel data input 4GREEN4PIN_J21
Green pixel data input 5GREEN5PIN_H22
Green pixel data input 6GREEN6PIN_H21
Green pixel data input 7GREEN7PIN_F22
Green pixel data input 8GREEN8PIN_F21
Green pixel data input 9GREEN9PIN_D22
Blue pixel data input 0BLUE0PIN_J18
Blue pixel data input 1BLUE1PIN_J17
Blue pixel data input 2BLUE2PIN_H18
Blue pixel data input 3BLUE3PIN_H17
Blue pixel data input 4BLUE4PIN_G17
Blue pixel data input 5BLUE5PIN_F17
Blue pixel data input 6BLUE6PIN_H16
Blue pixel data input 7BLUE7PIN_A20
Blue pixel data input 8BLUE8PIN_B19
Blue pixel data input 9BLUE9PIN_A19
Some useful functions that can be used with the NIOS can be found {{:mse-em-board:vga.c| here (vga.c)}} and {{:mse-em-board:vga.h| here (vga.h)}}.