title: Syntax error with process
body: <p>I am trying to simulate my small program and I keep getting error messages and I have not been able to figure out why.</p>
  
  <p>The error messages are:</p>
  
  <pre><code>line 131 error near process
  
  line 132 error near behavioral ; expected type void
  </code></pre>
  
  <p>The lines:</p>
  
  <pre><code> 130    end if;
   131    end process;
   132        end Behavioral;
  </code></pre>
  
  <p>I have tried to solve these for hours and I still do not have any clue.</p>
  
  <p>Whole code:</p>
  
  <pre><code>use IEEE.STD_LOGIC_1164.ALL;
  use IEEE.STD_LOGIC_ARITH.ALL;
  use IEEE.STD_LOGIC_UNSIGNED.ALL;
  
  ---- Uncomment the following library declaration if instantiating
  ---- any Xilinx primitives in this code.
  --library UNISIM;
  --use UNISIM.VComponents.all;
  
  entity kuutonen is
      Port ( A1 : in  STD_LOGIC;
             B1 : in  STD_LOGIC;
             clk : in  STD_LOGIC;
             A : out  STD_LOGIC;
             B : out  STD_LOGIC;
             C : out  STD_LOGIC;
             D : out  STD_LOGIC;
             E : out  STD_LOGIC;
             F : out  STD_LOGIC;
             G : out  STD_LOGIC);
  end kuutonen;
  
  architecture Behavioral of kuutonen is
      signal tmp : std_logic_vector (2 downto 0);
  begin
  
      process (clk)
      begin
          if(tmp = "110")then
              tmp &lt;= "000";
           end if;
  
          if (A1 = '0' and B1 = '0') then
              if (tmp ="000") then
                  A &lt;= '1';
                  B &lt;= '0';
                  C &lt;= '0';
                  D &lt;= '0';
                  E &lt;= '0';
                  F &lt;= '0';
                  G &lt;= '0';
                  tmp &lt;= tmp + 1;
              end if;
  
              if (tmp ="001")then
                  B &lt;= '1';
                  A &lt;= '0';
                  C &lt;= '0';
                  D &lt;= '0';
                  E &lt;= '0';
                  F &lt;= '0';
                  G &lt;= '0';
                  tmp &lt;= tmp + 1;
              end if;
  
              if (tmp ="010")then
                  C &lt;= '1';
                  B &lt;= '0';
                  A &lt;= '0';
                  D &lt;= '0';
                  E &lt;= '0';
                  F &lt;= '0';
                  G &lt;= '0';
                  tmp &lt;= tmp + 1;
              end if;
  
              if (tmp ="011")then
                  D &lt;= '1';
                  B &lt;= '0';
                  C &lt;= '0';
                  A &lt;= '0';
                  E &lt;= '0';
                  F &lt;= '0';
                  G &lt;= '0';
                  E &lt;= '1';
  
                  if (tmp ="100")then
                      E &lt;= '1';
                      B &lt;= '0';
                      C &lt;= '0';
                      D &lt;= '0';
                      A &lt;= '0';
                      F &lt;= '0';
                      G &lt;= '0';
                      tmp &lt;= tmp+1;
                  end if;
  
                  if (tmp ="101")then
                      F &lt;= '1';
                      B &lt;= '0';
                      C &lt;= '0';
                      D &lt;= '0';
                      E &lt;= '0';
                      A &lt;= '0';
                      G &lt;= '0';
                      tmp &lt;= tmp+1;
                  end if;
  
                  if (tmp ="110")then
                      G &lt;= '1';
                      B &lt;= '0';
                      C &lt;= '0';
                      D &lt;= '0';
                      E &lt;= '0';
                      F &lt;= '0';
                      A &lt;= '0';
                  end if;
  
          end if;
      end process;
  end Behavioral;
  </code></pre>