2. Modify file DE2-70-TOP.v so that it controls the VGA to display colours according to the settings of the iSWs, especially: Red colour signal is controlled by the [17:12] bits of the switch; Green colour signal is controlled by [11:6] bits of the switch; Blue colour signal is controlled by [5:0] bits of the switch. Note that RGB signals are 10 bits signals here, so you have to decide how to expand the 6 bits read from the switches to 10 bits signals
Part2: Generating display patterns based on current pixel position
1. In this part, you generate a pattern of coloured display. You need to decide what pattern to be generated, but you have to make the pattern taken into account of the current pixel coordinators.
2. The minimum requirement for this part is to generate a pattern which divides the screen into 4 equal areas, with each display a different colour. Use iSW17 to control displaying / not displaying the top-left area, iSW16 for top right area, iSW15 and iSW14 for the two bottom areas respectively.
3. After you achieve the minimum requirement, you will design an animated display pattern. If part of the displayed image moves out of the screen area, you should make it re-appear or moves back. i.e. moving images should not disappear from the screen area indefinitely.