title: VHDL: This construct is only supported in VHDL 1076-2008
body: <p>I am receiving the following error: This construct is only supported in VHDL 1076-2008. I don't know why. I want this code to synthesise, but the flag may cause problems.</p>
  
  <p>The aim of the flag is that as soon as data is output, it cannot be overwritten in later iterations. Ideally I want the inner loop to exit as soon as data is output, but that won't synthsise.</p>
  
  <p><a href="https://i.stack.imgur.com/nHwQV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nHwQV.png" alt="enter image description here"></a></p>
  
  <pre><code>    for j in 0 to n-1 loop --For loop outputting data
          flag:='0'; --reset the flag
           for i in 0 to n-1 loop 
  
              flag:='1' when (a=b) else '0'; 
              Output(j)&lt;=a when flag='1' else '0'; 
  
  
          end loop;
      end loop;   
  </code></pre>