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)
-- 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
---------------------------------------------------------------------------
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,
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