]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
small changes
authorMichael Boehmer <mboehmer@ph.tum.de>
Wed, 19 Oct 2022 06:33:52 +0000 (08:33 +0200)
committerMichael Boehmer <mboehmer@ph.tum.de>
Wed, 19 Oct 2022 06:33:52 +0000 (08:33 +0200)
gbe_hub/clock_reset_handler.vhd
gbe_hub/trb3sc_gbe_hub.vhd

index ff888f2bb5dd1629f4c056c50b74c14c52f035a9..2290986012a69f48df6d5839517afe43630beef1 100644 (file)
@@ -128,8 +128,7 @@ begin
     RESET_OUT       => reset_i
   );
 
-  RESET_OUT <= reset_i;
-  
+  RESET_OUT   <= reset_i;
   RESET_N_OUT <= not reset_i;
   
   THE_ENPIRION_PLL: entity pll_dcdc
index 362dd0bb4a34f1f27e451193a3acbb94a531293d..56d9ede54ce85f4cc544a6b4a0034e9c27561b16 100644 (file)
@@ -228,7 +228,7 @@ architecture trb3sc_arch of trb3sc_gbe_hub is
 begin
 
 -- SerDes usage: 
--- backplane: A0 uplink on backplane, (A1, A2, A3 unused)MOD1
+-- backplane: A0 uplink on backplane, (A1, A2, A3 unused)
 --            B0, B1, B2, B3 downlink on hub addon
 --            C0, C1, C2, C3 downlink on hub addon
 --            D0, D1 downlink on TRB3sc, (D2, D3 unused)
@@ -238,6 +238,15 @@ begin
 --            B0, B1, B2, B3 unused
 --            C0, C1, C2, C3 unused
 
+-- SerDes connections:
+-- A0, A1, A2, A3 -> backplane (A0 is uplink in backplane configuration)
+-- B0, B1 -> hub addon6, hub addon8
+-- B2, B3 -> hub addon8
+-- C0, C1, C2, C3 -> hubb addon6, hub addon8
+-- D0, D1 -> SFP on TRB3sc
+-- D2, D3 unused
+-- valid only for PCSSW set to x"e4"!
+
 ---------------------------------------------------------------------------
 -- Serdes Select
 ---------------------------------------------------------------------------
@@ -253,10 +262,10 @@ begin
   THE_CLOCK_RESET_HANDLER: entity clock_reset_handler
   port map(
     CLK_IN            => CLK_SUPPL_PCLK,
-    GLOBAL_RESET_IN   => global_reset_i, --'0', -- for sync operation
+    GLOBAL_RESET_IN   => global_reset_i,
     RESET_FROM_NET_IN => '0', -- unused
     --
-    CLK_OUT           => clk_sys,
+    CLK_OUT           => clk_sys, -- this is the LOCAL clock, for reference usage only!
     RESET_OUT         => reset_i,
     RESET_N_OUT       => reset_n_i,
     CLEAR_OUT         => clear_i,
@@ -979,7 +988,7 @@ begin
  
   tx_pll_lol_i <= tx_pll_lol_a_i or tx_pll_lol_b_i or tx_pll_lol_c_i or tx_pll_lol_d_i;
 
-  global_reset_i <= not tx_clk_avail_i;
+  global_reset_i <= not tx_clk_avail_i; -- keep everything in reset until we get some clock
   
 ---------------------------------------------------------------------------
 -- LED