]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
fix CTS LED on SFP
authorJan Michel <michel@physik.uni-frankfurt.de>
Wed, 7 Sep 2022 10:49:54 +0000 (12:49 +0200)
committerJan Michel <michel@physik.uni-frankfurt.de>
Wed, 7 Sep 2022 10:49:54 +0000 (12:49 +0200)
cts/trb3sc_cts.vhd

index 319220cd1969e19641977d35085810a143bfd5ff..3b4a9393ac087ca41e6fb34f856c9b1755e91f41 100644 (file)
@@ -1238,9 +1238,9 @@ end generate;
                              '1';
 gen_leds_addon : if USE_ADDON = c_NO generate
   LED_SFP_GREEN(1)   <= not  med2int(0).stat_op(9) when USE_BACKPLANE = 0 else 
-                             med2int(9).stat_op(9);
+                        not  med2int(9).stat_op(9);
   LED_SFP_RED(1)     <= not  (med2int(0).stat_op(10) or med2int(0).stat_op(11) or not med2int(0).stat_op(9)) when USE_BACKPLANE = 0  else  
-                             (med2int(9).stat_op(10) or med2int(9).stat_op(11) or not med2int(9).stat_op(9));
+                        not  (med2int(9).stat_op(10) or med2int(9).stat_op(11) or not med2int(9).stat_op(9));
 end generate;                        
 --   LED_WHITE(0)       <= not  med2int(10).stat_op(9) when INCLUDE_GBE = 0 and USE_BACKPLANE = 1 else 
 --                         not  med2int(8).stat_op(9)  when INCLUDE_GBE = 1 and USE_BACKPLANE = 1 else