]> jspc29.x-matter.uni-frankfurt.de Git - TOMcat.git/commitdiff
cleanups
authorMichael Boehmer <mboehmer@ph.tum.de>
Tue, 28 Jun 2022 08:28:07 +0000 (10:28 +0200)
committerMichael Boehmer <mboehmer@ph.tum.de>
Tue, 28 Jun 2022 08:28:07 +0000 (10:28 +0200)
gbe/tomcat_gbe.vhd

index c58f248b254908faed92b60ec10d5265577cbe0c..833ef5786977e4ea4f3bc6423f79e8231f34a176 100644 (file)
@@ -68,6 +68,10 @@ architecture arch of tomcat_gbe is
   signal reset_i                    : std_logic;
   signal clear_i                    : std_logic;
   
+  signal sd_led_green               : std_logic;
+  signal sd_led_yellow              : std_logic;
+  signal sd_led_red                 : std_logic;
+  
   signal led_i                      : std_logic_vector(3 downto 0);
 
   signal uuid_i                     : std_logic_vector(63 downto 0);
@@ -224,6 +228,9 @@ begin
       SD_PRSNT_N_IN            => SFP_MOD_0,
       SD_LOS_IN                => SFP_LOS,
       SD_TXDIS_OUT             => SFP_TX_DIS,
+      SD_LED_GREEN_OUT         => sd_led_green,
+      SD_LED_YELLOW_OUT        => sd_led_yellow,
+      SD_LED_RED_OUT           => sd_led_red,
       -- trigger channel
       CTS_NUMBER_IN            => (others => '0'), --gbe_cts_number,          
       CTS_CODE_IN              => (others => '0'), --gbe_cts_code,            
@@ -285,11 +292,11 @@ begin
 -------------------------------------------------------------------------------
 -- LED
 -------------------------------------------------------------------------------
-  LED_SFP_GREEN   <= not '0';
-  LED_SFP_RED     <= not '0';
-  LED_SFP_YELLOW  <= not '0';
-  LED(3)          <= not debug(126); --'0'; LRR
-  LED(2)          <= not debug(127); --'0'; LTR
+  LED_SFP_GREEN   <= not sd_led_green;
+  LED_SFP_RED     <= not sd_led_red;
+  LED_SFP_YELLOW  <= not sd_led_yellow;
+  LED(3)          <= not '0';
+  LED(2)          <= not '0';
   LED(1)          <= not '0';
   LED(0)          <= not '0';