]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
all channels working on hub
authorJan Michel <j.michel@gsi.de>
Mon, 10 Aug 2015 15:24:06 +0000 (17:24 +0200)
committerJan Michel <j.michel@gsi.de>
Mon, 10 Aug 2015 15:24:06 +0000 (17:24 +0200)
media_interfaces/sync/med_sync_control.vhd

index 211f939bbf0c73f7ca1983384d8ad137c04b5101..6c05f6c94f3b698bce386bfc6e7cfa8d4c96512c 100644 (file)
@@ -82,11 +82,12 @@ signal send_link_reset_i      : std_logic;
 signal make_link_reset_real_i : std_logic := '0';
 signal send_link_reset_real_i : std_logic := '0';
 
-signal reset_i, rst_n         : std_logic;
+signal reset_i, rst_n, rst_n_tx : std_logic;
 signal media_med2int_i        : MED2INT;
 
 begin
 
+rst_n_tx  <= not (CLEAR or make_link_reset_real_i);
 rst_n     <= not (CLEAR or sd_los_i or make_link_reset_real_i);
 reset_i   <=     (CLEAR or sd_los_i or make_link_reset_real_i);
 
@@ -99,7 +100,7 @@ media_med2int_i.clk_full <= CLK_RXI;
 -------------------------------------------------      
 THE_RX_FSM : rx_reset_fsm
   port map(
-    RST_N               => RST_N,
+    RST_N               => rst_n,
     RX_REFCLK           => CLK_REF,
     TX_PLL_LOL_QD_S     => TX_LOL,
     RX_SERDES_RST_CH_C  => RX_SERDES_RST,
@@ -112,7 +113,7 @@ THE_RX_FSM : rx_reset_fsm
     
 THE_TX_FSM : tx_reset_fsm
   port map(
-    RST_N           => RST_N,
+    RST_N           => rst_n_tx,
     TX_REFCLK       => CLK_REF,
     TX_PLL_LOL_QD_S => TX_LOL,
     RST_QD_C        => QUAD_RST,