Question 5: (a) Write an HDL code for a VGA driver with the specification given below: Format 800x600, 72Hz 50.000 Pixel
Posted: Sun Jul 03, 2022 9:58 am
Question 5: (a) Write an HDL code for a VGA driver with the specification given below: Format 800x600, 72Hz 50.000 Pixel Clock (MH:) . . (15 marks, CLO4 (CS)) The internal clock of the Nexys-2 trainer board is 50 MHz. • Nexys-2 board supports VGA port with 8-bit colour. 8-bit colour is defined as: Horizontal (in Pixels) Vertical (in Lines) Active Front Syne Back Active Front Syne Back Video Porch Pulse Porch Video Porch Pulse Porch 600 37 6 23 800 56 120 64 (b) Write an HDL code to produce 3 different images as shown in Figure 1 on the monitor. using VGA controller described in part (a). An 8-bit colour image is saved in ROM. Image pixels value is saved in subsequent memory addresses of ROM. The resolution of the image is 256 x 256. Formula for RGB to Gray: Gray, 11 x Red +22 x Green +8 x Blue Bit # 3 2 1 7 6 5 4 0 Colour Red Red Red Green Green Green Blue Blue . 3 different images as shown in Figure 1 are: 1. RGB, Image (8-bit colour image) 2. Gray, Image 3. B&W, Image (Black and White image) d₁.d, and dy are the distances in the Figure 1. dz 1 2d₂ d 2 12d₂ 3 d₂ Figure 1