Web viewUSE ieee.std_logic_1164.all; ENTITY hw_image_generator IS. GENERIC(pixels_y : INTEGER :=...
Transcript of Web viewUSE ieee.std_logic_1164.all; ENTITY hw_image_generator IS. GENERIC(pixels_y : INTEGER :=...
VGA parte 1
--------------------------------------------------------------------------------
--
-- FileName: hw_image_generator.vhd
-- Dependencies: none
-- Design Software: Quartus II 64-bit Version 12.1 Build 177 SJ Full Version
--
-- HDL CODE IS PROVIDED "AS IS." DIGI-KEY EXPRESSLY DISCLAIMS ANY
-- WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
-- PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL DIGI-KEY
-- BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL
-- DAMAGES, LOST PROFITS OR LOST DATA, HARM TO YOUR EQUIPMENT, COST OF
-- PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS
-- BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF),
-- ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER SIMILAR COSTS.
--
-- Version History
-- Version 1.0 05/10/2013 Scott Larson
-- Initial Public Release
--
--------------------------------------------------------------------------------
LIBRARY ieee;
USE ieee.std_logic_1164.all;
ENTITY hw_image_generator IS
GENERIC(
pixels_y : INTEGER := 480;--478; --row that first color will persist until
pixels_x : INTEGER := 640);--600); --column that first color will persist until
PORT(
disp_ena : IN STD_LOGIC; --display enable ('1' = display time, '0' = blanking time)
row : IN INTEGER; --row pixel coordinate
column : IN INTEGER; --column pixel coordinate
red : OUT STD_LOGIC_VECTOR(2 DOWNTO 0) := (OTHERS => '0'); --red magnitude output to DAC
green : OUT STD_LOGIC_VECTOR(2 DOWNTO 0) := (OTHERS => '0'); --green magnitude output to DAC
blue : OUT STD_LOGIC_VECTOR(2 DOWNTO 0) := (OTHERS => '0')); --blue magnitude output to DAC
END hw_image_generator;
ARCHITECTURE behavior OF hw_image_generator IS
BEGIN
PROCESS(disp_ena, row, column)
BEGIN
IF(disp_ena = '1') THEN --display time
IF((row > 100 and row < 102) AND (column > 105 and column<435)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 115 and row < 117) and (column > 119 and column< 426)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 99 and row < 168) and (column > 105 and column< 107)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 167 and row < 169) and (column > 105 and column< 113)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 113 and row < 157) and (column > 120 and column< 122)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 113 and row < 189) and (column > 425 and column< 427)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 99 and row < 317) and (column > 434 and column< 436)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 316 and row < 318) and (column > 435 and column< 500)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 140 and row < 142) and (column >32 and column< 134)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 140 and row < 222) and (column > 32 and column< 34)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 370 and row < 372) and (column > 205 and column< 557)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 278 and row < 371) and (column > 556 and column< 558)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 362 and row < 364) and (column > 196 and column< 535)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 256 and row < 363) and (column > 196 and column< 198)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 255 and row < 257) and (column > 196 and column< 228)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 338 and row < 340) and (column > 170 and column< 280)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 211 and row < 339) and (column > 169 and column< 171)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 210 and row < 212) and (column > 170 and column< 229)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 175 and row < 177) and (column > 157 and column< 280)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 233 and row < 235) and (column > 170 and column< 229)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 288 and row < 290) and (column > 303 and column< 399)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 266 and row < 290) and (column > 303 and column< 305)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 265 and row < 267) and (column > 294 and column< 328)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 338 and row < 340) and (column > 294 and column< 398)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 340 and row < 342) and (column > 412 and column< 499)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 340 and row < 342) and (column > 514 and column< 534)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 340 and row < 363) and (column > 532 and column< 534)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 148 and row < 350) and (column > 278 and column< 280)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 148 and row < 350) and (column > 293 and column< 295)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 147 and row < 149) and (column > 278 and column< 295)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 348 and row < 350) and (column > 278 and column< 295)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 152 and row < 354) and (column > 397 and column< 399)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 152 and row < 354) and (column > 412 and column< 414)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 151 and row < 153) and (column > 397 and column< 413)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 352 and row < 354) and (column > 397 and column< 413)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 235 and row < 308) and (column > 446 and column< 448)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 235 and row < 308) and (column > 484 and column< 486)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 234 and row < 236) and (column > 447 and column< 486)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 306 and row < 308) and (column > 447 and column< 486)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 150 and row < 353) and (column > 498 and column< 500)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 150 and row < 353) and (column > 513 and column< 515)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 150 and row < 152) and (column > 498 and column< 515)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 351 and row < 353) and (column > 498 and column< 515)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 146 and row < 148) and (column > 143 and column< 158)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 347 and row < 349) and (column > 143 and column< 158)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 147 and row < 348) and (column > 142 and column< 144)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 147 and row < 348) and (column > 156 and column< 158)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 198 and row < 200) and (column > 228 and column< 266)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 289 and row < 291) and (column > 228 and column< 266)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 199 and row < 290) and (column > 227 and column< 229)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 199 and row < 290) and (column > 265 and column< 267)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 214 and row < 216) and (column > 356 and column< 387)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 280 and row < 282) and (column > 356 and column< 387)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 215 and row < 281) and (column > 356 and column< 358)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 215 and row < 281) and (column > 385 and column< 387)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 213 and row < 215) and (column > 77 and column< 120)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 265 and row < 267) and (column > 77 and column< 120)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 213 and row < 266) and (column > 76 and column< 78)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 213 and row < 266) and (column > 119 and column< 121)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 294 and row < 296) and (column > 224 and column< 253)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 332 and row < 334) and (column > 224 and column< 253)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 294 and row < 333) and (column > 223 and column< 225)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 294 and row < 333) and (column > 251 and column< 253)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 213 and row < 215) and (column > 76 and column < 121)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 265 and row < 267) and (column > 76 and column< 121)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 213 and row < 266) and (column > 76 and column < 78)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 213 and row < 266) and (column > 119 and column< 121)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 151 and row < 153) and (column > 74 and column< 104)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 198 and row < 200) and (column > 74 and column< 104)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 152 and row < 199) and (column > 73 and column< 75)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 152 and row < 199) and (column > 102 and column< 104)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 197 and row < 199) and (column > 38 and column< 57)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 240 and row < 242) and (column > 38 and column< 57)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 198 and row < 241) and (column > 38 and column< 40)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 198 and row < 241) and (column > 55 and column< 57)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 155 and row < 157) and (column > 113 and column< 129)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 190 and row < 192) and (column > 113 and column< 129)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 156 and row < 191) and (column > 113 and column< 115)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 156 and row < 191) and (column > 127 and column< 129)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 177 and row < 179) and (column > 326 and column< 359)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 201 and row < 203) and (column > 326 and column< 359)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 178 and row < 202) and (column > 326 and column< 328)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 178 and row < 202) and (column > 357 and column< 359)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 211 and row < 213) and (column > 327 and column< 342)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 247 and row < 249) and (column > 327 and column< 342)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 212 and row < 248) and (column > 327 and column< 329)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 212 and row < 248) and (column > 340 and column< 342)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 250 and row < 252) and (column > 326 and column< 343)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 285 and row < 287) and (column > 326 and column< 343)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 251 and row < 286) and (column > 326 and column< 328)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 251 and row < 286) and (column > 341 and column< 343)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 259 and row < 261) and (column > 532 and column< 549)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 295 and row < 297) and (column > 532 and column< 549)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 260 and row < 296) and (column > 532 and column< 534)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 260 and row < 296) and (column > 547 and column< 549)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 221 and row < 223) and (column > 57 and column< 77)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 192 and row < 222) and (column > 61 and column< 63)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 191 and row < 193) and (column > 61 and column< 74)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 175 and row < 177) and (column > 104 and column< 113)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 221 and row < 223) and (column > 32 and column< 39)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 140 and row < 177) and (column > 132 and column< 134)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 175 and row < 177) and (column > 129 and column< 143)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 242 and row < 244) and (column > 120 and column< 143)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 243 and row < 245) and (column > 158 and column< 170)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 312 and row < 314) and (column > 171 and column< 224)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 276 and row < 278) and (column > 205 and column< 228)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 276 and row < 371) and (column > 205 and column< 207)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 312 and row < 314) and (column > 253 and column< 279)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 314 and row < 316) and (column > 295 and column< 315)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 276 and row < 315) and (column > 313 and column< 315)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 276 and row < 278) and (column > 313 and column< 326)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 266 and row < 268) and (column > 343 and column< 356)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 265 and row < 267) and (column > 266 and column< 279)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 236 and row < 238) and (column > 266 and column< 279)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 237 and row < 239) and (column > 295 and column< 327)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 221 and row < 223) and (column > 311 and column< 327)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 177 and row < 222) and (column > 311 and column< 313)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 177 and row < 179) and (column > 295 and column< 313)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 189 and row < 239) and (column > 301 and column< 303)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 227 and row < 229) and (column > 342 and column< 356)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 189 and row < 191) and (column > 301 and column< 326)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 188 and row < 190) and (column > 358 and column< 397)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 188 and row < 190) and (column > 413 and column< 427)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 245 and row < 247) and (column > 387 and column< 398)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 246 and row < 248) and (column > 413 and column< 447)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 289 and row < 291) and (column > 413 and column< 447)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 271 and row < 273) and (column > 486 and column< 498)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 272 and row < 274) and (column > 515 and column< 532)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 316 and row < 318) and (column > 515 and column< 524)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 284 and row < 318) and (column > 523 and column< 525)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 284 and row < 286) and (column > 523 and column< 532)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 278 and row < 280) and (column > 549 and column< 557)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 219 and row < 224) and (column > 60 and column< 65)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 174 and row < 179) and (column > 132 and column< 137)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 232 and row < 237) and (column > 168 and column< 173)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 242 and row < 247) and (column > 168 and column< 173)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 311 and row < 316) and (column > 168 and column< 173)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 236 and row < 241) and (column > 300 and column< 305)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 264 and row < 269) and (column > 302 and column< 307)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSIF ((row > 245 and row < 250) and (column > 433 and column< 438)) THEN
red <= (OTHERS => '1');
green <= (OTHERS => '1');
blue <= (OTHERS => '1');
ELSE --blanking time
red <= (OTHERS => '0');
green <= (OTHERS => '0');
blue <= (OTHERS => '0');
END IF;
END IF;
END PROCESS;
END behavior;