ECAD and Architecture Practical Classes
In these laboratory sessions VGA graphics are generated including the timing signals. The following reviews VGA timing that was also discussed in a lecture.
The VGA signal is used to perform a raster scan of the screen, pixel by pixel, starting from the top left, and working left-to-right, top-to-bottom down the screen. A VGA signal contains a red, green and blue analogue signal modulated in a serial manner. These give the colour values for each pixel on the monitor. In order to allow the monitor to keep in sync with the signal, hsync and vsync signals are also provided that notify the monitor when a row is about to start, or when a new frame is about to start respectively. These are described in more detail below.
The image below shows the basic timing requirements for each row that is displayed on a VGA monitor. An active-low pulse of a set duration (time a in the figure) if applied to the horizontal synchronisation (VGA_HSYNC) of the monitor, which signifies the end of one row of data and the start of the next. The data inputs on the monitor must be off for a time period called the back porch (b) after the hsync pulse occurs, which is followed by a display interval (c). During the display interval the RGB data drives each pixel in turn across the row being displayed. Finally, there is a time period called the front porch (d) where the RGB signals must again be off before the next hsync pulse occurs. The timing of the vertical synchronisation pulses is the same, except each pulse signifies the end of one frame and the start of the next.