]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
changed Padiwa LED to default off. Inverted meaning of LED-disable register
authorJan Michel <j.michel@gsi.de>
Wed, 14 Aug 2013 12:45:58 +0000 (14:45 +0200)
committerJan Michel <j.michel@gsi.de>
Wed, 14 Aug 2013 12:45:58 +0000 (14:45 +0200)
wasa/panda_dirc_wasa.vhd

index f3d5e88c253e872fc9090b5edeff31419a5665b4..fd3cdb28e1083004bd8117102d5cc1270acda399 100644 (file)
@@ -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;