I am trying to write a VHDL code that displays an image on a monitor. The purpose is to do some image processing with VHDL. However, I am getting trouble with this segment of code. The image that I am using is small one in terms of resolution. Using a java code that I wrote I took every single pixel's RGB values and pixel locations then RGB values are converted them into binary. That binary data is used to draw image. The problem must be with "when" statements. It says that "this construct is only supported in VHDL 1076-2008". How can I overcome this problem? I am out of ideas.
IMAGE: process(clk) is
begin
if clk'event and clk = '1' then
vgaData <= "111111111111" when pos_x = 0 and pos_y = 0 else
"111111111111" when pos_x = 1 and pos_y = 0 else
"111111111111" when pos_x = 2 and pos_y = 0 else
"111111111111" when pos_x = 3 and pos_y = 0 else
"111111111111" when pos_x = 4 and pos_y = 0 else
.......
....... (goes down and down)
.......
"111111111111" when pos_x = 76 and pos_y = 86 else
"111111111111" when pos_x = 77 and pos_y = 86 else
"111111111111" when pos_x = 78 and pos_y = 86 else
"111111111111" when pos_x = 79 and pos_y = 86 ;
end if;
end process;