From: Jan Michel Date: Wed, 14 Aug 2013 12:45:58 +0000 (+0200) Subject: changed Padiwa LED to default off. Inverted meaning of LED-disable register X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=e7e60bbdb411c7e2922ac22a7794cac068e81290;p=trb3.git changed Padiwa LED to default off. Inverted meaning of LED-disable register --- diff --git a/wasa/panda_dirc_wasa.vhd b/wasa/panda_dirc_wasa.vhd index f3d5e88..fd3cdb2 100644 --- a/wasa/panda_dirc_wasa.vhd +++ b/wasa/panda_dirc_wasa.vhd @@ -14,8 +14,8 @@ use machxo2.all; entity panda_dirc_wasa is generic( - PADIWA_FLAVOUR : integer := 2; - TEMP_CORRECTION: integer := 0 + PADIWA_FLAVOUR : integer := 3; + TEMP_CORRECTION: integer := 1 ); port( CON : out std_logic_vector(16 downto 1); @@ -650,10 +650,10 @@ last_inp_long_reg <= inp_long_reg when rising_edge(clk_i); TEST_LINE <= (others => '0'); -LED_GREEN <= not leds(0) when led_status(4) = '0' else not led_status(0); -LED_ORANGE <= not leds(1) when led_status(4) = '0' else not led_status(1); -LED_RED <= not leds(2) when led_status(4) = '0' else not led_status(2); -LED_YELLOW <= not leds(3) when led_status(4) = '0' else not led_status(3); +LED_GREEN <= not leds(0) when led_status(4) = '1' else not led_status(0); +LED_ORANGE <= not leds(1) when led_status(4) = '1' else not led_status(1); +LED_RED <= not leds(2) when led_status(4) = '1' else not led_status(2); +LED_YELLOW <= not leds(3) when led_status(4) = '1' else not led_status(3); end architecture;