]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
GbE AN hopefully fied now
authorMichael Boehmer <mboehmer@ph.tum.de>
Fri, 21 Oct 2022 17:56:47 +0000 (19:56 +0200)
committerMichael Boehmer <mboehmer@ph.tum.de>
Fri, 21 Oct 2022 17:56:47 +0000 (19:56 +0200)
gbe_hub/trb3sc_gbe_hub.vhd

index 3a51ffcfd9e46ab5d2cd0abf3c04b979b510c607..75d4f970cc1d365c5d83c10d4af0e49d273fb157 100644 (file)
@@ -410,8 +410,8 @@ begin
   -- 8 : fifo_eof
   -- 7..0: data
   
-  DBG(15 downto 0)  <= debug_pcsd(15 downto 0);
-  DBG(31 downto 16) <= debug_pcsc(111 downto 96);
+  DBG(31 downto 0)  <= debug_pcsd(31 downto 0);
+--  DBG(31 downto 16) <= debug_pcsc(111 downto 96);
   DBG(32)           <= '0';
   DBG(33)           <= master_clk;
   
@@ -1001,10 +1001,10 @@ begin
 -- LED
 ---------------------------------------------------------------------------
   -- LED are green, orange, red, yellow, white(2), rj_green(2), rj_red(2), sfp_green(2), sfp_red(2)
-  LED_GREEN            <= not status_raw(12 * 8 + 6); --status(0);
-  LED_ORANGE           <= not status_raw(12 * 8 + 2); --tx_clk_avail_i;
-  LED_RED              <= not status_raw(12 * 8 + 1); --link_tx_ready_i;
-  LED_YELLOW           <= not status_raw(12 * 8 + 0); --'0';
+  LED_GREEN            <= not status_raw(12 * 8 + 6); -- link active
+  LED_ORANGE           <= not status_raw(12 * 8 + 2); -- AN complete
+  LED_RED              <= not status_raw(12 * 8 + 1); -- RX ready
+  LED_YELLOW           <= not status_raw(12 * 8 + 0); -- TX ready
 
   LED_HUB_LINKOK(1)  <= not status_raw(10 * 8 + 7); --'0'; -- C2
   LED_HUB_TX(1)      <= not status_raw(10 * 8 + 2); --'0';