title: VHDL Push Button & LED
body: <p>New to VHDL, familiarizing myself with everything.</p>
  
  <p>I got my FPGA to turn on an LED when the button is pressed (code below), but the button has to be held down for the LED to stay on. I would like the LED to turn and stay on when the button is pushed and released (and turned off when pressed again) but I'm confused on how this is done.</p>
  
  <pre><code>library IEEE;
  use IEEE.STD_LOGIC_1164.ALL;
  use IEEE.STD_LOGIC_ARITH.ALL;
  use IEEE.STD_LOGIC_UNSIGNED.ALL;
   entity ButtonLED is Port (BUTTON: in  STD_LOGIC:='1';
                                      LED : out  STD_LOGIC:='0');
  end ButtonLED;
  
  architecture Behavioral of ButtonLED is
  begin
  
  LED &lt;= not BUTTON;
  
  end Behavioral;
  </code></pre>